DO NOT REPLY [Bug 4613] - Thread which extracts Session object obtained from HttpSessionBindingEvent & queries the session object hangs

2001-11-03 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=4613

Thread which extracts Session object obtained from HttpSessionBindingEvent & queries 
the session object hangs





--- Additional Comments From [EMAIL PROTECTED]  2001-11-03 21:15 ---
Most likely what is happening is that it is throwing an InvalidStateException 
due to the fact that the session has expired, and calls to getAttribute are no 
longer allowed.  This is exactly what the 2.3 servlet spec specifies (it was 
unspecified in the 2.2 spec), so Remy (and Tomcat) are right.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 4613] - Thread which extracts Session object obtained from HttpSessionBindingEvent & queries the session object hangs

2001-11-03 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=4613

Thread which extracts Session object obtained from HttpSessionBindingEvent & queries 
the session object hangs

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2001-11-03 11:50 ---
It is far more likely that an uncaught exception occurs on that line. Try 
replacing it with: 
try {
 User user = (User) session.getAttribute(PTLConstants.USER_KEY);
} catch (Throwable t) {
 t.printStackTrace();
}
to see what's happening. The most likely is a ClassCastException when casting 
to the 'User' type.

If I'm wrong and no exception is thrown on that line, please reopen the bug.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 4613] - Thread which extracts Session object obtained from HttpSessionBindingEvent & queries the session object hangs

2001-11-03 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=4613

Thread which extracts Session object obtained from HttpSessionBindingEvent & queries 
the session object hangs





--- Additional Comments From [EMAIL PROTECTED]  2001-11-03 01:32 ---
*** Bug 4612 has been marked as a duplicate of this bug. ***

--
To unsubscribe, e-mail:   
For additional commands, e-mail: