Re: Fwd: SessionListener.sessionDestroyed is not called when stopping web application

2011-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/11/2011 1:49 AM, Caldarale, Charles R wrote: >> From: Violeta Georgieva [mailto:miles...@gmail.com] Subject: Re: >> Fwd: SessionListener.sessionDestroyed is not called when stopping >> web application > >>

Re: Fwd: SessionListener.sessionDestroyed is not called when stopping web application

2011-10-10 Thread Violeta Georgieva
royed is not called when > stopping web application > > > I can confirm that in all three scenarios sessionDestroyed method > > is not invoked and session.expire(false) is invoked. > > This may be because the sessions are not actually destroyed. Tomcat > normally persists s

RE: Fwd: SessionListener.sessionDestroyed is not called when stopping web application

2011-10-10 Thread Caldarale, Charles R
> From: Violeta Georgieva [mailto:miles...@gmail.com] > Subject: Re: Fwd: SessionListener.sessionDestroyed is not called when > stopping web application > I can confirm that in all three scenarios sessionDestroyed method > is not invoked and session.expire(false) is invoke

Re: Fwd: SessionListener.sessionDestroyed is not called when stopping web application

2011-10-10 Thread Violeta Georgieva
There is no cluster, just one instance of Tomcat The scenarios are reproducible on Tomcat 6.0.32 and Tomcat 6.0.33 2011/10/11 Pid > On 11/10/2011 06:24, Violeta Georgieva wrote: > > Hi Chris, > > > > I tried: > > - stopping application > > - undeploying application > > - stopping Tomcat > > > >

Re: Fwd: SessionListener.sessionDestroyed is not called when stopping web application

2011-10-10 Thread Pid
On 11/10/2011 06:24, Violeta Georgieva wrote: > Hi Chris, > > I tried: > - stopping application > - undeploying application > - stopping Tomcat > > I can confirm that in all three scenarios sessionDestroyed method is not > invoked and session.expire(false) is invoked. Is your application deploye

Re: Fwd: SessionListener.sessionDestroyed is not called when stopping web application

2011-10-10 Thread Violeta Georgieva
Hi Chris, I tried: - stopping application - undeploying application - stopping Tomcat I can confirm that in all three scenarios sessionDestroyed method is not invoked and session.expire(false) is invoked. Thanks Violeta 2011/10/10 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Has

Re: Fwd: SessionListener.sessionDestroyed is not called when stopping web application

2011-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Violeta, On 10/10/2011 3:59 PM, Violeta Georgieva wrote: > But when StandardManager.doUnload() is invoked, in its > implementation * session.expire(false)* is called where the "false" > is actually the flag that indicates whether to notify the listene

Fwd: SessionListener.sessionDestroyed is not called when stopping web application

2011-10-10 Thread Violeta Georgieva
Hi, I have a web application that uses HttpSessionListener's methods for session creation and destruction notifications. When I request my web application I receive sessionCreated, when I invalidate the session from the code I receive sessionDestroyed. Unfortunately when I stop the web applicatio