Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 79137 invoked from network); 5 Feb 2007 18:33:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2007 18:33:41 -0000 Received: (qmail 3348 invoked by uid 500); 5 Feb 2007 18:33:43 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 3324 invoked by uid 500); 5 Feb 2007 18:33:42 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 3292 invoked by uid 99); 5 Feb 2007 18:33:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 10:33:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of paulmcmahan@gmail.com designates 66.249.92.172 as permitted sender) Received: from [66.249.92.172] (HELO ug-out-1314.google.com) (66.249.92.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 10:33:32 -0800 Received: by ug-out-1314.google.com with SMTP id m2so1806190ugc for ; Mon, 05 Feb 2007 10:33:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VqHKmTseWopuGfQ+VdSn6oDYzLzPsNOq1kNyebK/oiyDTb8LVrsfN3WhTtVVMHK+x/agLudhKmvqqy/Bh6pf20O2VwFp4H44c8P050aK9JObPRFLudew+/xoUILVL7mR0xW6mUs3VgfP7OlFIbvItWOpyI3saVpxvBuHCOKavCs= Received: by 10.82.139.17 with SMTP id m17mr2402603bud.1170700385181; Mon, 05 Feb 2007 10:33:05 -0800 (PST) Received: by 10.82.190.10 with HTTP; Mon, 5 Feb 2007 10:33:05 -0800 (PST) Message-ID: <21df75940702051033n3e5cba3bw3d2c4d56e08e82cc@mail.gmail.com> Date: Mon, 5 Feb 2007 13:33:05 -0500 From: "Paul McMahan" To: user@geronimo.apache.org Subject: Re: HttpSession, Geronimo 1.0 with Tomcat 5.5.9 and geronimo 1.1.1 with Tomcat 5.5.15 In-Reply-To: <479470.72076.qm@web56914.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <21df75940702051009i1498544dv645b41134ca500e9@mail.gmail.com> <479470.72076.qm@web56914.mail.re3.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org see http://svn.apache.org/viewvc?view=rev&revision=303826 Best wishes, Paul On 2/5/07, sreepriya ramakrishnan wrote: > Hi Paul, > > Thank you. I was wondering where the revision > information rev 303826 is avilable? Could you please > mail me the link. > > Thanks, > Priya > --- Paul McMahan wrote: > > > getId does not check to see if the session is valid > > Tomcat 5.5.9. In > > Tomcat 5.5.15 the check is made (see rev 303826). > > > > Best wishes, > > Paul > > > > > > On 2/5/07, sreepriya ramakrishnan > > wrote: > > > Hi all, > > > > > > Please find below the summary of the problem: > > > > > > HttpSession objects are loaded into a HashMap in > > the > > > following manner. > > > > > > sessionMap.add(httpSession.getId(),httpSession); > > > and when the User logs out from the system we do > > this: > > > httpSession.invalidate(); > > > sessionMap.remove(httpSession.getId()); > > > > > > This used to work in Geronimo 1.0 and Tomcat > > 5.5.9. > > > > > > But somehow the same thing does not work in > > Geronimo > > > 1.1.1 and Tomcat 5.5.15. > > > It says: > > > java.lang.IllegalStateException: getId: Session > > > already invalidated > > > > > > and it works if I change the code to: > > > > > > sessionMap.remove(httpSession.getId()); > > > httpSession.invalidate(); > > > > > > I was wondering if there is any change in Tomcat > > that > > > is causing this issue. > > > > > > Thanks, > > > Priya > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ____________________________________________________________________________________ > > > Do you Yahoo!? > > > Everyone is raving about the all-new Yahoo! Mail > > beta. > > > http://new.mail.yahoo.com > > > > > > > > > > ____________________________________________________________________________________ > Get your own web address. > Have a HUGE year through Yahoo! Small Business. > http://smallbusiness.yahoo.com/domains/?p=BESTDEAL >