Hello,

I've a cluster of two nodes with 5.0.25 running on Linux.
Everythings works fine for most of the day, but we are now getting this a lot 
on one server.
After shutting down this server, the other one still runs.

Nov 9, 2004 4:50:24 PM org.apache.catalina.cluster.tcp.TcpReplicationThread run
SEVERE: TCP Worker thread in cluster caught 'java.io.IOException: Connection 
reset by peer' closing channel
java.io.IOException: Connection reset by peer
 at sun.nio.ch.FileDispatcher.read0(Native Method)
 at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
 at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
 at sun.nio.ch.IOUtil.read(IOUtil.java:206)
 at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
 at 
org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplicationThread.java:123)
 at 
org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThread.java:67)

and I also see this:

SEVERE: TCP Worker thread in cluster caught 'java.io.IOException: Connection 
reset by peer' closing channel
java.io.IOException: Connection reset by peer
 at sun.nio.ch.FileDispatcher.read0(Native Method)
 at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
 at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
 at sun.nio.ch.IOUtil.read(IOUtil.java:206)
 at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
 at 
org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplicationThread.java:123)
 at 
org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThread.java:67)
 at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:296)
 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:372)
 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:694)
 at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:626)
 at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:807)
 at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
 at java.lang.Thread.run(Thread.java:534)


Can I solve this by tweaking some timeouts? I'm about to upgrade to 5.0.28 soon. Is this going to help?

Ronald.

Reply via email to