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=3920>.
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=3920

HttpSessionBindingListener partially working for session expiration

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |
            Summary|HttpSessionBindingListener  |HttpSessionBindingListener
                   |not working for session     |partially working for
                   |expiration                  |session expiration



------- Additional Comments From [EMAIL PROTECTED]  2001-10-02 13:39 -------
Ok,
I traced the bug: the valueUnbound is correctly called but I get an Exception 
when I try to get the session identifier with the instruction:
    String sessionId = e.getSession().getId();
that previously (tomcat 3.2.3) worked.
I think this is a bug, otherwise I'll appreciate a workaround: I really need 
the sessionId for the correct execution.

Thanks very much for the help,
Alex

P.S.: This is the stack trace:
Servlet22Interceptor: Exception during unbound - 
java.lang.IllegalStateException: getAttributeNames: Session already invalidated
        at 
org.apache.tomcat.facade.HttpSessionFacade.checkValid(HttpSessionFacade.java:307)
        at 
org.apache.tomcat.facade.HttpSessionFacade.getId(HttpSessionFacade.java:116)
        at com.explo_it.iene.IeneServlet.valueUnbound(IeneServlet.java:515)
        at 
org.apache.tomcat.facade.Servlet22Interceptor.sessionState(Servlet22Interceptor.java:194)
        at 
org.apache.tomcat.core.ServerSession.setState(ServerSession.java:184)
        at 
org.apache.tomcat.modules.session.SessionExpirer$SessionExpireCallback.expired(SessionExpirer.java:166)
        at org.apache.tomcat.util.threads.Expirer.runIt(Expirer.java:181)
        at org.apache.tomcat.util.threads.Reaper.run(Reaper.java:144)

Reply via email to