tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Small <msm...@Clickability.com>
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
bugzilla?

Thanks

Matt

-----Original Message-----
From: GOMEZ Henri [mailto:hgomez@slib.fr]
Sent: Monday, February 11, 2002 4:12 PM
To: Matt Small
Cc: tomcat-user@jakarta.apache.org
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
4.0.2-b2.
>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.

>Matt

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message