1 Reply Latest reply on Oct 11, 2006 3:41 PM by naveench25

    Socket Exception: Broken Pipe thrown when starting JBoss 4.0

    krishnanr

      I have an installation of JBoss 4.0.4 and all I am doing is trying to start the application server. I am running it in unix enviroment.
      I dont have anything configured or added.

      Looking at the server.log gives always gives me the following exception:
      And this keeps repeating periodically.

      Can someone shed some light as to the cause of this error.

      Thanks in advance.

      Here is an excerpt of the exception:
      DEBUG [org.jboss.naming.NamingService] Error writing response to /X.Y.Z.A
      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.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1682)
      at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1591)
      at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1173)
      at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1127)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
      at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1398)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:305)
      at org.jnp.server.Main$BootstrapRequestHandler.run(Main.java:476)
      at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:148)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
      at java.lang.Thread.run(Thread.java:595)

        • 1. Re: Socket Exception: Broken Pipe thrown when starting JBoss
          naveench25

          1. java.net.SocketException:Connection reset by peer:
          JVM_recv in socket input stream read.

          2. IOException:Connection reset by peer:socket write error.

          3. IOExcepion:Broken pipe.

          All this exceptions are not thrown at the same time and might not always been thrown.

          These Exceptions are mainly caused due to the resubmission of jsp page twice. By using Input type = 'submit' itself submits the page not need to call from java script as form.submit. If we want to use form.submit from java script for Input type as 'submit' then you need to disable the submit button after one click.

          The threads running under the server may not be executing synchronously and inappropriate page submissions can cause this exceptions.