tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Small <msm...@Clickability.com>
Subject Tomcat 4.0.2 - Startup fails after moving xerces.xml from /common /lib to /server/lib
Date Mon, 11 Feb 2002 23:56:09 GMT
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


StandardWrapper[/mywebapp:mywebapp]: Marking servlet mywebapp as unavailable
StandardContext[/mywebapp]: Servlet /mywebapp threw load() exception
javax.servlet.ServletException: Error instantiating servlet class MyServlet
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:89
3)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3266)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.lang.NoClassDefFoundError: org/xml/sax/SAXException
	at java.lang.Class.newInstance0(Native Method)
	at java.lang.Class.newInstance(Class.java:237)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:88
4)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3266)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

--
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