Hi Randy, if Apache cannot talk to Tomcat, then its not because of the
clustering. The first error in catalina.out, is just a result of
replication keep alive sessions getting closed, I will fix the code that
generates that error so that it doesn't log as an error.
do you have a firewall or anything of that kind between apache and tomcat?
Filip
Randy Paries wrote:
hello,
I am running apache-tomcat-5.5.15 on three boxes 2 rh9 and one fedora
4. and they are clustered together
I am seeing problems where apache can not longer talk to tomcat.
if anyone can point me on how to debug this please help, i am not sure
what else i should include as far a conf setups, so please let me know
what other details i need to supply so you guys can help
Thanks
in the log files at the time of the failure i see the following
catalina.out ( i will see a bunch of these)
========================================================
Feb 12, 2006 8:25:23 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:125)
at
org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThread.java:69)
=========================================================
then in my mod_jk.log i will see
=========================================================
[Sun Feb 12 20:25:10 2006] [jk_ajp_common.c (1303)]: ERROR: Client
connection aborted or network problems
[Sun Feb 12 20:25:13 2006] [jk_ajp_common.c (1303)]: ERROR: Client
connection aborted or network problems
[Sun Feb 12 20:25:39 2006] [jk_ajp_common.c (1303)]: ERROR: Client
connection aborted or network problems
[Sun Feb 12 20:30:00 2006] [jk_ajp_common.c (738)]: ERROR: can't
receive the response message from tomcat, network problems or tomcat
is down. err=-104
[Sun Feb 12 20:30:00 2006] [jk_ajp_common.c (1137)]: Error reading
reply from tomcat. Tomcat is down or network problems.
[Sun Feb 12 20:30:00 2006] [jk_ajp_common.c (1290)]: ERROR: Receiving
from tomcat failed, recoverable operation. err=0
[Sun Feb 12 20:30:02 2006] [jk_ajp_common.c (738)]: ERROR: can't
receive the response message from tomcat, network problems or tomcat
is down. err=-104
[
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]