tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hole" <andremailingl...@gmail.com>
Subject Re: Why is session unbound called after cluster failover?
Date Mon, 25 Feb 2008 17:02:33 GMT
It happens on both. Valueunbound is executed on old server when tomcat
is stopped, and is executed on new server when I execute logout (or if
I shutdown tomcat). We only want that new server executes
valueunbound.

Could you help?

Thanks a lot
A

On 2/25/08, Christopher Schultz <chris@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andrew,
>
> Andrew Hole wrote:
> | Well, our class USER implements HttpSessionBindingListener,
> | Serializable and when failover happens valueUnbound is executed(public
> | void valueUnbound(HttpSessionBindingEvent event)) -> valueUnbound is a
> | method of class USER.
>
> Is this happening on the "new" server or the "old" server?
>
> Maybe your application is replacing the USER in the session with another
> copy or something like that.
>
> You can always generate a stack trace to find out where the call is
> coming from:
>
> System.err.println("User saw valueUnbound event!");
> new Throwable().printStackTrace();
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkfC6VsACgkQ9CaO5/Lv0PDwjgCghiPQXcAA9AGGSKkeJ5WuzoRQ
> HYkAn1SjgLifqMpxKyZmZ1+GWp74PTTY
> =hNUj
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@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