0 Replies Latest reply on Oct 2, 2007 10:56 AM by David Glazier

    Looping on Socket Exceptions

    David Glazier Newbie

      I have been experiencing socket exceptions that throw the app server into unrecoverable looping. I have been able to recreate this running on 4.2.1.GA with messaging 1.3. I have also seen this on 4.0.5.GA and 4.0.3sp1 that are running different applications. These servers are running on widows XP and Server2003. This does not occur under load it happens when we slow the transaction rate down.


      2007-09-28 09:26:04,045 ERROR [org.jboss.web.WebServer] (JBoss System Threads(1)-1:) Failed to accept connection
      java.net.SocketException: socket closed
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
      at java.net.ServerSocket.implAccept(ServerSocket.java:450)
      at java.net.ServerSocket.accept(ServerSocket.java:421)
      at org.jboss.web.WebServer.run(WebServer.java:320)
      at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:148)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
      at java.lang.Thread.run(Thread.java:595)
      2007-09-28 09:26:04,045 ERROR [org.jboss.remoting.transport.socket.SocketServerInvoker] (AcceptorThread#0:4457:) SocketServerInvoker[127.0.0.1:4457] failed to handle socket
      java.net.SocketException: socket closed
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
      at java.net.ServerSocket.implAccept(ServerSocket.java:450)
      at java.net.ServerSocket.accept(ServerSocket.java:421)
      at org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:520)
      at java.lang.Thread.run(Thread.java:595)
      2007-09-28 09:26:04,061 ERROR [org.jboss.remoting.transport.socket.SocketServerInvoker] (AcceptorThread#0:3873:) SocketServerInvoker[127.0.0.1:3873] failed to handle socket
      java.net.SocketException: socket closed
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
      at java.net.ServerSocket.implAccept(ServerSocket.java:450)
      at java.net.ServerSocket.accept(ServerSocket.java:421)
      at org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:520)
      at java.lang.Thread.run(Thread.java:595)
      2007-09-28 09:26:04,061 ERROR [org.jboss.invocation.pooled.server.PooledInvoker] (PooledInvokerAcceptor#0-4616:) Failed to accept socket connection
      java.net.SocketException: socket closed
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
      at java.net.ServerSocket.implAccept(ServerSocket.java:450)
      at java.net.ServerSocket.accept(ServerSocket.java:421)
      at org.jboss.invocation.pooled.server.PooledInvoker.run(PooledInvoker.java:262)
      at java.lang.Thread.run(Thread.java:595)
      2007-09-28 09:26:04,061 ERROR [org.jboss.remoting.transport.socket.SocketServerInvoker] (AcceptorThread#0:4446:) SocketServerInvoker[127.0.0.1:4446] failed to handle socket
      java.net.SocketException: socket closed
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
      at java.net.ServerSocket.implAccept(ServerSocket.java:450)
      at java.net.ServerSocket.accept(ServerSocket.java:421)
      at org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:520)
      at java.lang.Thread.run(Thread.java:595)
      2007-09-28 09:26:04,076 ERROR [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] (secondaryServerSocketThread:) Failed to accept socket connection