tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eddie tsai <t...@medusa.nn.com>
Subject problem upgrading to tomcat4.0 from tomcat3.2
Date Wed, 21 Feb 2001 23:28:26 GMT
hi,

i am upgrading from tomcat3.2 to tomcat4.0. the same servlets that
worked with tomcat3.2 don't work with tomcat4.0 anymore. specifically,
it tells me that my servlets aren't servlets. the root cause was that it
had problem while casting. my servlet extends GenericServlet. my
servlets are located in a different directory (not in the classes
directory), would that cause the problem? it looks like it could find
the servlet but could not accept it as a servlet.

did anyone encounter that problem when upgrading? how did you solve it?

thanks,

eddie
--

----- Root Cause -----
java.lang.ClassCastException: com.nn.rn.rs.TestServlet
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:740)
	at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:544)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:496)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
	at
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:386)
	at
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:144)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2038)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
	at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:811)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:890)
	at java.lang.Thread.run(Thread.java:484)



Mime
View raw message