Hi,
IllegalStateExceptions are serious enough that they shouldn't be ignored
by removing them from the logs.  You CAN configure tomcat's logging to
not log these, the directions are in the FAQ's section on logging, but
that's a terrible idea.  As is the general idea of removing exceptions
from your logs.

Instead, focus on finding the root cause for the exception and fixing
it.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: ukr.net [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 17, 2004 10:30 AM
>To: [EMAIL PROTECTED]
>Subject: Error page problem
>
>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 [EMAIL PROTECTED]:
>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.jav
a:38
>9)
> at
>org.apache.catalina.core.StandardHostValve.status(StandardHostValve.jav
a:30
>1)
> at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:14
>7)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>xt.java:104)
> at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:11
>7)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>xt.java:102)
> at
>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:53
5)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>xt.java:102)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
520)
> at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.jav
>a:109)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>xt.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:7
93)
> at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
Conn
>ection(Http11Protocol.java:702)
> at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5
71)
> at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
l.ja
>va: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



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to