3 Replies Latest reply on Oct 26, 2010 2:56 PM by wdfink

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

    ravi_kh123

      Hi,

       

      Two instances of Jboss Application Server is running in a horizontal cluster. After some time one of the instance is throwing the following execption while the other one is running perfectly fine. Jboss instances are not getting any external client request as I am not using any load balancer as of now. However  my application is sending internal messages to jboss messaging server. This exception is coming in random fashion. It may come in a day or two.

       

      Thanks in advance

       

      ERROR [ServerThread] Failed to initialize
      java.net.SocketException: Connection reset by peer: socket write error
              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)
              at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
              at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1631)
              at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666)
              at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:263)
              at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
      10:45:27,250 ERROR [ServerThread] Failed to initialize
      java.net.SocketException: Connection reset by peer: socket write error
              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)
              at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
              at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1631)
              at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666)
              at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:263)
              at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)