Hi,

I try to use cocoon with xindice. I install the current CVS build and
changed the following rows in the sitemap.

<map:generator name="xmldb"
 src="org.apache.cocoon.generation.XMLDBGenerator"
 logger="sitemap.generator.xmldb">

<driver>org.apache.xindice.client.xmldb.DatabaseImpl</driver><base>xmldb:dbxml:///db/</base>

</map:generator>

<map:generator name="xmldbcollection"
 src="org.apache.cocoon.generation.XMLDBCollectionGenerator"
 logger="sitemap.generator.xmldbcollection">

<driver>org.apache.xindice.client.xmldb.DatabaseImpl</driver><base>xmldb:dbxml:///db/</base>

</map:generator>

I also copy the the xindice.jar in the WEB-IF/lib dir.

If I send a request like localhost:8080/cocoon/xmldb/db/
I got the exception:

org.apache.cocoon.ProcessingException: Problem setting up the connection
to XML:DB: org.dbxml.client.xmldb.DatabaseImpl:
java.lang.ClassNotFoundException: org.dbxml.client.xmldb.DatabaseImpl
at
org.apache.cocoon.components.source.XMLDBSource.connect(XMLDBSource.java:206)
at
org.apache.cocoon.components.source.XMLDBSource.toSAX(XMLDBSource.java:223)
at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:146)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:255)
[...]

xindice.jar and also xmldb-api-20011111.jar doesn't contain this class.

Did I forget anything?

Thanx, Stephan Michels.


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