tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaleb Pederson <kpeder...@mail.ewu.edu>
Subject IllegalStateException thrown in core code...
Date Wed, 04 Aug 2004 20:26:57 GMT
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.

catalina.core.StandardHostValve@bfd66a: 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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message