two things:
1. export LD_ASSUME_KERNEL=2.4 before you start tomcat (add it to your startscript)
2. Starting the two instances at the exact same time,
   no instance has a state to replicate, wait 5 seconds with one
   once the servers have been running for a while, it will request state from your 
longest
   running server

Filip

----- Original Message ----- 
From: "Randy" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, May 19, 2004 3:21 PM
Subject: Trying to get a Cluster/Session Replication working


Hello,
(sorry I could not search the mail archives, for some reason the site is
down)

I am following
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html and
trying to get Cluster/Session Replication

I have commented out the Cluster part in the sample server.xml

I have two boxes runnnig rh9, with tomcat 5

When I start up box two

Box 1 gets the error
==================================
INFO: Server startup in 14355 ms
May 19, 2004 3:04:19 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberAdded
INFO: Replication member
added:org.apache.catalina.cluster.mcast.McastMember[tcp://66.208.187.21:4001
,66.208.187.21,4001, alive=31]
May 19, 2004 3:04:24 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
messageDataReceived
WARNING: Context manager doesn't exist:
May 19, 2004 3:04:36 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberDisappeared
INFO: Received member
disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://66.208.187.2
1:4001,66.208.187.21,4001, alive=14390]
May 19, 2004 3:05:41 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberAdded
INFO: Replication member
added:org.apache.catalina.cluster.mcast.McastMember[tcp://66.208.187.21:4001
,66.208.187.21,4001, alive=31]
May 19, 2004 3:05:47 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
messageDataReceived
WARNING: Context manager doesn't exist:

Box 2 gets the error
==================================
INFO: Starting clustering manager...:
May 19, 2004 3:05:35 PM org.apache.catalina.cluster.session.DeltaManager
start
WARNING: Manager[], requesting session state from
org.apache.catalina.cluster.mcast.McastMember[tcp://66.208.187.70:4001,66.20
8.187.70,4001, alive=121560]. This operation will timeout if no session
state has been received within 60 seconds
May 19, 2004 3:06:35 PM org.apache.catalina.cluster.session.DeltaManager
start
SEVERE: Manager[], No session state received, timing out.



---------------------------------------------------------------------
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]

Reply via email to