0 Replies Latest reply on Jan 13, 2004 3:28 AM by frdbacke231

    Tomcat socket exception

    frdbacke231

       

      "frdbacke231" wrote:
      Hello,

      I am running jboss 3.2.1 with embedded tomcat 4.1.24 on a sun solaris system in a production environment. At random times (we assume it is related to increasing load of the server), our jboss server just hangs. This means when I open a web browser and go to the begin page, I get no response (IE screen stays white). In the server logs I see the following stacktrace (see below). Does anyone have a clue what might be the problem here and a possible workaround?

      Thanks a lot for the assistance,

      Frederik De Backer
      Belgium.

      2004-01-12 13:20:38,341 ERROR [org.apache.tomcat.util.net.PoolTcpEndpoint] Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=9999] ignored exception: java.net.SocketException: Software caused connection abort
      java.net.SocketException: Software caused connection abort
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
      at java.net.ServerSocket.implAccept(ServerSocket.java:438)
      at java.net.ServerSocket.accept(ServerSocket.java:409)
      at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:107)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:356)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
      at java.lang.Thread.run(Thread.java:536)
      2004-01-12 13:20:38,343 INFO [org.apache.struts.action.RequestProcessor] Processing a 'POST' for path '/LookupNE'
      2004-01-12 13:20:38,344 WARN [org.apache.tomcat.util.net.PoolTcpEndpoint] Reinitializing ServerSocket
      2004-01-12 13:20:38,345 INFO [com.belgacom.ossportal.commonweb.web.struts.OSSPortalAction] Redirect to login
      2004-01-12 13:20:38,346 ERROR [org.apache.tomcat.util.net.PoolTcpEndpoint] Endpoint null ignored exception: java.net.BindException: Address already in use:9999
      java.net.BindException: Address already in use:9999
      at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:280)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:403)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
      at java.lang.Thread.run(Thread.java:536)
      2004-01-12 13:20:38,347 WARN [org.apache.tomcat.util.net.PoolTcpEndpoint] Restarting endpoint
      2004-01-12 13:20:38,348 ERROR [org.apache.tomcat.util.net.PoolTcpEndpoint] Endpoint null shutdown due to exception: java.net.BindException: Address already in use:9999
      java.net.BindException: Address already in use:9999
      at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:280)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:415)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
      at java.lang.Thread.run(Thread.java:536)
      2004-01-12 13:20:38,350 ERROR [org.apache.tomcat.util.net.PoolTcpEndpoint] Exception in acceptSocket
      java.lang.IllegalStateException: Terminating thread
      at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:423)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
      at java.lang.Thread.run(Thread.java:536)
      2004-01-12 13:20:38,351 ERROR [org.apache.tomcat.util.threads.ThreadPool] Caught exception executing org.apache.tomcat.util.net.TcpWorkerThread@50c2b0, terminating thread
      java.lang.IllegalStateException: Terminating thread
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:532)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
      at java.lang.Thread.run(Thread.java:536)