You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lutz Korte <lu...@gmx.net> on 2002/09/16 08:50:38 UTC

(Newbie question:) Problem integrating eXist into already installed cocoon

Hi,

I know that this posting would fit to the eXist-mailinglist but I hope it's
cocoon-related enough that maybe someone of this list has experience in
integrating eXist and can help me with the following problem:

For about two weeks I'm trying desperately to integrate eXist into an
already installed and running cocoon via xmldb://-pseudo-protocol as
described in section 2 of the eXist admin-guide (cocoon sitemap
configuration): I've added a handler in WEB-INF/cocoon.xconf (<driver
class="org.exist.xmldb.DatabaseImpl" type="exist"/>) and copied the example
sitemap-fragment into a pipeline of my sitemap.xmap. Nevertheless when I
type "http://localhost:8080/cocoon/xmldb/db/shakespeare/plays/hamlet.xml"
into my browser I always get the following error message:

"org.apache.cocoon.ProcessingException: Could not setup pipeline.:
java.io.IOException: ProcessingException: Unable to find a driver for the
"exist " database type, please check the configuration"

I'm not to much into Java so I've tried to solve the problem by copying the
exist.jar into $CATALINA_HOME/webapps/cocoon/WEB-INF/libs but I got the same
error message. After that I tried to build cocoon from the scratch with
placing exist.jar into lib/optional of the source package before building
but it brought up the same error message. I tried with different versions of
cocoon (2.0.3 and the latest cvs-version of 2.1) and different OS (Windows
2000, Windows XP and Linux (SuSE 7.3) - all with Tomcat 4.0.4-b2-01 and JDK
1.3). eXist is running as a servlet inside Tomcat and querying the examples
from the cocoon which comes with exist.war works fine but I need to use my
own cocoon-version because of some reasons (e.g. using fop for PDF which is
not included in exist.war and I guess building my own exist-version would be
even harder after viewing the build.xml of the exist sources).

Does someone have a idea? Maybe I overlooked something important or I am
just too stupid... (in the latter case please remember I'm a newbie to
cocoon, eXist and Java ;-))

Thanx a lot
Lutz Korte


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

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>