Hi everybody,
I have a Tomcat 5.5 cluster with 2 nodes on SLES8 and want to replicate the
complete session before the response is send. According to the Tomcat
Clustering documentation the example with the DeltaManager does this since the
ReplicationValve triggers the replication after the requ
Hi Filip,
Thanks for your answer. I also thought about this solution of just setting all
objects again at the end of the doGet method.
But if possible I would like to use a tomcat replication mechanism since I do
not want to "manage" session since I have a tomcat-built-in session manager :)
And
Hi Filip,
I understand that I will just change the session in a way the delta manager
will replicate everything.
But is there no other Manager I can use which just replicates the complete
session and not just the changed data (like the DeltaManager does)?!
I couldn't find a Manager which repli
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
Hi Peter,
The ReplicationValve will intercept the request when the request is completed
and before the response is returned to the user.
Copied from the JavaDoc for the SimpleTcpReplicationManager:
Title: Tomcat Session Replication for Tomcat 4.0
Description: A very simple straight forward impl
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 DeltaManager nor
StandardManager
Hi Rainer,
Thanks for your help.
To me it sounds like Filip's solution using a servlet filter or another valve
and set all session attributes again in combination with the deltaManager is
the best solution at the moment looking at the cost-value ratio.
Regards,
---Andy
-Ursprüngliche Nac