Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-04-18 Thread Ronald Klop
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

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-04-18 Thread Ronald Klop
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? Then

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-04-18 Thread Ronald Klop
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. I

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-04-17 Thread Ronald Klop
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

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-04-17 Thread Christopher Schultz
-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

RE: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-04-17 Thread Petruzella, Jim
Please remove me from this list... Thanks!! Jim Petruzella Windows System Administrator Distributed Systems Perdue Farms Inc. Corporate Office Salisbury Md. 21802 www.perdue.com [EMAIL PROTECTED] (410) 341-2176 -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED]

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-04-16 Thread sanjeevtarar
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

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-03-21 Thread Ronald Klop
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 users@tomcat.apache.org wrote:

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-03-20 Thread Filip Hanik - Dev Lists
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)