Link to home
Start Free TrialLog in
Avatar of modsiw
modsiw

asked on

Tomcat - Redeploy war without losing sessions.

How can I redeploy a war with out losing sessions?

My session are generalizable. Before using a war, I could turn the server off, update my app, and turn it back on with out losing them.
ASKER CERTIFIED SOLUTION
Avatar of Dushyant Sharma
Dushyant Sharma
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of modsiw
modsiw

ASKER

example?
Avatar of Sathish David  Kumar N
what server your using ??
Avatar of modsiw

ASKER

Tomcat 5.5
It should be default behaviour. All of the objects attached to the sessions must be serializable.
Avatar of modsiw

ASKER

So, using default behavior:

stop server
replace war file
leave exploded directory as is
start server


The sessions should be there? They are serializable.
yes, they should be there.
Avatar of modsiw

ASKER

:/

they aren't

Where does TC actually save the sessions?