Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 56501 invoked from network); 17 Apr 2008 10:15:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2008 10:15:04 -0000 Received: (qmail 41263 invoked by uid 500); 17 Apr 2008 10:14:51 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 41236 invoked by uid 500); 17 Apr 2008 10:14:51 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 41221 invoked by uid 99); 17 Apr 2008 10:14:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 03:14:51 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.109.157.34] (HELO servers.realworks.nl) (194.109.157.34) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 10:13:58 +0000 Received: from rwlinux40.colo.realworks.nl (rwlinux40.colo.realworks.nl [10.0.10.90]) by rwlinux32.colo.realworks.nl (Postfix) with ESMTP id 0337610038; Thu, 17 Apr 2008 12:14:11 +0200 (CEST) Received: from rwlinux40.colo.realworks.nl (localhost [127.0.0.1]) by rwlinux40.colo.realworks.nl (Postfix) with ESMTP id B7C3A43617; Thu, 17 Apr 2008 12:14:11 +0200 (CEST) Date: Thu, 17 Apr 2008 12:14:11 +0200 (CEST) From: Ronald Klop To: Tomcat Users List Cc: sanjeevtarar Message-ID: <27101991.45691208427251751.JavaMail.tomcat@localhost> In-Reply-To: <16720610.post@talk.nabble.com> References: <7166923.8951206019235729.JavaMail.tomcat@localhost> <47E2937A.2020600@hanik.com> <9967892.15631206093739647.JavaMail.tomcat@localhost> <16720610.post@talk.nabble.com> Subject: Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_24922_3026709.1208427251746" X-Mailer: BaseNet/WebMail (2.3.0-PREVIEW-349-75026) X-Originating-Host: from theo-en-jan.xs4all.nl ([82.92.161.253]) by rwlinux40.colo.realworks.nl ([10.0.10.90]) with HTTP (Apache Tomcat/5.5.26); Thu, 17 Apr 2008 12:14:11 +0200 X-Priority: 3 (Normal) Importance: Normal X-Originating-User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.13) Gecko/20080401 Firefox/2.0.0.13 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_24922_3026709.1208427251746 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 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, 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) 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 change it in my config. > >> > > >> > Is this a bug, a feature or am I doing something wrong? > >> > > >> > Ronald. > >> > > >> ------------------------------------------------------------------------ > >> > > >> > 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 > >> > > >> > >> > >> --------------------------------------------------------------------- > >> 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 > >> > > > > > > -- > View this message in context: http://www.nabble.com/sessionListener.sessionDestroyed-is-called-on-shutdown-of-a-node-in-the-cluster-tp16178701p16720610.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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 > ------=_Part_24922_3026709.1208427251746--