Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 44876 invoked from network); 9 Feb 2009 12:21:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2009 12:21:31 -0000 Received: (qmail 58086 invoked by uid 500); 9 Feb 2009 12:21:19 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 58060 invoked by uid 500); 9 Feb 2009 12:21:19 -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 58049 invoked by uid 99); 9 Feb 2009 12:21:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 04:21:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [12.11.148.84] (HELO irp2.ptc.com) (12.11.148.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 12:21:09 +0000 X-IronPort-AV: E=Sophos;i="4.37,405,1231131600"; d="scan'208";a="32286864" Received: from unknown (HELO HQ-EX3FE2.ptcnet.ptc.com) ([132.253.201.63]) by irp2.ptc.com with ESMTP; 09 Feb 2009 07:20:48 -0500 Received: from [132.253.44.125] ([132.253.44.125]) by HQ-EX3FE2.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 9 Feb 2009 07:20:49 -0500 Message-ID: <49901F7C.6060504@ptc.com> Date: Mon, 09 Feb 2009 06:20:12 -0600 From: Jess Holle User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: HttpSessionActivationListener problems References: <11cbaa2a0902090411k2643ea74n6356490493175067@mail.gmail.com> In-Reply-To: <11cbaa2a0902090411k2643ea74n6356490493175067@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Feb 2009 12:20:49.0590 (UTC) FILETIME=[D7C8AD60:01C98AB0] X-Virus-Checked: Checked by ClamAV on apache.org Last I checked the Tomcat source code neither activation nor passivation listeners were ever called. I believe I provided a patch for this but a glance at the source code will make the issue rather obvious (it's not hard to find or understand). [I'd provide a patch for this but we have a number of patches to this particular area of source that overlap. Others are of a bit more controversial nature and I have not kept them separate.] -- Jess Holle Rui Pedro wrote: > Hi! > > I'm implementing one tomcat cluster solution (tomcat 5.5-20). One of the > things that I need to know is when the session jumps from one node to the > other. > I read that I can use the HttpSessionActivationListener listener to detect > that type of occurence. To do so, I put one object in the users session that > implements the HttpSessionActivationListener interface, the problem is that > when I kill one of the clusters node the methods sessionDidActivate an > sessionWillPassivate never occurr ... > > > Is HttpSessionActivationListener supported by tomcat? > Can you help me? > > > > Thanks in advance, > Rui Pereira > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org