Re: session replication question in 7.0.10

2011-03-22 Thread János Löbb
Hi Mark, This SessionExample http://bml0065.yalepath.org/tc/examples/servlets/servlet/SessionExample Sorry for the mistype I have a sticky keyboard and I try to live with it. Sorry for the comment.. Ultimately it was my fault because I left out the distributable tag from one the web.xml.

session replication question in 7.0.10

2011-03-21 Thread János Löbb
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}, -

Re: session replication question in 7.0.10

2011-03-21 Thread Mark Thomas
On 21/03/2011 21:34, 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

Re: session replication question in 7.0.10

2011-03-21 Thread János Löbb
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

Session replication question

2010-12-23 Thread Jorge Santiago Cruz Lambert
Hi! I'm not an expert on Tomcat and we purchase a load balancer service with two tomcat 6.0.29 instances in separate Ubuntu servers with JVM version 1.6.0_22-b04. This instances have been configured to replicate the session as follow: Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster

Re: Session replication question

2010-12-23 Thread Filip Hanik - Dev Lists
make sure your clocks are synced across all machines, since session expiration is time based Filip On 12/23/2010 8:22 AM, Jorge Santiago Cruz Lambert wrote: Hi! I'm not an expert on Tomcat and we purchase a load balancer service with two tomcat 6.0.29 instances in separate Ubuntu servers

Re: Session replication question

2010-12-23 Thread Jorge Santiago Cruz Lambert
Thanks for replying, I'm cheking the time in our machines and they are the same, but in different time zones: Machine 1: Thu Dec 23 17:18:40 CET 2010 Machine 2: Thu Dec 23 16:18:40 UTC 2010 Do I need to change the timezone in Machine 2? I think the time is the same and ntp is running as process.

Re: Session replication question

2010-12-23 Thread Jorge Santiago Cruz Lambert
Thanks for replying, I'm cheking the time in our machines and they are the same, but in different time zones: Machine 1: Thu Dec 23 17:18:40 CET 2010 Machine 2: Thu Dec 23 16:18:40 UTC 2010 Do I need to change the timezone in Machine 2? I think the time is the same and ntp is running as

Another session replication question

2008-10-20 Thread Jess Holle
I somehow missed Filip Hanik's helpful response to my previous session replication question. I have one other: With DeltaManager and/or BackupManager, are multiple calls to setAttribute() and/or removeAttribute for the same attribute during the same request coalesced/collapsed

Re: Another session replication question

2008-10-20 Thread Filip Hanik - Dev Lists
hi Jess, you're example is correct, replication doesn't happen until the request is complete and is done by the ReplicationValve. Filip Jess Holle wrote: I somehow missed Filip Hanik's helpful response to my previous session replication question. I have one other: With DeltaManager

Re: Another session replication question

2008-10-20 Thread Jess Holle
Filip Hanik's helpful response to my previous session replication question. I have one other: With DeltaManager and/or BackupManager, are multiple calls to setAttribute() and/or removeAttribute for the same attribute during the same request coalesced/collapsed? It is my understanding

Re: Another session replication question

2008-10-20 Thread Filip Hanik - Dev Lists
, replication doesn't happen until the request is complete and is done by the ReplicationValve. Filip Jess Holle wrote: I somehow missed Filip Hanik's helpful response to my previous session replication question. I have one other: With DeltaManager and/or BackupManager, are multiple calls

Re: Session Replication question

2008-10-15 Thread Filip Hanik - Dev Lists
useDirtyFlag is supposed to be the SimpleTcpManager, DeltaManager always only replicates deltas. so does the backup manager. The two managers that work best are DeltaManager and BackupManager, both of them replicate upon setAttribute/removeAttribute actions. DeltaManager replicates to all other

Session Replication question

2008-10-14 Thread Jess Holle
I read the cluster how-to regarding. I'm still not clear on a couple of details if is just using DeltaManager and SimpleTcpCluster: 1. If useDirtyFlag is false, I assume that the session is entire replicated after each and every access. Is this correct? 2. If useDirtyFlag is true,