tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Violeta Georgieva <miles...@gmail.com>
Subject Re: Fwd: SessionListener.sessionDestroyed is not called when stopping web application
Date Tue, 11 Oct 2011 05:24:53 GMT
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 <chris@christopherschultz.net>

> -----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 listeners
> > or not. As it is invoked with "false" - the listeners are not
> > invoked.
>
> Are you "undeploying" the webapp or just stopping it?
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk6TVQQACgkQ9CaO5/Lv0PAoLQCeO89VVJhMCsErKdFvt36fv4RX
> 7ZEAoINWE9gcYK22Vrm5C1ltpm3Bj5ET
> =PoyT
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message