external exist binding not working.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

external exist binding not working.

Madhav
Hi All,

I am newbie,

I have deployed both exist and orbeon in tomcat. I have configured data source in the web.xml as

<datasource>
    <driver-class-name>org.exist.xmldb.DatabaseImpl</driver-class-name>
    <uri>xmldb:exist://localhost:8081/exist/xmlrpc</uri>
    <username>admin</username>
    <password>password</password>
</datasource>
 

Also I have added the following property in resources/config/propertie-local.xml as

    <property as="xs:anyURI"
              name="oxf.fr.persistence.service.exist.uri"
              value="http://orbeon:password@localhost:8081/exist/rest/db/orbeon/fr"/>

Then I have created and saved a new form with application as Test and form name as Test1. When I tried to browse the exist collection I could not find the one I created and saved. Please let me know if the above procedure is not correct, if I missed any of the steps.

My understanding is that once I save the new forms they get saved somewhere in exist collection which can be browsed through exist client interface, is that right?

regards,
Madhav


regards,
Madhav
Reply | Threaded
Open this post in threaded view
|

Re: external exist binding not working.

Erik Bruchez
Administrator
Madhav,

I don't think that eXist supports this can of datasource configuration
in web.xml, so most likely that won't work.

Did you check this guide:

http://wiki.orbeon.com/forms/doc/developer-guide/exist-configuration

-Erik

On Fri, Jun 15, 2012 at 1:32 AM, Madhav <[hidden email]> wrote:

> Hi All,
>
> I am newbie,
>
> I have deployed both exist and orbeon in tomcat. I have configured data
> source in the web.xml as
>
> <datasource>
>    <driver-class-name>org.exist.xmldb.DatabaseImpl</driver-class-name>
>    <uri>xmldb:exist://localhost:8081/exist/xmlrpc</uri>
>    <username>admin</username>
>    <password>password</password>
> </datasource>
>
>
> Also I have added the following property in
> resources/config/propertie-local.xml as
>
>    <property as="xs:anyURI"
>              name="oxf.fr.persistence.service.exist.uri"
>
> value="http://orbeon:password@localhost:8081/exist/rest/db/orbeon/fr"/>
>
> Then I have created and saved a new form with application as Test and form
> name as Test1. When I tried to browse the exist collection I could not find
> the one I created and saved. Please let me know if the above procedure is
> not correct, if I missed any of the steps.
>
> My understanding is that once I save the new forms they get saved somewhere
> in exist collection which can be browsed through exist client interface, is
> that right?
>
> regards,
> Madhav
>
>
> regards,
> Madhav
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/external-exist-binding-not-working-tp4655263.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws