tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vernon Wu" <v...@hotmail.com>
Subject ServletException in 4.0b5
Date Mon, 16 Jul 2001 23:52:30 GMT
<html><DIV>I move one our small JSP application from 3.x to 4.0b5 for the reason
of using servlet 2.3 specification: ServletContextListener, HttpSessionListener be more specific.
</DIV>
<DIV>&nbsp;</DIV>
<DIV>I get the exception under the 4.0b5 with the following messages:</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<H3>Exception Report:</H3><PRE>javax.servlet.ServletException: Class abc.control.ControllerServlet
is not a Servlet
....&nbsp;</PRE><PRE>&nbsp;</PRE><PRE><H3>Root Cause:</H3><PRE>java.lang.ClassCastException:
abc.control.ControllerServlet
...</PRE><PRE>&nbsp;</PRE><PRE>There is not any indication that
anywhere my code is not approprt. What I shall do at this situation?</PRE><PRE>&nbsp;</PRE><PRE>I
believe that I encounter the similar situation in the 3.x, and it can be resolved by recycle
the Tomcat server. That method doesn't work for 4.0b5.</PRE><PRE>&nbsp;</PRE><PRE>Thanks.</PRE><PRE>&nbsp;</PRE><PRE>Vernon
 </PRE></PRE></DIV><br clear=all><hr>Get your FREE download
of MSN Explorer at <a href="http://explorer.msn.com">http://explorer.msn.com</a><br></p></html>

Mime
View raw message