tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pieter Temmerman <ptemmerman....@sadiel.es>
Subject Re: sessions lost after redeploy
Date Fri, 06 Feb 2009 09:06:16 GMT
The sessions are saved inside
$CATALINA_HOME/work/catalina/localhost/APPNAME/sessions.ser

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.

Pieter

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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message