I am continuing to fight this problem since the past 3 days with no luck. It
just looks like the connections go to sleep or die after a while and need to
be poked to get them started again. Here are some of the other exceptions I
am seeing in the logs:
Caused by: 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
org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:580) at
org.apache.jk.common.JkInputStream.doWrite(JkInputStream.java:206) at
com.sun.grizzly.tcp.Response.doWrite(Response.java:685) at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:420)
Caused by: java.io.IOException at
org.apache.jk.common.JkInputStream.receive(JkInputStream.java:249) at
org.apache.jk.common.JkInputStream.refillReadBuffer(JkInputStream.java:309)
at org.apache.jk.common.JkInputStream.doRead(JkInputStream.java:227) at
com.sun.grizzly.tcp.Request.doRead(Request.java:501) at
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:336)
at com.sun.grizzly.util.buf.ByteChunk.substract(ByteChunk.java:431) at
org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:357) at
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:265)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264) at
sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306) at
sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158) at
java.io.InputStreamReader.read(InputStreamReader.java:167) at
com.ctc.wstx.io.MergedReader.read(MergedReader.java:101) at
com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84) at
com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:967) at
com.ctc.wstx.sr.StreamScanner.getNext(StreamScanner.java:738) at
com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:1995)
at
com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2647)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
Can someone please guide me on how to track this problem down? Should I be
look at increaing thread pools, or some watchdog process to respawn
connections, anything else?
Thanks.
Naresh
--
[Message sent by forum member 'nbhatia']
View Post: http://forums.java.net/node/794021