RE: sessions lost after redeploy

2009-02-09 Thread Martin Gainty
n, 9 Feb 2009 19:39:50 -0500 > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: sessions lost after redeploy > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Robert, > > J Robert Ray wrote: > > I don't see anything relevant in the logs. My

Re: sessions lost after redeploy

2009-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, J Robert Ray wrote: > I don't see anything relevant in the logs. My session consists of a > single value, a Byte[], so I shouldn't have a problem with > unserializable data. Besides, it reloads properly across a tomcat > restart. Yeah, that s

Re: sessions lost after redeploy

2009-02-06 Thread J Robert Ray
On Fri, Feb 6, 2009 at 10:41 AM, Christopher Schultz wrote: >> But if I copy a new .war into webapps, or touch the existing .war, so >> that my app redeploys, my sessions are deleted. > > Are you sure that simply 'touch'ing the existing WAR causes your > sessions to die? I can't account for that,

Re: sessions lost after redeploy

2009-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, 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. Good. That suggests your s

Re: sessions lost after redeploy

2009-02-06 Thread Pieter Temmerman
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 i

sessions lost after redeploy

2009-02-05 Thread J Robert Ray
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 del