Loading Xquery into OPS/eXist

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

Loading Xquery into OPS/eXist

Peter.Winstanley
Please could someone give me guidance/example on how to load Xquery
files into the embedded eXist.  Can the Java client be installed to work
with the embedded database?

Many thanks
Peter

********************************************************

This e-mail (and any files or other attachments transmitted with it) is intended solely for the attention of the addressee(s).  Unauthorised use, disclosure, storage, copying or distribution of any part of this e-mail is not permitted.  If you are not the intended recipient please destroy the email, remove any copies from your system and inform the sender immediately by return.

 

Communications with the Scottish Executive may be monitored or recorded in order to secure the effective operation of the system and for other lawful purposes.  The views or opinions contained within this e-mail may not necessarily reflect those of the Scottish Executive.

********************************************************

The original of this email was scanned for viruses by the Government Secure Intranet Anti-Virus service supplied by Cable&Wireless in partnership with MessageLabs. (CCTM Certificate Number 2006/04/0007.) On leaving the GSi this email was certified virus free.
Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes.



--
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: Loading Xquery into OPS/eXist

Daniel E. Renfer
Peter,

I had some trouble myself connecting the admin client to the embedded
eXist in embedded mode. I think it has something to do with pointing
it to the exist-conf.xml but, as I said, I never got it working. The
way around this is to just enable the XMLRPC servlet and connect that
way.

1) Get a copy of xmlrpc*.jar from an eXist distribution.
2) copy to your lib/ folder
3) add the following to web.xml :

<servlet>
        <servlet-name>org.exist.xmlrpc.RpcServlet</servlet-name>
        <servlet-class>org.exist.xmlrpc.RpcServlet</servlet-class>
</servlet>
<!-- XMLRPC -->
<servlet-mapping>
        <servlet-name>org.exist.xmlrpc.RpcServlet</servlet-name>
        <url-pattern>/exist/xmlrpc</url-pattern>
</servlet-mapping>

4) use your admin client to connect to
http://localhost:8080/ops/exist/xmlrpc (or equivalent)

Hope this helps.
--
Daniel E. Renfer
http://kronkltd.net/


On 5/15/07, [hidden email]
<[hidden email]> wrote:

> Please could someone give me guidance/example on how to load Xquery
> files into the embedded eXist.  Can the Java client be installed to work
> with the embedded database?
>
> Many thanks
> Peter
>
> ********************************************************
>
> This e-mail (and any files or other attachments transmitted with it) is intended solely for the attention of the addressee(s).  Unauthorised use, disclosure, storage, copying or distribution of any part of this e-mail is not permitted.  If you are not the intended recipient please destroy the email, remove any copies from your system and inform the sender immediately by return.
>
>
>
> Communications with the Scottish Executive may be monitored or recorded in order to secure the effective operation of the system and for other lawful purposes.  The views or opinions contained within this e-mail may not necessarily reflect those of the Scottish Executive.
>
> ********************************************************
>
> The original of this email was scanned for viruses by the Government Secure Intranet Anti-Virus service supplied by Cable&Wireless in partnership with MessageLabs. (CCTM Certificate Number 2006/04/0007.) On leaving the GSi this email was certified virus free.
> Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes.
>
>
>
> --
> 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
>
>


--
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: Loading Xquery into OPS/eXist

Alessandro Vernet
Administrator
In reply to this post by Peter.Winstanley
Peter,

On 5/15/07, [hidden email]
<[hidden email]> wrote:
> Please could someone give me guidance/example on how to load Xquery
> files into the embedded eXist.  Can the Java client be installed to work
> with the embedded database?

I have to say that most of the time I am using an "external" eXist,
deployed as a WAR along Orbeon Forms. But I connected in the past to
the internal eXist by choosing "embedded" in the drop-down you get
when you start the eXist client, and pointing the client to the
location of exist-conf.xml. This file is directly under WEB-INF in the
Orbeon Forms WAR.

Alex
--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws