1 Reply Latest reply on Jun 9, 2004 7:10 AM by Guillermo Guisado

    SocketException with JkCoyotaHandler

    tom2004 Newbie

      Hi,
      We are using Coyote J2K connector for proxying requests from Apache to JBoss which runs on a seperate server. Occasionaly we get the following SocketExpetion. Any ideas what is causing this? Thanks.

      12:09:34,236 ERROR [JkCoyoteHandler] Error in action code
      java.net.SocketException: Software caused connection abort: 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 org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654)
      at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:435)
      at org.apache.coyote.Response.action(Response.java:226)
      at org.apache.coyote.Response.finish(Response.java:348)
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:314)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
      at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
      at java.lang.Thread.run(Thread.java:536)
      12:09:34,251 ERROR [ChannelSocket] Error, processing connection
      java.net.SocketException: Software caused connection abort: recv failed
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
      at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:548)
      at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:486)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:603)
      at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
      at java.lang.Thread.run(Thread.java:536)
      12:09:34,595 ERROR [JkCoyoteHandler] Error in action code
      java.net.SocketException: Software caused connection abort: 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 org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654)
      at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:435)
      at org.apache.coyote.Response.action(Response.java:226)
      at org.apache.coyote.Response.finish(Response.java:348)
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:314)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
      at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
      at java.lang.Thread.run(Thread.java:536)
      12:09:34,642 ERROR [ChannelSocket] Error, processing connection
      java.net.SocketException: Software caused connection abort: recv failed
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
      at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:548)
      at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:486)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:603)
      at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
      at java.lang.Thread.run(Thread.java:536)
      12:09:54,345 INFO [ChannelSocket] connection timeout reached
      12:10:50,814 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:10:50,876 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:10:50,908 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:10:51,080 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:10:52,314 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:10:56,267 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:10:59,923 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:11:01,486 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:11:04,455 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:11:08,236 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:11:08,330 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:11:09,439 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:11:09,439 ERROR [JkCoyoteHandler] Error in action code
      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 org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654)
      at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:435)
      at org.apache.coyote.Response.action(Response.java:226)
      at org.apache.coyote.Response.finish(Response.java:348)
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:314)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
      at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
      at java.lang.Thread.run(Thread.java:536)
      12:11:10,423 ERROR [JkCoyoteHandler] Error in action code
      java.net.SocketException: Software caused connection abort: 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 org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654)
      at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:435)
      at org.apache.coyote.Response.action(Response.java:226)
      at org.apache.coyote.Response.finish(Response.java:348)
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:314)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
      at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
      at java.lang.Thread.run(Thread.java:536)
      12:11:10,423 ERROR [ChannelSocket] Error, processing connection
      java.net.SocketException: Software caused connection abort: recv failed
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
      at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:548)
      at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:486)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:603)
      at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
      at java.lang.Thread.run(Thread.java:536)
      12:11:12,267 INFO [Engine] CoyoteAdapter Requested cookie session id is 2F897A6E7464A93F91AA97EF78EC4A30
      12:11:29,548 INFO [ChannelSocket] connection timeout reached
      12:11:32,283 INFO [ChannelSocket] connection timeout reached