broken pipe error messages thrown by tomcat -- how to suppress?

Discussion in 'Java' started by Clive, Aug 12, 2003.

  1. Clive

    Clive Guest

    We are getting quite a few "broken pipe" messages in the error log
    thrown when users click Cancel or Reload before the page they are
    viewing completes its load.

    I know these errors are benign, so I don't want them written to the
    log: it fills up quite quickly. If there are real errors in the log,
    I may miss them because of the "noise" of the broken pipe messages.

    Is there a way to configure Tomcat to suppress the error?

    Thanks,
    Clive.
    --------------

    2003-08-12 02:18:18 StandardWrapperValve[jsp]: Servlet.service() for
    servlet jsp threw exception
    org.apache.jasper.JasperException: Broken pipe
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2407)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
    at java.lang.Thread.run(Thread.java:484)
    ----- Root Cause -----
    java.io.IOException: Broken pipe
    at java.net.SocketOutputStream.socketWrite(Native Method)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
    at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:668)
    at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:166)
    at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:523)
    at org.apache.coyote.Response.doWrite(Response.java:524)
    at org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:384)
    at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:360)
    at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:346)
    at org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:273)
    at java.io_OutputStreamWriter.flushBuffer(OutputStreamWriter.java:230)
    at java.io_OutputStreamWriter.flush(OutputStreamWriter.java:244)
    at org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:222)
    at org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:165)
    at org.apache.coyote.tomcat4.OutputBuffer.realWriteChars(OutputBuffer.java:580)
    at org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:388)
    at org.apache.coyote.tomcat4.OutputBuffer.flush(OutputBuffer.java:344)
    at org.apache.coyote.tomcat4.CoyoteResponse.flushBuffer(CoyoteResponse.java:555)
    at org.apache.coyote.tomcat4.CoyoteResponseFacade.flushBuffer(CoyoteResponseFacade.java:227)
    at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:211)
    Clive, Aug 12, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UGFjZXIgRGF3bg==?=

    How do I suppress the display of validation messages

    =?Utf-8?B?UGFjZXIgRGF3bg==?=, May 25, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    564
    Jimi200478
    May 25, 2006
  2. Junhua Deng (AL/EAB)

    socket.error: (32, 'Broken pipe'): need help

    Junhua Deng (AL/EAB), Oct 27, 2005, in forum: Python
    Replies:
    1
    Views:
    1,149
    dcrespo
    Oct 27, 2005
  3. Jeremy Jones
    Replies:
    0
    Views:
    5,706
    Jeremy Jones
    Oct 27, 2005
  4. Replies:
    6
    Views:
    748
  5. Nene
    Replies:
    1
    Views:
    124
    ilovelinux
    Mar 15, 2011
Loading...

Share This Page