DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39073>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39073 Summary: getAttribute: Session already invalidated Product: Tomcat 5 Version: 5.0.28 Platform: Other OS/Version: Windows XP Status: NEW Severity: major Priority: P2 Component: Webapps:Manager AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Overview Description: When a new session is created, jsp:useBean of scope="session" throws java.lang.IllegalStateException Steps to Reproduce: The sample.jsp can be used to reproduce the error. <!-- sample.jsp --> <%@ page session ="true" language="java" %> <% // step 1 : old session is closed session.invalidate(); // step 2 : A new session is created session = request.getSession(true); // Step 3: create a jsp bean of scope =" session" // exception occurs here %> <jsp:useBean id="test" scope="session" class="java.util.Date"/> <!-- sample.jsp --> Actual Results: java.lang.IllegalStateException: getAttribute: Session already invalidated org.apache.catalina.session.StandardSession.getAttribute (StandardSession.java:993) Expected Results: The java bean with session scope has to be created. Platform: This bug can be reproduced in Build 5.0.28 on windows XP Additional Builds and Platforms: Build 5.0.28 on windows HP-UX Build 5.5.9 on Windows XP -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]