java.net.SocketException: Broken pipe

Atlassian JIRA | Michael Tokar | 7 years ago
  1. 0

    This one is a bit harder. It because the other end broke the pipe. Maybe we should catch the specific exception on during streaming not log the problem. It account for 766 entries in a 10MB JAC log file so a LOT! {code} 2009-05-26 08:15:53,177 http-j2ee.jira.atlassian.com%2F127.0.0.101-8080-Processor24 ERROR [jira.web.servlet.ViewAttachmentServlet] Error finding /13343/Comandos+do+DOS+(bat).pdf : null ClientAbortException: java.net.SocketException: Broken pipe at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:366) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314) at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:278) at org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStream.java:104) at com.atlassian.jira.web.servlet.AbstractViewFileServlet.doGet(AbstractViewFileServlet.java:69) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:347) at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:770) at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:118) at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:580) at org.apache.coyote.Response.doWrite(Response.java:560) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361) ... 61 more {code}

    Atlassian JIRA | 7 years ago | Michael Tokar
    java.net.SocketException: Broken pipe
  2. 0

    This one is a bit harder. It because the other end broke the pipe. Maybe we should catch the specific exception on during streaming not log the problem. It account for 766 entries in a 10MB JAC log file so a LOT! {code} 2009-05-26 08:15:53,177 http-j2ee.jira.atlassian.com%2F127.0.0.101-8080-Processor24 ERROR [jira.web.servlet.ViewAttachmentServlet] Error finding /13343/Comandos+do+DOS+(bat).pdf : null ClientAbortException: java.net.SocketException: Broken pipe at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:366) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314) at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:278) at org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStream.java:104) at com.atlassian.jira.web.servlet.AbstractViewFileServlet.doGet(AbstractViewFileServlet.java:69) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:347) at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:770) at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:118) at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:580) at org.apache.coyote.Response.doWrite(Response.java:560) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361) ... 61 more {code}

    Atlassian JIRA | 7 years ago | Michael Tokar
    java.net.SocketException: Broken pipe
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Kawada 21 times, last 6 months ago
  2. linxiaolong 1 times, last 4 weeks ago
  3. Tahir 11 times, last 1 month ago
  4. serious2monkeys 6 times, last 1 month ago
  5. linxiaolong 1 times, last 4 months ago
5 more registered users
85 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Broken pipe

    at java.net.SocketOutputStream.socketWrite0()
  2. Java RT
    SocketOutputStream.write
    1. java.net.SocketOutputStream.socketWrite0(Native Method)
    2. java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    3. java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    3 frames
  3. Grizzly HTTP
    InternalOutputBuffer.realWriteBytes
    1. org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
    1 frame
  4. Tomcat Util
    ByteChunk.append
    1. org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
    2. org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:347)
    2 frames
  5. Grizzly HTTP
    Response.doWrite
    1. org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:770)
    2. org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:118)
    3. org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:580)
    4. org.apache.coyote.Response.doWrite(Response.java:560)
    4 frames
  6. Glassfish Core
    OutputBuffer.realWriteBytes
    1. org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361)
    2. org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:366)
    2 frames
  7. Tomcat Util
    ByteChunk.flushBuffer
    1. org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
    1 frame
  8. Glassfish Core
    CoyoteOutputStream.close
    1. org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314)
    2. org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:278)
    3. org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStream.java:104)
    3 frames
  9. com.atlassian.jira
    AbstractViewFileServlet.doGet
    1. com.atlassian.jira.web.servlet.AbstractViewFileServlet.doGet(AbstractViewFileServlet.java:69)
    1 frame
  10. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    2 frames
  11. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  12. com.atlassian.core
    HeaderSanitisingFilter.doFilter
    1. com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)
    1 frame
  13. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  14. com.atlassian.jira
    AccessLogFilter.doFilter
    1. com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73)
    1 frame
  15. Glassfish Core
    ApplicationFilterChain.internalDoFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    1 frame