Hi!

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.

Could you help.
Thanks

On 2/25/08, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andrew,
>
> Andrew Hole wrote:
> | Why is session unbound called after cluster failover?
>
> What value is being unbound?
>
> | Two more questions: -- In a scenario with two nodes, if I shutdown
> | one, the other is instantly ready to receive and respond to requests,
> | or it is necessary to wait a while?
>
> It depends on how you set up your cluster. If you have distributed
> sessions, then any other node can pick up right where the other left
> off. If not, the user might have to log-in again in order for you to get
> the session set up properly.
>
> | In a production scenario we cannot wait, because requests are
> | frequently. -- Is there any recommended configuration (basically If
> | one tomcat crashes I want that the other responds immediately to the
> | requests)?
>
> If you want complete, immediate failover, you need to use distributed
> sessions, have all nodes participate in the cluster, and have a way to
> route traffic to the TC instances (using a lb appliance, httpd + mod_jk,
> or some other mechanism).
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkfC0hoACgkQ9CaO5/Lv0PBKgwCgmkYSZdZkYkH6hDVYbEjIUB1T
> ANoAoIhmSgIOZrZeWzVmsNKoJgFCESwt
> =QcE1
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to