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:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 4:12 PM To: Matt Small Cc: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>