tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Harrop <ja...@xn.com.au>
Subject TC4b4: StandardWrapper load exception??
Date Mon, 23 Apr 2001 15:16:24 GMT
Hi

I just upgraded TC 4 from cvs sources of 23 March to cvs sources of 
earlier today, to overcome bug#1081.

Having done this, TC can't find one of my servlets:

	2001-04-23 22:39:32 StandardContext[/MyServlet]: Servlet /MyServlet threw 
load() exception
	javax.servlet.ServletException: Wrapper cannot find servlet class 
com.floatingmud.channel.web.ControllerImpl or a class it depends on
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:775)

(the rest of the log is at the end of this post).

Now i've checked webapps/MyServlet/WEB-INF/classes/com/floatingmud blagh 
blagh and its definitely there.

In fact, when i jar'ed up the contents of the classes directory and 
stuck the jar file in TOMCAT_HOME/lib, things started up fine.

Any ideas why my webapp's classloader is not finding stuff in 
WEB-INF/classes anymore?

thanks

Jason

------------------

2001-04-23 22:39:30 StandardHost[localhost]: Installing web application 
at context path /MyServlet from URL 
file:/usr/java/jakarta/jakarta-tomcat-w3/webapps/MyServlet
2001-04-23 22:39:30 StandardManager[/MyServlet]: Seeding random number 
generator class java.security.SecureRandom
2001-04-23 22:39:30 StandardManager[/MyServlet]: Seeding of random 
number generator has been completed
2001-04-23 22:39:32 ContextConfig[/MyServlet]: Configured an 
authenticator for method BASIC
2001-04-23 22:39:32 StandardWrapper[/MyServlet:controller]: Marking 
servlet controller as unavailable
2001-04-23 22:39:32 StandardContext[/MyServlet]: Servlet /MyServlet 
threw load() exception
javax.servlet.ServletException: Wrapper cannot find servlet class 
com.floatingmud.channel.web.ControllerImpl or a class it depends on
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:775)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3249)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:724)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:388)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:616)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
	at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1070)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1062)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)
	at org.apache.catalina.core.StandardService.start(StandardService.java:353)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:718)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:640)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)
----- Root Cause -----
java.lang.ClassNotFoundException: com.floatingmud.channel.web.ControllerImpl
	at 
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:1081)
	at 
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:946)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:770)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3249)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:724)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:388)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:616)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
	at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1070)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1062)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)
	at org.apache.catalina.core.StandardService.start(StandardService.java:353)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:718)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:640)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)


Mime
View raw message