tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Small <>
Subject RE: Tomcat 4.0.2 - Startup fails after moving xerces.xml from /co mmon/lib to /server/lib
Date Tue, 12 Feb 2002 00:21:21 GMT

Yes, but . . .

(1) I am able to successfully do this with 4.0.2-b2. I had catalina xerces
1.4.3 and my webapp using the two 2.0.0 jars. No problems. 

(2) To make sure that this wasn't a problem with xerces 2.0.0, I rolled my
webapp back to using 1.4.3 and rebuilt it. So now with both xerces 1.4.3 in
/server/lib and my webapp lib (but not in /common/lib), it still fails. 

I think that this is a bug with the new release. This is not a huge problem
for me because I am really just experimenting with Xerces2, but this may
hurt someone else who wants to use a different parser. Should I report it in



-----Original Message-----
From: GOMEZ Henri []
Sent: Monday, February 11, 2002 4:12 PM
To: Matt Small
Subject: Tomcat 4.0.2 - Startup fails after moving xerces.xml from
/common/lib to /server/lib

In xerces 2.0.0 the SAX/DOM and Parser are splitted in 2 jars
and should be both included in the same lib.

Since CL will find part of the SAX/DOM in xerces 1.4.3 jar
it may be stucked when you'll ask xerces 2.0 stuff since the 
1.4.3 jar will be in scope due to SAX/DOM load.

Hope it will help

>I am using xerces 2.0.0 in one of my webapps so I need to move xerces.jar
>out of /common/lib and into /server/lib. This works just fine with
>With 4.0.2 If I keep xerces.jar in /common/lib and use xerces.jar 1.4.3 in
>my web app everything starts up just fine. But if I move xerces.jar into
>/server/lib I get the exception below. I suspect that this is due to the
>ClassLoader bug fixes done between 4.0.2-b2 and 4.0.2. Is there any
>workaround for this?

>Thanks for any help.


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message