Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
In order to trace create session completely, it was necessary that changing log level of LazyReplicatedMap. (sorry about that.) However this log indicates that session replication works. For example. Dec 17, 2013 1:52:21 PM > org.apache.catalina.tribes.tipis.AbstractReplicatedMap messageReceived

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Nir A
Here is a full scenario: 1) Both tomcats are down 2) starting up tc1: Dec 17, 2013 1:49:31 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /u

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
2013/12/17 Nir A > In the tomcat manager We can see that our web application called "HATest" > is having the sessions. > Its a small demo of a shopping cart that keeps the items in the session. > > here is an example of a session we created in on of the tomcats nodes: > > Details for Session 3326

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Nir A
In the tomcat manager We can see that our web application called "HATest" is having the sessions. Its a small demo of a shopping cart that keeps the items in the session. here is an example of a session we created in on of the tomcats nodes: Details for Session 33265A9C6318C014ADA92220A76F566C S

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
It seems that there is no problem. Initialization of AbstractReplicatedMap seems to work correctly. > > We have 3 sessions currently: one on node-1 and 2 on node-2 but there are > only primary sessions on each (3) and not backup sessions at all. what > could be the problem? > > How did you confi

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Nir A
Ok , So now we started node 1 , waited until it was up and running and only then we started node2. There are no warnings \ errors on the log files. Only problem is that our session's are not being replicated. here are the logs of the catalina: Node1: Dec 17, 2013 10:52:21 AM org.apache.catali

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
DeltaManager starts session sync phase by sending a SESSION-GET-ALL message at startup. DeltaManager that has received the SESSION-GET-ALL message sends all session data by sending a ALL-SESSION-DATA message. Then sends a SESSION-STATE-TRANSFERED message in order to notify the transmission completi

Tomcat Clustering - when the tomcat instances are on different machines

2013-12-16 Thread Nir A
Hi, We started working on our next generation platform project. One of our requirement is to have session replication via tomcat clustering. We have managed to set up a cluster with replication when the tomcats (7.0.47) were both on the SAME machine as a POC. Now as we are setting up the product