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. >

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?

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 200

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

2008-04-17 Thread Petruzella, Jim
] 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

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 shutdo

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

2008-04-17 Thread Ronald Klop
> > >> > No virus found in this incoming message. >> > Checked by AVG. >> > Version: 7.5.519 / Virus Database: 269.21.7/1334 - Release Date: >> 3/18/2008 8:52 PM >> > >> >> >> -------------------

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

2008-04-16 Thread sanjeevtarar
gt; > No virus found in this incoming message. >> > Checked by AVG. >> > Version: 7.5.519 / Virus Database: 269.21.7/1334 - Release Date: >> 3/18/2008 8:52 PM >> > >> >> >> --------------------- >

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 wrote: It's expected behavior, ses

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) sessionDes

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

2008-03-20 Thread Ronald Klop
Hello, When I shutdown a node in my cluster (tomcat 5.5.26) sessionDestroyed is called on all SessionListeners on that node. But I'm running a cluster, so one node stopping doesn't mean the session is destroyed. My understanding is that expireSessionsOnShutdown="false" by default and I don't