java.net.SocketException: Connection reset by peer: socket write error

Oracle Community | 807581 | 1 decade ago
  1. 0

    Connection pool problem

    Oracle Community | 1 decade ago | 807581
    java.net.SocketException: Connection reset by peer: socket write error
  2. 0

    JDBC connection bug, possible fix?

    Google Groups | 7 years ago | Adam Harding
    java.net.SocketException: Broken pipe
  3. 0

    XNAT Login and Java Stack Trace

    Google Groups | 7 years ago | dalter
    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 java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

    Connection reset by peer: socket write error

    at java.net.SocketOutputStream.socketWrite0()
  2. Java RT
    BufferedOutputStream.flush
    1. java.net.SocketOutputStream.socketWrite0(Native Method)
    2. java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    3. java.net.SocketOutputStream.write(SocketOutputStream.java:126)
    4. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:69)
    5. java.io.BufferedOutputStream.flush(BufferedOutputStream.java:127)
    5 frames
  3. PostgreSQL JDBC Driver
    QueryExecutor.execute
    1. org.postgresql.PG_Stream.flush(PG_Stream.java:352)
    2. org.postgresql.core.QueryExecutor.sendQuery(QueryExecutor.java:149)
    3. org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:65)
    3 frames
  4. org.postgresql.jdbc1
    AbstractJdbc1Connection.rollback
    1. org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:478)
    2. org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:461)
    3. org.postgresql.jdbc1.AbstractJdbc1Connection.rollback(AbstractJdbc1Connection.java:1023)
    3 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    3 frames
  6. PostgreSQL JDBC Driver
    PooledConnectionImpl$ConnectionHandler.invoke
    1. org.postgresql.jdbc2.optional.PooledConnectionImpl$ConnectionHandler.invoke(PooledConnectionImpl.java:242)
    1 frame
  7. Unknown
    $Proxy0.rollback
    1. $Proxy0.rollback(Unknown Source)
    1 frame
  8. Connectors Runtime
    JdbcXAConnection$JdbcConnection.close
    1. com.sun.enterprise.resource.JdbcXAConnection$JdbcConnection.close(JdbcXAConnection.java:461)
    1 frame
  9. Unknown
    Authenticate.doPost
    1. Authenticate.getUser(Authenticate.java:188)
    2. Authenticate.doPost(Authenticate.java:68)
    2 frames
  10. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    2 frames
  11. Glassfish Core
    StandardWrapperValve$1.run
    1. org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    2. org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    3. org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    3 frames
  12. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame