tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19410] New: - Can't get any attribute out of the session in the sessionDestroyed method
Date Tue, 29 Apr 2003 03:36:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19410>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19410

Can't get any attribute out of the session in the sessionDestroyed method

           Summary: Can't get any attribute out of the session in the
                    sessionDestroyed method
           Product: Tomcat 4
           Version: 4.1.24
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: univerz@21cn.com


In my emplementation of HttpSessionListener,in the sessionDestroyed method,when 
I call session.getAttribute("something"),Exception occur,this did not happened 
when I try with jetty.

java.lang.IllegalStateException: getAttribute: Session already invalidated
	at org.apache.catalina.session.StandardSession.getAttribute
(StandardSession.java:954)
	at org.apache.catalina.session.StandardSessionFacade.getAttribute
(StandardSessionFacade.java:171)
	at org.ofbiz.core.stats.VisitHandler.getVisit(VisitHandler.java:113)
	at org.ofbiz.core.control.ControlEventListener.sessionDestroyed
(ControlEventListener.java:66)
	at org.apache.catalina.session.StandardSession.expire
(StandardSession.java:659)
	at org.apache.catalina.session.StandardSession.expire
(StandardSession.java:608)
	at org.apache.catalina.session.StandardManager.processExpires
(StandardManager.java:793)
	at org.apache.catalina.session.StandardManager.run
(StandardManager.java:870)
	at java.lang.Thread.run(Thread.java:534)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message