tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Riley <cyberianti...@gmail.com>
Subject Re: problems with Clusters or apache connector not sure which one
Date Mon, 13 Feb 2006 15:21:03 GMT
I thought you said tomcat ran on 3 different boxes and it was a cluster ?

java.io.IOException: Connection reset by peer

This means that the tcp connection was severed somehow, this is typically
caused by a firewall dropping idle TCP connections, or someone unplugging a
network cable, or someone restarting something somewhere.

You may want to configure apache to connect to 127.0.0.1 via the
workers.properties file if you haven't already, as this will rarely never be
firewalled, won't be subject to any link detection scripts, which may mark
the interface as down when the link is severed, etc. etc.

That's my two cents

-Antony


On 13/02/06, Randy Paries <rtparies@gmail.com> wrote:
>
> i am the IT, the admin everything. I am a small business owner and i
> do everything.
> the apache server and tomcat are on the same box, and there is no
> firewall involved
>
> Is there something that is cluing you into the network problem?
> Something i should look for?
>
> Thanks
> Randy
>
>
>
>
> On 2/13/06, Duan, Nick <NDuan@mcdonaldbradley.com> wrote:
> > It looks like a network problem to me.  Is there any firewall between
> > the apache and your tomcat server?  Or did your IT dept reconfigure the
> > network recently?
> >
> > ND
> >
> > -----Original Message-----
> > From: Randy Paries [mailto:rtparies@gmail.com]
> > Sent: Monday, February 13, 2006 9:27 AM
> > To: Tomcat Users List
> > Subject: problems with Clusters or apache connector not sure which one
> >
> > 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(TcpRep
> > licationThread.java:125)
> >        at
> > org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationT
> > hread.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: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message