https://issues.apache.org/bugzilla/show_bug.cgi?id=47292
Martin Sulak <martin.su...@nam.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW --- Comment #8 from Martin Sulak <martin.su...@nam.cz> 2009-07-08 22:12:15 PST --- Hello, In node 2 session request was sent to node 1 and reply arrived in 105 ms. 8.7.2009 22:13:02 org.apache.catalina.ha.session.DeltaManager getAllClusterSessions WARNING: Manager [localhost#/inetgweb2], requesting session state from org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 1, 1}:4000,{127, 0, 1, 1},4000, alive=482259865,id={77 104 -45 52 13 -18 77 -88 -123 -28 -35 -2 111 103 73 -108 }, payload={}, command={}, domain={}, ]. This operation will timeout if no session state has been received within 60 seconds. 8.7.2009 22:13:02 org.apache.catalina.ha.session.DeltaManager waitForSendAllSessions INFO: Manager [localhost#/inetgweb2]; session state send at 8.7.09 22:13 received in 105 ms. ---------------------------------------------------------------------- In node 1 session request was sent to node 1 again and reply did not arrive. 8.7.2009 22:36:59 org.apache.catalina.ha.session.DeltaManager getAllClusterSessions WARNING: Manager [localhost#/inetgweb2], requesting session state from org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 1, 1}:4000,{127, 0, 1, 1},4000, alive=483696349,id={77 104 -45 52 13 -18 77 -88 -123 -28 -35 -2 111 103 7 3 -108 }, payload={}, command={}, domain={}, ]. This operation will timeout if no session state has been received within 60 seconds. ... 8.7.2009 22:37:59 org.apache.catalina.ha.session.DeltaManager waitForSendAllSessions SEVERE: Manager [localhost#/inetgweb2]: No session state send at 8.7.09 22:36 received, timing out after 60 009 ms. 8.7.2009 22:37:59 org.apache.catalina.ha.session.DeltaManager getAllClusterSessions WARNING: Manager [localhost#/inetgweb2]: Drop message SESSION-GET-ALL inside GET_ALL_SESSIONS sync phase start date 8.7.09 22:36 message date 1.1.70 1:00 ---------------------------------------------------------------------- More interesting are logs about memberAdded events (on node1, tcplistenport=4000): INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 8.7.2009 22:34:52 org.apache.catalina.ha.tcp.SimpleTcpCluster start INFO: Cluster is about to start 8.7.2009 22:34:52 org.apache.catalina.tribes.transport.ReceiverBase bind INFO: Receiver Server Socket bound to:/127.0.1.1:4000 8.7.2009 22:34:52 org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to 500 8.7.2009 22:34:52 org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for 1000 milliseconds to establish cluster membership, start level:4 8.7.2009 22:34:52 org.apache.catalina.ha.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 1, 1}:4000,{127, 0, 1, 1},4000, alive=483569817,id={77 104 -45 52 13 -18 77 -88 -123 -28 -35 -2 111 103 73 -108 }, payload={}, command={}, domain={}, ] 8.7.2009 22:34:52 org.apache.catalina.tribes.io.BufferPool getBufferPool INFO: Created a buffer pool with max size:104857600 bytes of type:org.apache.catalina.tribes.io.BufferPool15Impl 8.7.2009 22:34:52 org.apache.catalina.ha.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 1, 1}:4001,{127, 0, 1, 1},4001, alive=483264299,id={62 80 120 -81 31 -10 76 115 -123 78 5 44 -86 -85 -85 -59 }, payload={}, command={}, domain={}, ] 8.7.2009 22:34:53 org.apache.catalina.ha.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 1, 1}:4001,{127, 0, 1, 1},4001, alive=81647,id={-113 -69 -19 41 -24 -23 76 53 -89 -13 125 -49 95 -62 63 2 }, payload={}, command={}, domain={}, ] 8.7.2009 22:34:53 org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:4 8.7.2009 22:34:53 org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for 1000 milliseconds to establish cluster membership, start level:8 8.7.2009 22:34:54 org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:8 ---------------------------------------------------------------------- I'm not sure why there are two memberadded events for port 4001 - node2. However there should definitely not be memberadded for port 4000 - node1 itself, which is first event in log. This is cause of both my bugs: As I've seen in SimpleTcpCluster.java, session messages are sent to all members. This can explain my first bug. In DeltaManager.findSessionMasterMember first member is in getAllClusterSessions. This explains my second bug. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org