I have a commercial servlet that throws an exception.  I have an error-page 
directive setup to send that page to my ErrorLogServlet.  However, my error 
servlet never gets called as Tomcat throws the IllegalStateException below.  
Any ideas on what the cause might be?  I'm running Tomcat-5.0.24 with the 
hotfix that was released shortly thereafter.

Note that I removed (org.apache.) from the traceback to make it more readable 
in e-mail.

[EMAIL PROTECTED]: Exception Processing 
ErrorPage[exceptionType=javax.servlet.ServletException, 
location=/exception.err]
java.lang.IllegalStateException
        at coyote.Response.reset(Response.java:296)
        at coyote.tomcat5.CoyoteResponse.reset(CoyoteResponse.java:631)
        at coyote.tomcat5.CoyoteResponse.reset(CoyoteResponse.java:887)
        at catalina.core.StandardHostValve.custom(StandardHostValve.java:389)
        at 
catalina.core.StandardHostValve.throwable(StandardHostValve.java:225)
        at catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
        at 
catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at 
catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at 
catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at 
catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:296)
        at jk.common.HandlerRequest.invoke(HandlerRequest.java:372)
        at jk.common.ChannelSocket.invoke(ChannelSocket.java:694)
        at jk.common.ChannelSocket.processConnection(ChannelSocket.java:626)
        at jk.common.SocketConnection.runIt(ChannelSocket.java:807)
        at 
tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
        at java.lang.Thread.run(Thread.java:534)

Thanks for the pointers.

--Kaleb

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to