tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
Subject BugRat Report #309 has been filed.
Date Thu, 26 Oct 2000 09:11:01 GMT
Bug report #309 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/309>

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

Mime
View raw message