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=38242>. 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=38242 Summary: StandardSession.invalidate() Session Already Invalidated; removeAttributeInternal JNDIManager Product: Tomcat 5 Version: 5.5.12 Platform: Other OS/Version: other Status: NEW Severity: critical Priority: P2 Component: Webapps:Manager AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] On the class org.apache.catalina.session.StandardSession, method invalidate() it calls expire() which flags the session as invalid; setValid(false), then in the same expire method it calls removeAttributeInternal(keys[i], notify), this method makes a method call of: ((HttpSessionBindingListener) value).valueUnbound(event). When the implementing class tries to call: ttpSessionBindingEvent bindingEvent, bindingEvent.getSession().getId(); you get a IllegalStateException, the Session is Already Invalidated. This is caused because the setValid(false) should be set at the end of the expire() method after all objects are unbound. The implementation example I am having the problem with is on UPortal org.jasig.portal.jndi.JNDIManger.java class @Version $Revision: 1.32, on the valueUnbound (HttpSessionBindingEvent bindingEvent) method. -- 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]