geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sreepriya ramakrishnan <sreepriya_ramakrish...@yahoo.com>
Subject HttpSession, Geronimo 1.0 with Tomcat 5.5.9 and geronimo 1.1.1 with Tomcat 5.5.15
Date Mon, 05 Feb 2007 16:53:09 GMT
Hi all,

Please find below the summary of the problem:

HttpSession objects are loaded into a HashMap in the
following manner.

sessionMap.add(httpSession.getId(),httpSession);
and when the User logs out from the system we do this:
httpSession.invalidate();
sessionMap.remove(httpSession.getId());

This used to work in Geronimo 1.0 and Tomcat 5.5.9.

But somehow the same thing does not work in Geronimo
1.1.1 and Tomcat 5.5.15. 
 It says:
java.lang.IllegalStateException: getId: Session
already invalidated

and it works if I change the code to:

sessionMap.remove(httpSession.getId());
httpSession.invalidate();

I was wondering if there is any change in Tomcat that
is causing this issue.

Thanks,
Priya












 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

Mime
View raw message