On Fri Apr 18 15:29:16 CEST 2008 Christopher Schultz <[EMAIL PROTECTED]> wrote:
Ronald,
Ronald Klop wrote:
> But why does the client still have the same session after one node
> shuts down. The session doesn't live on one node. It lives as long as
> the cluster lives.
That's a good point.
>
On Fri Apr 18 14:16:33 CEST 2008 Christopher Schultz <[EMAIL PROTECTED]> wrote:
Ronald,
Ronald Klop wrote:
> Yes, I know how to work around the problem. But I don't like
> workarounds. All implementations I can think of are very fragile. What
> if somebody stops my Tomcat with kill one day?
Yes, I know how to work around the problem. But I don't like workarounds. All
implementations I can think of are very fragile. What if somebody stops my
Tomcat with kill one day?
My session isn't destroyed, so I don't understand why the event is thrown.
Ronald.
On Thu Apr 17 15:49:49 CEST 200
]
Sent: Thursday, April 17, 2008 9:50 AM
To: Tomcat Users List
Cc: Filip Hanik - Dev Lists
Subject: Re: sessionListener.sessionDestroyed is called on shutdown of a node
in the cluster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
Ronald Klop wrote:
| In sessionDestroyed I register the user as
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
Ronald Klop wrote:
| In sessionDestroyed I register the user as logged out.
|
| How can I know if sessionDestroyed is called from session.invalidate()
| from the real expiration of the session or shutdown of one cluster node?
Are your shutdo
Thanks for replying. I still have not found a solution.
As Filip mentions below. It isn't going to be fixed.
Maybe it is possible to do something with valueBound, valueUnbound events, but
I didn't have time to check it yet.
Ronald.
On Wed Apr 16 12:23:38 CEST 2008 Tomcat Users List
wrote:
Hello,
I have the same problem.
please let me know if you have got any solution to this.
sanjeev
Ronald Klop wrote:
>
> In sessionDestroyed I register the user as logged out.
>
> How can I know if sessionDestroyed is called from session.invalidate()
> from the real expiration of the s
In sessionDestroyed I register the user as logged out.
How can I know if sessionDestroyed is called from session.invalidate() from the
real expiration of the session or shutdown of one cluster node?
Ronald.
On Thu Mar 20 17:40:26 CET 2008 Tomcat Users List
wrote:
It's expected behavior, ses
It's expected behavior, sessions will always expire on the local node
during a graceful shutdown.
expireSessionsOnShutdown="false" simply means that we don't expire
sessions in the remote nodes
Filip
Ronald Klop wrote:
Hello,
When I shutdown a node in my cluster (tomcat 5.5.26) sessionDes