Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 74257 invoked from network); 9 Jul 2007 15:24:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2007 15:24:44 -0000 Received: (qmail 30020 invoked by uid 500); 9 Jul 2007 15:24:26 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 30004 invoked by uid 500); 9 Jul 2007 15:24:26 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 29939 invoked by uid 99); 9 Jul 2007 15:24:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2007 08:24:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [130.39.186.30] (HELO egate001.lsu.edu) (130.39.186.30) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2007 08:24:21 -0700 Received: from email002.lsu.edu ([130.39.186.37]) by egate001.lsu.edu with Microsoft SMTPSVC(6.0.3790.1830); Mon, 9 Jul 2007 10:24:00 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Tomcat 5.5 Clustering issues Date: Mon, 9 Jul 2007 10:24:00 -0500 Message-ID: <1D5C148F9259BC47BC3CBD2F76ABA2055FF347@email002.lsu.edu> In-Reply-To: <4692476F.6080907@hanik.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat 5.5 Clustering issues Thread-Index: AcfCNmPl0ve3pQsPTTmhoLrMa5z9lwABouaw References: <1D5C148F9259BC47BC3CBD2F76ABA2055FEECF@email002.lsu.edu> <468A635A.4060505@hanik.com> <1D5C148F9259BC47BC3CBD2F76ABA2055FF2FA@email002.lsu.edu> <4692476F.6080907@hanik.com> From: "Andrew R Feller" To: "Tomcat Users List" X-OriginalArrivalTime: 09 Jul 2007 15:24:00.0859 (UTC) FILETIME=[2D167AB0:01C7C23D] X-Virus-Checked: Checked by ClamAV on apache.org Filip, Perhaps you can explain why each of these log messages are happening every 10 minutes? If this isn't controlled behavior, which I doubt, then something is going on here. =3DP Thanks for the help, Andy 2007-07-09 09:30:09,497 INFO [org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://130.39.186.177 :9001,catalina,130.39.186.177,9001, alive=3D248399] 2007-07-09 09:30:09,509 DEBUG [org.apache.catalina.cluster.tcp.DataSender] - Create sender [/130.39.186.177:9,001] 2007-07-09 09:30:14,646 INFO [org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://130.39.1 86.177:9001,catalina,130.39.186.177,9001, alive=3D248399] 2007-07-09 09:40:09,733 INFO [org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://130.39.186.177 :9001,catalina,130.39.186.177,9001, alive=3D848625] 2007-07-09 09:40:09,733 DEBUG [org.apache.catalina.cluster.tcp.DataSender] - Create sender [/130.39.186.177:9,001] 2007-07-09 09:40:15,064 INFO [org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://130.39.1 86.177:9001,catalina,130.39.186.177,9001, alive=3D848625] 2007-07-09 09:50:09,935 INFO [org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://130.39.186.177 :9001,catalina,130.39.186.177,9001, alive=3D150900] 2007-07-09 09:50:09,939 DEBUG [org.apache.catalina.cluster.tcp.DataSender] - Create sender [/130.39.186.177:9,001] 2007-07-09 09:50:15,362 INFO [org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://130.39.1 86.177:9001,catalina,130.39.186.177,9001, alive=3D150900] 2007-07-09 10:10:10,800 INFO [org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://130.39.186.177 :9001,catalina,130.39.186.177,9001, alive=3D1351729] 2007-07-09 10:10:10,800 DEBUG [org.apache.catalina.cluster.tcp.DataSender] - Create sender [/130.39.186.177:9,001] 2007-07-09 10:10:15,840 INFO [org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://130.39.1 86.177:9001,catalina,130.39.186.177,9001, alive=3D1351729] 2007-07-09 10:20:10,832 INFO [org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://130.39.186.177 :9001,catalina,130.39.186.177,9001, alive=3D1951799] 2007-07-09 10:20:10,833 DEBUG [org.apache.catalina.cluster.tcp.DataSender] - Create sender [/130.39.186.177:9,001] 2007-07-09 10:20:16,061 INFO [org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://130.39.1 86.177:9001,catalina,130.39.186.177,9001, alive=3D1951799] Andrew R Feller, Analyst Subversion Administrator University Information Systems Louisiana State University afelle1@lsu.edu (office) 225.578.3737 -----Original Message----- From: Filip Hanik - Dev Lists [mailto:devlists@hanik.com]=20 Sent: Monday, July 09, 2007 9:34 AM To: Tomcat Users List Subject: Re: Tomcat 5.5 Clustering issues correct, on the multicast IP Filip Andrew R Feller wrote: > Is the multicast heartbeat picked up over the multicast IP or the > Receiver address that is broadcasted? I assume it is the multicast IP > as the Receiver is supposedly used for replication only. > > Andrew R Feller, Analyst > Subversion Administrator > University Information Systems > Louisiana State University > afelle1@lsu.edu > (office) 225.578.3737 > -----Original Message----- > From: Filip Hanik - Dev Lists [mailto:devlists@hanik.com]=20 > Sent: Tuesday, July 03, 2007 9:55 AM > To: Tomcat Users List > Subject: Re: Tomcat 5.5 Clustering issues > > the disappeared message appears 3seconds after the member added message. > 3 seconds is the timeout you have set, ie, if no multicast heartbeat is=20 > received after 3 seconds, consider the member dead. > so it seems like multicasting is not working properly on your system. > > Filip > > Andrew R Feller wrote: > =20 >> Good morning everyone, >> >> =20 >> >> I have been trying to get Tomcat clustering between two Tomcat >> =20 > instances > =20 >> set up, but I have run into some issues. After opening the necessary >> ports in the firewall, routing the broadcast messages to the correct >> network interface (eth0), and setting up server.xml with the necessary >> membership information, I get the following from my Tomcat logs: >> >> =20 >> >> 2007-07-03 09:16:37,247 INFO >> [org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Replication >> =20 > member > =20 > added:org.apache.catalina.cluster.mcast.McastMember[tcp://130.39.184.173 > =20 >> :4001,catalina,130.39.184.173,4001, alive=3D30318] >> >> 2007-07-03 09:16:37,256 DEBUG >> [org.apache.catalina.cluster.tcp.DataSender] - Create sender >> [/130.39.184.173:4,001] >> >> 2007-07-03 09:16:40,724 INFO >> [org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Received member >> >> =20 > disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://130.39.1 > =20 >> 84.173:4001,catalina,130.39.184.173,4001, alive=3D30318] >> >> =20 >> >> What could be the cause of cluster members disappearing immediately >> after being added? Am I missing anything necessary for setting up >> clustering / session replication? Relative information about the >> =20 > server > =20 >> is below. >> >> =20 >> >> Thank you, >> >> Andrew >> >> =20 >> >> Tomcat: 5.5.23 >> >> Server: RHEL 5 >> >> Server.xml: >> >> =20 >> >> > className=3D"org.apache.catalina.cluster.tcp.SimpleTcpCluster" >> >> =20 >> managerClassName=3D"org.apache.catalina.cluster.session.DeltaManager" >> >> expireSessionsOnShutdown=3D"false" >> >> useDirtyFlag=3D"true"> >> >> =20 >> >> > >> className=3D"org.apache.catalina.cluster.mcast.McastService" >> >> mcastAddr=3D"239.39.184.173" >> >> mcastPort=3D"45564" >> >> mcastFrequency=3D"500" >> >> mcastDropTime=3D"3000" /> >> >> =20 >> >> > >> =20 >> className=3D"org.apache.catalina.cluster.tcp.ReplicationListener" >> >> tcpListenAddress=3D"auto" >> >> tcpListenPort=3D"4001" >> >> tcpSelectorTimeout=3D"100" >> >> tcpThreadCount=3D"6" /> >> >> =20 >> >> > >> =20 >> className=3D"org.apache.catalina.cluster.tcp.ReplicationTransmitter" >> >> replicationMode=3D"synchronous" /> >> >> =20 >> >> > className=3D"org.apache.catalina.cluster.tcp.ReplicationValve" >> >> =20 >> >> =20 > filter=3D".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt= ; > =20 >> " /> >> >> =20 >> >> > className=3D"org.apache.catalina.cluster.session.ClusterSessionListener" >> /> >> >> =20 >> >> >> >> =20 >> >> IP table rules: >> >> =20 >> >> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport >> 4001 -j ACCEPT >> >> -A RH-Firewall-1-INPUT -p udp --dport 45564 -d 239.39.184.173 -j >> ACCEPT >> >> >> =20 >> >> =20 > ------------------------------------------------------------------------ > =20 >> No virus found in this incoming message. >> Checked by AVG Free Edition.=20 >> Version: 7.5.476 / Virus Database: 269.9.14/884 - Release Date: >> =20 > 7/2/2007 3:35 PM > =20 >> =20 >> =20 > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > > =20 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org