i am sorry but i tried your tips, but i still have the same problem. I did a xpath query with your syntax, but the only answer i get is:
The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says:
Could not read resource xmldb:dbxml://localhost:4080/db/bible/
More precisly:
org.apache.cocoon.ProcessingException: Could not read resource xmldb:dbxml://localhost:4080/db/bible/: org.xmldb.api.base.XMLDBException: A connection to the Database instance 'db' could not be created. Error: Cannot create resource URL. Please set the openorb.home property.
So, itīs still the same problem. I tried it without the openorb.jar, then i get following error message:
he org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says:
Could not read resource xmldb:dbxml://localhost:4080/db/bible/
More precisly:
org.apache.cocoon.ProcessingException: Could not read resource xmldb:dbxml://localhost:4080/db/bible/: org.xmldb.api.base.XMLDBException: A connection to the Database instance 'db' could not be created. Error: http://localhost:4080/db.ior
Perhaps the same problem.
One more question: How does cocoon send the xpath query? I know it is performed using the xmldb api, but it is a http connect to port 4080 or something else? When it is a http connect, is it possible to do the same directly in a browser?
So i hope you have some patience with me.
With regards
Thomas Sempf
Do you read answers on your own letters?
http://marc.theaimsgroup.com/?l=xindice-users&m=101077625610235&w=2
Vadim
-----Original Message-----
From: Thomas Sempf [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 13, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: Xpath query with xindice and cocoon2
Hi,
i am still trying to get the openorb thing right. So i copied the openorb jars in the common/lib directory. But i still get the same error.
I try a xpath query like this, is it correct(?):
http://localhost:8080/cocoon/xmldb/bible//fl[contains(text(),'God')]
I read something about adding this line:
System.setProperty("openorb.home","file:///opt/xindice/docs/");
But where to do this?
Here my error message:
Could not read resource xmldb:xindice://localhost:4080/bible/fl[contains(text(),'God')]
More precisly:
org.apache.cocoon.ProcessingException: Could not read resource xmldb:xindice://localhost:4080/bible/fl[contains(text(),'God')]: org.xmldb.api.base.XMLDBException: A connection to the Database instance 'bible' could not be created. Error: Cannot create resource URL. Please set the openorb.home property.
I thankfull for any hints.
Greetings,
Thomas Sempf