Thomas,

> From: Thomas Sempf [mailto:[EMAIL PROTECTED]] 
>  
> 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.

No, that's completely different problem. This is a known issue for dbXML
beta 4.
You have two options here:

1. Upgrade to xindice. Then, you need also to change dbxml protocol name
to xindice in all configuration files (cocoon.xconf, sitemap.xmap);

2. Find db_startup.ior file undex dbXML home directory:
     dbXML/docs/db_bootstrap.ior
   and make a copy of this file with name db.ior. Unfortunately, you
have to do
   this on every dbXML startup. So you may want to consider option (1).


> 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?

No, Cocoon uses xmldb Java API classes (IIRC, www.xmldb.org). How these
classes send a query to dbXML server, I do not know.

PS: Please, send messages in plain text to this list.

Vadim



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to