tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pieter Temmerman <>
Subject Re: sessions lost after redeploy
Date Fri, 06 Feb 2009 09:06:16 GMT
The sessions are saved inside

In case you deploy a new version of your application or make
modifications, I suppose Tomcat sees this as a new application and
removes your current APP work-dir, and thus it's sessions.ser file

Correct me if I'm wrong.


On Thu, 2009-02-05 at 20:05 -0800, J Robert Ray wrote:
> Hello, I have an app running in tomcat 6.0.18, using the default
> session manager.
> If I stop and start tomcat, or if I use the "reload" button in the
> manager, my sessions are preserved.
> But if I copy a new .war into webapps, or touch the existing .war, so
> that my app redeploys, my sessions are deleted.
> Is this expected behavior? It would speed up my development cycle if I
> could deploy a new build of the app without having to re-login to the
> app in the browser.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message