Are you sure its a good idea to "pollute" your java installation with
application specific libraries?
For reasons of neatness I wouldn't put anything in JAVA_HOME.
I would just put the jars in the /lib directory of Tomcat (if you're not
using Windows just soft link it).
That should sort any classpath problems, however, depending on what other
xml parsers you have under Tomcat, you might be having a conflict with
different parsers, which might cause a ServletException.
Cheers,
Ben
----- Original Message -----
From: "�yvind Vestavik" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, February 21, 2002 3:59 PM
Subject: BUG??/Problems with using Xindice with tomcat
System prop:
OS: Win2000pro
ServletContainer: Tomcat4.0.1 (Standalone)
db Server : dbxml 1.0b4
I have some servlets collection info from xml-files stored in dbxml via
XML:DB api. To get these servlet running and accepting XMLDBException and
other classes from the api implementation shipped with dbxml by Tomcat I
have placed the 'dbXML.jar' and the 'xmldb.jar' in
{JAVA-HOME}/jre/lib/ext.
The problem is that as soon as the dbXML.jar is in this directory the bat
files shipped with dbxml don't work anymore. (No problems with
'xmldb.jar', though, but I need tem both..) I can't start or shutdown the db
server and I don't have access to the command tools.
But the server itself seems to be running smoothly if it is already
started before i add the 'dbxml.jar' to {JAVA-HOME}/jre/lib/ext.
Has anyone had any experience with this, and does anyone have a workaround
for it?? Or is this just a bug i have to live with?
I have tried to place these files in the 'jakarta-tomcat/lib' directory,
but that didn't work at all. Tomcat still trew javax.ServletException when
it didn't find them in the {JAVA-HOME}/jre/lib/ext...
Hope someone can enlighten me..
�yvind Vestavik
�vre M�llenberggt 44b
7014 Trondheim
[EMAIL PROTECTED]
41422911