tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Tomcat 5.5.15 Clustering ?
Date Fri, 17 Feb 2006 19:06:12 GMT
Perfect David, and as far as I can tell, the latter sequence that you 
present, clustering and session replication is working just fine.
now, obviously your system is not setup correctly to bind an interface 
to the multicasting, so don't do it if it works without it.
so what have you learned? :)

Filip



David Avenante wrote:
> -- Ok so let's go ;)
>
> My two tomcat are stopped and i run the MCaster on both box
>
> >From agnes
> java -cp tomcat-replication.jar MCaster 224.0.0.1 45564 ovea-inspiron
> Usage MCaster [address port message]
> BEGIN TO RECEIVE
> SENT:ovea-inspiron1
> RECEIVED:ovea-inspiron1 FROM /192.168.2.102:45564
> BEGIN TO RECEIVE
> RECEIVED:agnes3 FROM /192.168.2.103:45564
> SENT:ovea-inspiron2
> BEGIN TO RECEIVE
> RECEIVED:ovea-inspiron2 FROM /192.168.2.102:45564
> SENT:ovea-inspiron3
> BEGIN TO RECEIVE
> RECEIVED:agnes4 FROM /192.168.2.103:45564
> SENT:ovea-inspiron4
> BEGIN TO RECEIVE
> RECEIVED:ovea-inspiron3 FROM /192.168.2.102:45564
> SENT:ovea-inspiron5
>
> >From ovea-inspiron
> java -cp tomcat-replication.jar MCaster 224.0.0.1 45564 agnes
> Usage MCaster [address port message]
> BEGIN TO RECEIVE
> RECEIVED:agnes1 FROM /192.168.2.103:45564
> SENT:agnes1
> BEGIN TO RECEIVE
> SENT:agnes2
> RECEIVED:agnes2 FROM /192.168.2.103:45564
> SENT:agnes3
> BEGIN TO RECEIVE
> RECEIVED:ovea-inspiron1 FROM /192.168.2.102:45564
> SENT:agnes4
> BEGIN TO RECEIVE
> RECEIVED:agnes3 FROM /192.168.2.103:45564
> SENT:agnes5
> BEGIN TO RECEIVE
> RECEIVED:ovea-inspiron2 FROM /192.168.2.102:45564
>
> Come on ...
>
> I - WITH mcastBindAddress
>
> Shutdown the MCaster program => Ok
> hutdown both Tomcats - delete or archive your logs => Ok
> set waitForAck="false" on your <Sender> element => Ok
> Start tomcat 1 => OK ... logs are :
>
> Feb 17, 2006 12:09:08 PM org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /opt/sun-jdk-1.5.0.06/jre/lib/i386/client:/opt/sun-jdk-1.5.0.06/jre/lib/i386:/opt/sun-jdk-1.5.0.06/jre/../lib/i386
> Feb 17, 2006 12:09:08 PM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Feb 17, 2006 12:09:08 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 995 ms
> Feb 17, 2006 12:09:08 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Feb 17, 2006 12:09:08 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
> Feb 17, 2006 12:09:08 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Feb 17, 2006 12:09:08 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster start
> INFO: Cluster is about to start
> Feb 17, 2006 12:09:08 PM
> org.apache.catalina.cluster.tcp.ReplicationTransmitter start
> INFO: Start ClusterSender at cluster
> Catalina:type=Cluster,host=localhost with name
> Catalina:type=ClusterSender,host=localhost
> Feb 17, 2006 12:09:08 PM
> org.apache.catalina.cluster.mcast.McastServiceImpl setupSocket
> INFO: Setting multihome multicast interface to:/192.168.2.102
> Feb 17, 2006 12:09:08 PM org.apache.catalina.cluster.mcast.McastService start
> INFO: Sleeping for 4000 secs to establish cluster membership
> Feb 17, 2006 12:09:12 PM
> org.apache.catalina.cluster.mcast.McastService registerMBean
> INFO: membership mbean registered
> (Catalina:type=ClusterMembership,host=localhost)
> Feb 17, 2006 12:09:12 PM
> org.apache.catalina.cluster.session.JvmRouteBinderValve start
> INFO: JvmRouteBinderValve started
> Feb 17, 2006 12:09:13 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive cluster-1.0-SNAPSHOT.war
> Feb 17, 2006 12:09:13 PM org.apache.catalina.cluster.session.DeltaManager start
> INFO: Register manager /cluster-1.0-SNAPSHOT to cluster element Host
> with name localhost
> Feb 17, 2006 12:09:13 PM org.apache.catalina.cluster.session.DeltaManager start
> INFO: Starting clustering manager at /cluster-1.0-SNAPSHOT
> Feb 17, 2006 12:09:13 PM
> org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions
> INFO: Manager [/cluster-1.0-SNAPSHOT]: skipping state transfer. No
> members active in cluster group.
> Feb 17, 2006 12:09:13 PM org.apache.jasper.EmbeddedServletOptions <init>
> SEVERE: The scratchDir you specified:
> /opt/java/appserver/tomcat-5.5.15/work/Catalina/localhost/cluster-1.0-SNAPSHOT
> is unusable.
> Feb 17, 2006 12:09:15 PM org.apache.tapestry.ApplicationServlet init
> INFO: Initialized application servlet 'cluster': 911 millis to create
> HiveMind Registry, 1,986 millis overall.
> Feb 17, 2006 12:09:16 PM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Feb 17, 2006 12:09:16 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Feb 17, 2006 12:09:16 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/27  config=null
> Feb 17, 2006 12:09:16 PM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Feb 17, 2006 12:09:16 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 7732 ms
>
> Start tomcat 2 => OK ... logs are
>
> Feb 17, 2006 12:15:48 PM org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /opt/sun-jdk-1.5.0.06/jre/lib/i386/client:/opt/sun-jdk-1.5.0.06/jre/lib/i386:/opt/sun-jdk-1.5.0.06/jre/../lib/i386
> Feb 17, 2006 12:15:48 PM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-9080
> Feb 17, 2006 12:15:48 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 738 ms
> Feb 17, 2006 12:15:48 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Feb 17, 2006 12:15:48 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
> Feb 17, 2006 12:15:48 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Feb 17, 2006 12:15:48 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster start
> INFO: Cluster is about to start
> Feb 17, 2006 12:15:48 PM
> org.apache.catalina.cluster.tcp.ReplicationTransmitter start
> INFO: Start ClusterSender at cluster
> Catalina:type=Cluster,host=localhost with name
> Catalina:type=ClusterSender,host=localhost
> Feb 17, 2006 12:15:48 PM
> org.apache.catalina.cluster.mcast.McastServiceImpl setupSocket
> INFO: Setting multihome multicast interface to:/192.168.2.103
> Feb 17, 2006 12:15:48 PM org.apache.catalina.cluster.mcast.McastService start
> INFO: Sleeping for 4000 secs to establish cluster membership
> Feb 17, 2006 12:15:52 PM
> org.apache.catalina.cluster.mcast.McastService registerMBean
> INFO: membership mbean registered
> (Catalina:type=ClusterMembership,host=localhost)
> Feb 17, 2006 12:15:52 PM
> org.apache.catalina.cluster.session.JvmRouteBinderValve start
> INFO: JvmRouteBinderValve started
> Feb 17, 2006 12:15:53 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive cluster-1.0-SNAPSHOT.war
> Feb 17, 2006 12:15:53 PM org.apache.catalina.cluster.session.DeltaManager start
> INFO: Register manager /cluster-1.0-SNAPSHOT to cluster element Host
> with name localhost
> Feb 17, 2006 12:15:53 PM org.apache.catalina.cluster.session.DeltaManager start
> INFO: Starting clustering manager at /cluster-1.0-SNAPSHOT
> Feb 17, 2006 12:15:53 PM
> org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions
> INFO: Manager [/cluster-1.0-SNAPSHOT]: skipping state transfer. No
> members active in cluster group.
> Feb 17, 2006 12:15:54 PM org.apache.tapestry.ApplicationServlet init
> INFO: Initialized application servlet 'cluster': 712 millis to create
> HiveMind Registry, 1,426 millis overall.
> Feb 17, 2006 12:15:55 PM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-9080
> Feb 17, 2006 12:15:55 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:9009
> Feb 17, 2006 12:15:55 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/73  config=null
> Feb 17, 2006 12:15:55 PM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Feb 17, 2006 12:15:55 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 7168 ms
>
> I look on first tomcat log and nothing change
>
> Ok now my two apps are deployed ... i start my apache
> do i my first request => result :
> Demo This page is rendered on server : Cluster Node - 01 (One) New
> session is created with saved value ....UserId : 123456
>
> do i my second request => result :
> Demo This page is rendered on server : Cluster Node - 02 (Two) New
> session is created with saved value ....UserId : 123456
>
> Nothing new in the two tomcat log.
>
> So no session replication a new session is created on each server ;(
>
>
> II - WITHOUT mcastBindAddress
>
> Shutdown the MCaster program => Ok
> hutdown both Tomcats - delete or archive your logs => Ok
> set waitForAck="false" on your <Sender> element => Ok (I keep your
> config here to see ;))
> Start tomcat 1 => OK ... logs are :
>
> Feb 17, 2006 12:25:46 PM org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /opt/sun-jdk-1.5.0.06/jre/lib/i386/client:/opt/sun-jdk-1.5.0.06/jre/lib/i386:/opt/sun-jdk-1.5.0.06/jre/../lib/i386
> Feb 17, 2006 12:25:46 PM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Feb 17, 2006 12:25:46 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1001 ms
> Feb 17, 2006 12:25:46 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Feb 17, 2006 12:25:46 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
> Feb 17, 2006 12:25:46 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Feb 17, 2006 12:25:46 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster start
> INFO: Cluster is about to start
> Feb 17, 2006 12:25:46 PM
> org.apache.catalina.cluster.tcp.ReplicationTransmitter start
> INFO: Start ClusterSender at cluster
> Catalina:type=Cluster,host=localhost with name
> Catalina:type=ClusterSender,host=localhost
> Feb 17, 2006 12:25:46 PM org.apache.catalina.cluster.mcast.McastService start
> INFO: Sleeping for 4000 secs to establish cluster membership
> Feb 17, 2006 12:25:50 PM
> org.apache.catalina.cluster.mcast.McastService registerMBean
> INFO: membership mbean registered
> (Catalina:type=ClusterMembership,host=localhost)
> Feb 17, 2006 12:25:50 PM
> org.apache.catalina.cluster.session.JvmRouteBinderValve start
> INFO: JvmRouteBinderValve started
> Feb 17, 2006 12:25:51 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive cluster-1.0-SNAPSHOT.war
> Feb 17, 2006 12:25:51 PM org.apache.catalina.cluster.session.DeltaManager start
> INFO: Register manager /cluster-1.0-SNAPSHOT to cluster element Host
> with name localhost
> Feb 17, 2006 12:25:51 PM org.apache.catalina.cluster.session.DeltaManager start
> INFO: Starting clustering manager at /cluster-1.0-SNAPSHOT
> Feb 17, 2006 12:25:51 PM
> org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions
> INFO: Manager [/cluster-1.0-SNAPSHOT]: skipping state transfer. No
> members active in cluster group.
> Feb 17, 2006 12:25:53 PM org.apache.tapestry.ApplicationServlet init
> INFO: Initialized application servlet 'cluster': 971 millis to create
> HiveMind Registry, 1,999 millis overall.
> Feb 17, 2006 12:25:53 PM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Feb 17, 2006 12:25:53 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Feb 17, 2006 12:25:53 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/23  config=null
> Feb 17, 2006 12:25:53 PM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Feb 17, 2006 12:25:54 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 7621 ms
>
> Start tomcat 2 => OK ... logs are
> Feb 17, 2006 12:27:59 PM org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /opt/sun-jdk-1.5.0.06/jre/lib/i386/client:/opt/sun-jdk-1.5.0.06/jre/lib/i386:/opt/sun-jdk-1.5.0.06/jre/../lib/i386
> Feb 17, 2006 12:28:00 PM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-9080
> Feb 17, 2006 12:28:00 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 742 ms
> Feb 17, 2006 12:28:00 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Feb 17, 2006 12:28:00 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
> Feb 17, 2006 12:28:00 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Feb 17, 2006 12:28:00 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster start
> INFO: Cluster is about to start
> Feb 17, 2006 12:28:00 PM
> org.apache.catalina.cluster.tcp.ReplicationTransmitter start
> INFO: Start ClusterSender at cluster
> Catalina:type=Cluster,host=localhost with name
> Catalina:type=ClusterSender,host=localhost
> Feb 17, 2006 12:28:00 PM org.apache.catalina.cluster.mcast.McastService start
> INFO: Sleeping for 4000 secs to establish cluster membership
> Feb 17, 2006 12:28:01 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded
> INFO: Replication member
> added:org.apache.catalina.cluster.mcast.McastMember[tcp://192.168.2.102:4000,cluster1,192.168.2.102,4000,
> alive=122566]
> Feb 17, 2006 12:28:01 PM
> org.apache.catalina.cluster.tcp.FastAsyncSocketSender checkThread
> INFO: Create sender [/192.168.2.102:4,000] queue thread to tcp
> background replication
> Feb 17, 2006 12:28:04 PM
> org.apache.catalina.cluster.mcast.McastService registerMBean
> INFO: membership mbean registered
> (Catalina:type=ClusterMembership,host=localhost)
> Feb 17, 2006 12:28:04 PM
> org.apache.catalina.cluster.session.JvmRouteBinderValve start
> INFO: JvmRouteBinderValve started
> Feb 17, 2006 12:28:04 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive cluster-1.0-SNAPSHOT.war
> Feb 17, 2006 12:28:04 PM org.apache.catalina.cluster.session.DeltaManager start
> INFO: Register manager /cluster-1.0-SNAPSHOT to cluster element Host
> with name localhost
> Feb 17, 2006 12:28:04 PM org.apache.catalina.cluster.session.DeltaManager start
> INFO: Starting clustering manager at /cluster-1.0-SNAPSHOT
> Feb 17, 2006 12:28:04 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logSendMessage
> INFO: SEND Feb 17, 2006:12:28:04 PM 11 192.168.2.102:4,000
> GET-ALL-/cluster-1.0-SNAPSHOT Feb 17, 2006 12:28:04 PM
> org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions
> WARNING: Manager [/cluster-1.0-SNAPSHOT], requesting session state
> from org.apache.catalina.cluster.mcast.McastMember[tcp://192.168.2.102:4000,cluster1,192.168.2.102,4000,
> alive=125576]. This operation will timeout if no session state has
> been received within 60 seconds.
> Feb 17, 2006 12:28:04 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logReceiveMessage
> INFO: RECEIVE Feb 17, 2006:12:28:04 PM 1 192.168.2.102:4,000
> SESSION-STATE-/cluster-1.0-SNAPSHOT true
> Feb 17, 2006 12:28:04 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logReceiveMessage
> INFO: RECEIVE Feb 17, 2006:12:28:04 PM 0 192.168.2.102:4,000
> SESSION-STATE-TRANSFERED/cluster-1.0-SNAPSHOT true
> Feb 17, 2006 12:28:05 PM
> org.apache.catalina.cluster.session.DeltaManager
> waitForSendAllSessions
> INFO: Manager [/cluster-1.0-SNAPSHOT]; session state send at 2/17/06
> 12:28 PM received in 204 ms.
> Feb 17, 2006 12:28:06 PM org.apache.tapestry.ApplicationServlet init
> INFO: Initialized application servlet 'cluster': 711 millis to create
> HiveMind Registry, 1,459 millis overall.
> Feb 17, 2006 12:28:07 PM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-9080
> Feb 17, 2006 12:28:07 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:9009
> Feb 17, 2006 12:28:07 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/15  config=null
> Feb 17, 2006 12:28:07 PM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Feb 17, 2006 12:28:07 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 7521 ms
>
> And on the first server new logs are outputed :
> ...
> Feb 17, 2006 12:27:56 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded
> INFO: Replication member
> added:org.apache.catalina.cluster.mcast.McastMember[tcp://192.168.2.103:4001,cluster1,192.168.2.103,4001,
> alive=3]
> Feb 17, 2006 12:27:56 PM
> org.apache.catalina.cluster.tcp.FastAsyncSocketSender checkThread
> INFO: Create sender [/192.168.2.103:4,001] queue thread to tcp
> background replication
> Feb 17, 2006 12:27:57 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logSendMessage
> INFO: SEND Feb 17, 2006:12:27:57 PM 6 192.168.2.103:4,001
> SESSION-STATE-/cluster-1.0-SNAPSHOT
> Feb 17, 2006 12:27:57 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logSendMessage
> INFO: SEND Feb 17, 2006:12:27:57 PM 3 192.168.2.103:4,001
> SESSION-STATE-TRANSFERED/cluster-1.0-SNAPSHOT
> Feb 17, 2006 12:27:57 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logReceiveMessage
> INFO: RECEIVE Feb 17, 2006:12:27:57 PM 17 192.168.2.103:4,001
> GET-ALL-/cluster-1.0-SNAPSHOT true
>
> Ok now my two apps are deployed ... i start my apache
> do i my first request => result :
>
> Demo This page is rendered on server : Cluster Node - 01 (One) New
> session is created with saved value ....UserId : 123456
>
> do i my second request => result :
> Demo This page is rendered on server : Cluster Node - 02 (Two) Session
> already exist with saved value ....UserId : 123456
>
> So session replication is OK ;) on session created and duplicated on
> the other server
>
> New logs are present in my two boxes :
> on agnes :
>
> Feb 17, 2006 12:31:45 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logSendMessage
> INFO: SEND Feb 17, 2006:12:31:45 PM 5 -
> 492D5B75E173E7323E076E96010274AD.node01-1140197505797
> Feb 17, 2006 12:31:46 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logSendMessage
> INFO: SEND Feb 17, 2006:12:31:46 PM 2 -
> 492D5B75E173E7323E076E96010274AD.node01-1140197506232
> Feb 17, 2006 12:31:59 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logReceiveMessage
> INFO: RECEIVE Feb 17, 2006:12:31:59 PM 1 192.168.2.103:4,001
> 492D5B75E173E7323E076E96010274AD.node01#-#localhost#-#/cluster-1.0-SNAPSHOT#-#0#-#1140197519860
> true
> Feb 17, 2006 12:32:02 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logReceiveMessage
> INFO: RECEIVE Feb 17, 2006:12:32:02 PM 0 192.168.2.103:4,001
> 492D5B75E173E7323E076E96010274AD.node02-1140197530043 true
>
> on ovea-inspiron :
>
> Feb 17, 2006 12:31:53 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logReceiveMessage
> INFO: RECEIVE Feb 17, 2006:12:31:53 PM 10 192.168.2.102:4,000
> 492D5B75E173E7323E076E96010274AD.node01-1140197505797 true
> Feb 17, 2006 12:31:54 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logReceiveMessage
> INFO: RECEIVE Feb 17, 2006:12:31:54 PM 2 192.168.2.102:4,000
> 492D5B75E173E7323E076E96010274AD.node01-1140197506232 true
> Feb 17, 2006 12:32:07 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logSendMessage
> INFO: SEND Feb 17, 2006:12:32:07 PM 4 -
> 492D5B75E173E7323E076E96010274AD.node01#-#localhost#-#/cluster-1.0-SNAPSHOT#-#0#-#1140197527691
> Feb 17, 2006 12:32:10 PM
> org.apache.catalina.cluster.tcp.SimpleTcpCluster logSendMessage
> INFO: SEND Feb 17, 2006:12:32:10 PM 3 -
> 492D5B75E173E7323E076E96010274AD.node02-1140197530043
>
> Is it ok for you or do you want some more tests ?
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On 2/16/06, Filip Hanik - Dev Lists <devlists@hanik.com> wrote:
>   
>> wow, apologies for being blunt in advance, not my style, but you really
>> really really need to slow down and you need to start reading carefully
>> so that we can get this out of the way.
>>
>> 1. The output from MCaster that we are looking for is when MCaster is
>> running on both boxes, and tomcat is NOT(!) running.
>>    Please provide that output, what I am looking for is your pure
>> MCaster messages, not cluttered with tomcat's messages.
>>    You could have done this way back when if you had read carefully
>> :).Dont take free support for granted :)
>>
>>     
>>> For the next steps wich configuration do you want ?
>>> with or without mcastBindAddress in server.xml
>>>       
>> both. does Tomcat recognize membership on both settings now? or still
>> only without the mcastBindAddress attribute?
>>
>> Then follow these steps
>> 1. Shutdown the MCaster program
>> 2. Shutdown both Tomcats - delete or archive your logs
>> 3. Set waitForAck="false" on your <Sender> element
>> 4. Start tomcat 1
>> 5. Wait 10 seconds
>> 6. Start tomcat 2
>> 7. Send us your new output from tomcat
>>
>> Filip
>>
>> David Avenante wrote:
>>     
>>> Now tell us
>>> 1. OS Version
>>>  - gentoo with 2.6.15 kernel
>>>
>>> 2. Java version
>>>  - Sun JDK 1.5.0.06
>>>
>>>       
>> ---------------------------------------------------------------------
>> 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
View raw message