DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38904>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38904 Summary: Tomcat throws exceptions weirdly and says "Class not found" when Reloader and AutoDeploy are set Product: Tomcat 3 Version: 3.3.1 Final Platform: Other OS/Version: Windows Server 2003 Status: NEW Severity: critical Priority: P1 Component: Webapps AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Hi, Tomcat throws exceptions when the AutoDeploy/redeploy is true and the webapp context the reloader attribute is set to true. There are no changes to the timestamp of the files that are used in the WEB-INF\lib, WEB-INF\classes. We In our lab-env. we were able to find this in the logs. 2006-03-08 22:44:49 - LogEvents: preServletDestroy DEFAULT:/website ServletH WT(SW (null CN=com.avaya.icm.servlet.WT)) 2006-03-08 22:44:49 - LogEvents: postServletDestroy DEFAULT:/website ServletH WT(SW (null CN=com.avaya.icm.servlet.WT)) 2006-03-08 22:44:49 - LogEvents: preServletDestroy DEFAULT:/website ServletH TS(SW (null CN=com.avaya.icm.tunn.TS)) 2006-03-08 22:44:49 - LogEvents: postServletDestroy DEFAULT:/website ServletH TS(SW (null CN=com.avaya.icm.tunn.TS)) 2006-03-08 22:44:49 - LogEvents: preServletDestroy DEFAULT:/website ServletH CIRS(SW (null CN=com.avaya.icm.servlet.CIRS)) 2006-03-08 22:44:49 - LogEvents: postServletDestroy DEFAULT:/website ServletH CIRS(SW (null CN=com.avaya.icm.servlet.CIRS)) 2006-03-08 22:44:49 - LogEvents: preServletDestroy DEFAULT:/website ServletH InitServlet(SW (null CN=com.quintus.servlet.InitServlet)) 2006-03-08 22:44:49 - LogEvents: postServletDestroy DEFAULT:/website ServletH InitServlet(SW (null CN=com.quintus.servlet.InitServlet)) 2006-03-08 22:44:49 - LogEvents: preServletDestroy DEFAULT:/website ServletH TOMCAT/JSP/public/wru.jsp(SW (/public/wru.jsp CN=_public.wru_1)) 2006-03-08 22:44:49 - LogEvents: postServletDestroy DEFAULT:/website ServletH TOMCAT/JSP/public/wru.jsp(SW (/public/wru.jsp CN=_public.wru_1)) 2006-03-08 22:44:49 - LogEvents: preServletDestroy DEFAULT:/website ServletH TOMCAT/JSP/public/account.jsp(SW (/public/account.jsp CN=_public.account_1)) 2006-03-08 22:44:49 - LogEvents: postServletDestroy DEFAULT:/website ServletH TOMCAT/JSP/public/account.jsp(SW (/public/account.jsp CN=_public.account_1)) 2006-03-08 22:44:49 - LogEvents: preServletDestroy DEFAULT:/website ServletH TOMCAT/JSP/public/index.jsp(SW (/public/index.jsp CN=_public.index_1)) 2006-03-08 22:44:49 - LogEvents: postServletDestroy DEFAULT:/website ServletH TOMCAT/JSP/public/index.jsp(SW (/public/index.jsp CN=_public.index_1)) 2006-03-08 22:44:49 - LogEvents: preServletDestroy DEFAULT:/website ServletH TOMCAT/JSP/public/escalate.jsp(SW (/public/escalate.jsp CN=_public.escalate_1)) 2006-03-08 22:44:49 - LogEvents: postServletDestroy DEFAULT:/website ServletH TOMCAT/JSP/public/escalate.jsp(SW (/public/escalate.jsp CN=_public.escalate_1)) 2006-03-08 22:44:49 - AutoDeploy: Reloading true 2006-03-08 22:44:49 - ReloadInterceptor: Reloading context DEFAULT:/website 2006-03-08 22:44:49 - LogEvents: handleError R( /website + /public/index.jsp + null) java.lang.ClassCastException: java.lang.String 2006-03-08 22:44:49 - Ctx(/website) : Exception in R( /website + /public/index.jsp + null) - java.lang.ClassCastException: java.lang.String at org.apache.tomcat.modules.session.SimpleSessionStore.reload(SimpleSessionStore.java:124) at org.apache.tomcat.modules.mappers.ReloadInterceptor.contextMap(ReloadInterceptor.java:269) at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:946) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:341) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516) at java.lang.Thread.run(Thread.java:479) 2006-03-08 22:45:09 - LogEvents: preService R( /website + /public/error.jsp + null) 2006-03-08 22:45:09 - LogEvents: postService R( /website + /public/error.jsp + null) On our customer site though we found a different error in the website-jvm-stderr.log. There it says "Class not found" and then returns 404 for all the requests 2006-02-22 09:34:16 - Ctx(/website) : Class not found: cirs 2006-02-22 09:34:16 - Ctx(/website) : Status code:404 request:R( /website + /servlet/cirs + null) msg:null This happens failry regularly for all the servlets we have and there is no fixed pattern for it. 2006-02-24 07:31:48 - Ctx(/website) : Class not found: cirs 2006-02-24 07:31:48 - Ctx(/website) : Status code:404 request:R( /website + /servlet/cirs + null) msg:null 2006-02-24 07:31:48 - Ctx(/website) : Class not found: wt 2006-02-24 07:31:48 - Ctx(/website) : Status code:404 request:R( /website + /servlet/wt + /callersu) msg:null We are frustrated with these repeated failures. Thanks, -Prashant. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]