You can modify your classpath in the tomcat.bat(or tomcat.sh?) file to move xml.jar to the end. java uses the first implementation of a class that it finds in the path.
I moved the following line:
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xml.jar
below this one:
set CLASSPATH=%CLASSPATH%;%cp%
and I haven't had any problems.
I had to do this since document.importNode is not implemented in xml.jar.
I had to leave xml.jar in the classpath - since tomcat wouldn't run without it - apparently it implements something that xerces doesn't.
Charlie
-----Original Message-----
From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 11:04 AM
To: '[EMAIL PROTECTED]'
Subject: xml.jar
Tomcat use this ( its in the system Classpath created by tomcat.bat ) I need
to install another XML parser for my servlet ( WEB-INF/libs ) however the
classes in the system classpath seem to be loaded first, screwing up my
installed parser. Is there anything I can do about this, ideally I'd like
the xml.jar removed from the Class Loader searches for my servlet.
thx
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
