XQuery Problem with eXist and Cocoon

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

XQuery Problem with eXist and Cocoon


I have cocoon and exist installed under tomcat, exist is not embedded in

When, i want to query the database from a coplet with the example script
-->the output was wonderful!!!
I have changed the file a little bit to:

.....   <xdb:driver class="org.exist.xmldb.DatabaseImpl"/>
           <xdb:collection user="admin" password=""

I think .XSP works correctly!!

Now, i try to query the same database with the example script "xquery.xq",
i get the following error message:

"malformed url: localhost:8081"

"org.apache.cocoon.ProcessingException: XMLDBException occurred:
malformed url: localhost:8081: org.xmldb.api.base.XMLDBException:
malformed url: localhost:8081"

When i uncomment the following sitemap.xmap entry:
..... <!--<map:parameter name="collection"  

I get this error message:

"local database server not running"

"org.apache.cocoon.ProcessingException: XMLDBException occurred: local
database server not running: org.xmldb.api.base.XMLDBException: local
database server not running"

I hope anybody has an idea and sorry for my very bad english.

Hans-Jörg Schmidt


Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
Exist-open mailing list
[hidden email]