tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor" <ia_...@ukr.net>
Subject Re: strange exception - need advise
Date Thu, 05 May 2005 08:41:26 GMT
Hello!

I think, that when exception occurs, something has already been written to
output stream. Tomcat tries to redirect to error page, but it cannot do it,
because something was written.

Thank you,
Igor

----- Original Message -----
From: "Guy Katz" <gkatz@allot.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Sunday, May 01, 2005 8:44 AM
Subject: strange exception - need advise


hi;
i keep getting this exception below (tomcat 5.0.30).
can anybody shed some light on this?
my error page configuration is as follows:
   <error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/faces/error.jsp</location>
   </error-page>
<error-page>
    <error-code>404</error-code>
    <location>/faces/error.jsp</location>
</error-page>
<!-- Forbidden -->
<error-page>
    <error-code>403</error-code>
    <location>/faces/error.jsp</location>
</error-page>
<error-page>
    <error-code>500</error-code>
    <location>/faces/error.jsp</location>
</error-page>
thanks in advance.

org.apache.catalina.core.StandardHostValve@106b56a: Exception Processing
ErrorPage[exceptionType=java.lang.Exception, location=/faces/error.jsp]
java.lang.IllegalStateException
at org.apache.coyote.Response.reset(Response.java:296)
at org.apache.coyote.tomcat5.CoyoteResponse.reset(CoyoteResponse.java:646)
at org.apache.coyote.tomcat5.CoyoteResponse.reset(CoyoteResponse.java:912)
at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:389
)
at
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:
225)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:534)


---------------------------------------------------------------------
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