Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 34356 invoked from network); 26 Oct 2000 10:14:20 -0000 Received: from msp-26-164-160.mn.rr.com (HELO localhost.localdomain) (24.26.164.160) by locus.apache.org with SMTP; 26 Oct 2000 10:14:20 -0000 Received: from fatman (localhost [127.0.0.1]) by localhost.localdomain (8.9.3/8.9.3) with SMTP id EAA01436 for ; Thu, 26 Oct 2000 04:11:01 -0500 Message-ID: <134779495.972551461502.JavaMail.nobody@fatman> Date: Thu, 26 Oct 2000 04:11:01 -0500 (CDT) From: BugRat Mail System Reply-To: BugRat Mail System To: tomcat-bugs@cortexity.com Subject: BugRat Report #309 has been filed. Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="134725579.972551461400.JavaMail.nobody@fatman" X-Mailer: org.gjt.mail.EnhancedMimeMsg, Organization: The Giant Java Tree, X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N --134725579.972551461400.JavaMail.nobody@fatman Content-Type: text/plain Content-Transfer-Encoding: 7bit Bug report #309 has just been filed. You can view the report at the following URL: REPORT #309 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: serious Confidence: public Environment: Release: tomcat-3.2 beta6 JVM Release: jdk1.2.2,jdk1.3.0 Operating System: Solaris 7 x86 OS Release: 5.7 Platform: Dual Pentium II 400 Synopsis: Session already invalidated exception after close and recreate a session Description: In a servlet, the following code, that tries to close an active session and then to recreate it, cause javax.servlet.ServletException: java.lang.IllegalStateException: setAttribute: Session already invalidated // begin code request.getSession(false).invalidate(); session = request.getSession(true); // end code --134725579.972551461400.JavaMail.nobody@fatman Content-Type: text/html; name=Report-309.html Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=Report-309.html Content-Description: DataSource attachment 'Report-309.html' BugRat Report # 309

BugRat Report # 309

Project: Tomcat Release: tomcat-3.2 beta6
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: high Severity: serious
Confidence: public

Submitter: Paolo Sommaruga ( psomma@garda-access.com )
Date Submitted: Oct 26 2000, 04:11:01 CDT
Responsible: Z_Tomcat Alias ( tomcat-bugs@cortexity.com )

Synopsis:
Session already invalidated exception after close and recreate a session
Environment: (jvm, os, osrel, platform)
jdk1.2.2,jdk1.3.0, Solaris 7 x86, 5.7, Dual Pentium II 400

Additional Environment Description:

Report Description:
In a servlet, the following code, that tries to close an active session and then to recreate it, cause javax.servlet.ServletException: java.lang.IllegalStateException: setAttribute: Session already invalidated // begin code request.getSession(false).invalidate(); session = request.getSession(true); // end code

View this report online...
--134725579.972551461400.JavaMail.nobody@fatman--