tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ukr.net" <ia_...@ukr.net>
Subject Error page problem
Date Fri, 17 Sep 2004 14:30:25 GMT
Hello!

Tomcat 5.0.24 is used. Context contains ordinary jsp and Axis library.

There is error page, defined in web.xml:

    <error-page>
        <error-code>500</error-code>
        <location>/errorpage.jsp</location>
    </error-page>

Everething works fine, but when exception occurs in web services, the following records are
writen to localhost_log:

2004-09-17 17:05:04 org.apache.catalina.core.StandardHostValve@86b4d5: Exception Processing
ErrorPage[errorCode=500, location=/errorpage.jsp]
java.lang.IllegalStateException
 at org.apache.coyote.Response.reset(Response.java:296)
 at org.apache.coyote.tomcat5.CoyoteResponse.reset(CoyoteResponse.java:631)
 at org.apache.coyote.tomcat5.CoyoteResponse.reset(CoyoteResponse.java:887)
 at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:389)
 at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:301)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:147)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.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(StandardValveContext.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:793)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
 at java.lang.Thread.run(Thread.java:534)

I do not want to see such records in log file. Is it possible to configure tomcat somehow
in order to remove this logging?

Any help would be appreciated.

Thank you,
Igor
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message