Sorry for the noise, one of the web.xml did not have the <distributable/> tag :(
Now it is working fine. János On Mar 21, 2011, at 5:34 PM, János Löbb wrote: > Hi, > > I have two machines MachineA and MachineB with osx 10.6.6 on them. Both > machines have one tomcat 7.0.10 running. On both machine the server.xml was > modified minimally: > - Uncommented the Cluster tag > - added jvmRoute=tomcat(x) to the Engine tag where x member of {1,3}, > - changed ports: > for example: > <Engine name="Catalina" defaultHost="localhost" jvmRoute="tomcat3"> > <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> > > If I am reading the documentation right I should have the default > configuration listed in the how-to, that is I should have the > ReplicationValve working. > > Unfortunately session replication does not work. session variables using > the SessionExample application are not carried over to restarted tomcats. > > I am getting the following on one machine: > <nyissz> > Mar 21, 2011 4:39:50 PM org.apache.catalina.ha.session.DeltaManager > getAllClusterSessions > INFO: Manager [localhost#/examples], requesting session state from > org.apache.catalina.tribes.membership.MemberImpl[tcp://{10, 84, 2, > 66}:4000,{10, 84, 2, 66},4000, alive=33001, securePort=-1, UDP Port=-1, > id={-43 -8 -66 47 -12 -83 72 -110 -105 -3 -61 111 -111 95 5 113 }, > payload={}, command={}, domain={}, ]. This operation will timeout if no > session state has been received within 60 seconds. > Mar 21, 2011 4:40:50 PM org.apache.catalina.ha.session.DeltaManager > waitForSendAllSessions > SEVERE: Manager [localhost#/examples]: No session state send at 3/21/11 4:39 > PM received, timing out after 60,103 ms. > <nyassz> > > and somewhat different on the other machine at about the same time: > <nyissz> > Mar 21, 2011 4:39:49 PM org.apache.catalina.ha.session.ClusterSessionListener > messageReceived > WARNING: Context manager doesn't exist:localhost#/examples > Mar 21, 2011 4:40:55 PM org.apache.catalina.ha.session.ClusterSessionListener > messageReceived > WARNING: Context manager doesn't exist:localhost#/examples > Mar 21, 2011 4:40:55 PM org.apache.catalina.ha.session.ClusterSessionListener > messageReceived > WARNING: Context manager doesn't exist:localhost#/examples > Mar 21, 2011 4:41:17 PM org.apache.catalina.ha.session.ClusterSessionListener > messageReceived > WARNING: Context manager doesn't exist:localhost#/examples > <nyassz> > > > With 6.0.18 I had a ReplicationContect in server.xml. I understand that is a > No-No these days, so, for the examples webapp should I create a META-INF > directory with a contect.xml in it ? > > I thought examples should work out of box.... > > Thanks ahead, > > János > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org