We installed.tomcat6 in production on three high ended machines
Tomcat Version JVM Version JVM Vendor OS Name OS Version OS Architecture
Apache Tomcat/6.0.18 1.6.0_07-b06 Sun Microsystems Inc. Windows 2003 5.2
amd64
1) Cluster is setup correctly in the server.xml as follows
2) web.xml has <distributable/> flag
Problem1 : While starting tomcat6, sometimes it starts other times it
simply hangs on the following message:
INFO: Manager [localhost#/ivos]; session state send at 12/12/08 12:34 AM
received in 110 ms.
Tomcat Log:
INFO: Register manager /ivos to cluster element Engine with name Catalina
Dec 12, 2008 12:34:53 AM org.apache.catalina.ha.session.DeltaManager start
INFO: Starting clustering manager at /ivos Dec 12, 2008 12:34:53 AM
org.apache.catalina.ha.session.DeltaManager getAllClusterSessions
WARNING: Manager [localhost#/ivos], requesting session state from
org.apache.catalina.tribes.membership.MemberImpl[tcp://{10, 88, 8,
28}:4002,{10, 88, 8, 28},4002, alive=123501,id={27 -68 111 -64 -49 -117 68
38 -98 -27 -49 39 -22 6 -88 -38 }, payload={}, command={}, domain={}, ].
This operation will timeout if no session state has been received within 60
seconds.
Dec 12, 2008 12:34:53 AM org.apache.catalina.ha.session.DeltaManager
waitForSendAllSessions
INFO: Manager [localhost#/ivos]; session state send at 12/12/08 12:34 AM
received in 110 ms.
After this nothing happens simply hangs. Should I use
tcpHostListener="MYIPAddress" or "auto" May be auto is slowing it down?
Problem2: User does not transparently fail-over to node2 if the users fails
on node1.
However, the session count on all the nodes in cluster has correct number.
Means replication does work.
I have attached server.xml
Here is multicast information
Local Address Foreign Address
TCP 10.88.8.27:4001 0.0.0.0:0 LISTENING
TCP 10.88.8.27:4001 10.88.8.28:1993 ESTABLISHED
TCP 10.88.8.27:4001 10.88.8.28:2682 ESTABLISHED
TCP 10.88.8.27:4001 10.88.8.30:3532 ESTABLISHED
TCP 10.88.8.27:4001 10.88.8.30:4292 ESTABLISHED
TCP 10.88.8.27:4245 10.88.2.204:1433 ESTABLISHED
TCP 10.88.8.27:4250 10.88.8.28:4002 ESTABLISHED
TCP 10.88.8.27:4252 10.88.8.28:4002 ESTABLISHED
TCP 10.88.8.27:4254 10.88.8.30:4003 ESTABLISHED
TCP 10.88.8.27:4255 10.88.8.30:4003 ESTABLISHED
http://www.nabble.com/file/p20985367/server.xml server.xml
--
View this message in context:
http://www.nabble.com/Tomcat-6-Cluster-Setup--Server1-simply-hangs-sometimes---won%27t-start...-tp20985367p20985367.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]