I had a short into a source code
(
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaManager.java?revision=817103&view=markup
)
and it seems that DeltaManager does not support what i want:

I want my sessions replicated across tomcats (2 nodes) but in case that
i stop both of it and then start again the tomcat should read the session
from a file/any
storage.
Yes,i understand that such a scenario leaves a question of how to replicate
tomcat across tomcats _ after _ a tomcat was restarted (i.e. should a
session
just read from a file be replicated to other nodes?) open.
However even if some session got _ not _ to be replicated after a restart -
this is
far less a problem then a case of _ all _ session not to be restored after
a restart.

Does anybody knows a solution for that?
Thanks
Evgeny


On Sun, Oct 25, 2009 at 1:23 PM, Tsirkin Evgeny <tsir...@gmail.com> wrote:

> Hi all!
> Does the cluster DeltaManager supports storing the session in a file on
> restarts?
> It seems to me that when closing both servers in my cluster and then
> starting them again
> the sessions are not restored .What is a solution for that .
> (P.S. tomcat 6.0 & apache 2)
> Thanks
> EVgeny
>
>

Reply via email to