configuration of external exist db

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

configuration of external exist db

willie-5
Hi

I am new to OPS (busy evaluating at the moment), so please excuse the entry-level nature of the question. It has most likely already been answered at some point on the list or in documentation, but my searching to try and find the answer has failed up to this point.

We are keen on using OPS, but have an existing eXist installation. How would I configure OPS to point to our existing installation?

Thanks in advance

W



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: configuration of external exist db

willie-5

I found the answer to the problem about 10 minutes after sending the mail,
while going through some of the example application source code :-)

Apologies


> Hi
>
> I am new to OPS (busy evaluating at the moment), so please excuse the
> entry-level nature of the question. It has most likely already been
> answered at some point on the list or in documentation, but my searching
> to try and find the answer has failed up to this point.
>
> We are keen on using OPS, but have an existing eXist installation. How
> would I configure OPS to point to our existing installation?
>
> Thanks in advance
>
> W
>
>


--------------------------------------------------------------------------------

This transmission is for the intended addressee only and is confidential
information. If you have received this transmission in error, please
delete it and notify the sender. The contents of this e-mail are the
opinion of the writer only and are not endorsed by Sabinet Online
Limited unless expressly stated otherwise.
--------------------------------------------------------------------------------



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: configuration of external exist db

Damiano Albani-2
In reply to this post by willie-5
Hello,

Here's my configuration for an eXist DB running locally in the same
Tomcat as OPS :

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

Adapt the username/password of course :-)

And it is used in my XPL models as :

  <p:processor name="oxf:xmldb-query">
    <p:input name="datasource" href="../datasource.xml"/>
    <p:input name="query" href="#query"/>
    <p:output name="data" ref="data" debug="true"/>
  </p:processor>

Hope it helps.

--
Damiano ALBANI



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws