AW: AW: AW: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-18 Thread Andy.Scherzinger
liche Nachricht- Von: Rainer Jung [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 18. Januar 2007 17:01 An: Tomcat Users List Betreff: Re: AW: AW: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response [EMAIL PROTECTED] wrote: > Hi Peter, > > Thanks for your

Re: AW: AW: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-18 Thread Rainer Jung
[EMAIL PROTECTED] wrote: Hi Peter, Thanks for your very detailed answer. I see, ReplicationValve triggers the session replication after completion of request/response. But which data of the session (parts or the complete session) depends on the manager. Looking at the JavaDoc neither DeltaM

AW: AW: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-18 Thread Andy.Scherzinger
:[EMAIL PROTECTED] Gesendet: Donnerstag, 18. Januar 2007 13:49 An: Tomcat Users List Betreff: Re: AW: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response Hi Andy, Please, look to ReplicationValve source code! === Snip ReplicationValve code 346ff getNext

Re: AW: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-18 Thread Peter Rossbach
Peter Rossbach [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 18. Januar 2007 08:45 An: Tomcat Users List Betreff: Re: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response Hmm, It is not true, that multiple session replications are processed of one request! Ses

AW: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-18 Thread Andy.Scherzinger
Re: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response Hmm, It is not true, that multiple session replications are processed of one request! Session are replicated only after response processing is finished, see class o.a.c.cluster.tcp.ReplicationValve. As yo

Re: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-17 Thread Peter Rossbach
Hmm, It is not true, that multiple session replications are processed of one request! Session are replicated only after response processing is finished, see class o.a.c.cluster.tcp.ReplicationValve. As you have multiple request at same session, you can have small inconsistency problems.

AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-17 Thread Andy.Scherzinger
Hi Peter, Thanks for your answer. As far as I know the SimpleTcpReplicationManager has been implemented for Tomcat 4 an replicates the session when it changes. So everytime the session changes it would replicate it. Thus TC would replicate my session several times during the processing of a req