You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bacon Serker <ba...@hotmail.com> on 2005/06/13 17:22:54 UTC
java.lang.IllegalStateException: getCreationTime: Session already invalidated
Hello,
We've recently upgraded several servers from 5.0.28 to 5.5.9. We're now
seeing intermittent occurances of
java.lang.IllegalStateException: getCreationTime: Session already
invalidated
Our code caches sessions in a threadlocal at the beginning of the request.
When code attempts to get the session out of the threadlocal, we call
getCreationTime on the session, as an effort to ensure the session has not
timed out/somehow become invalid. This has worked well for us for years, in
the 5.0.x releases and I think even the 4.1.x releases. On 5.5, it seems to
arbitrarily throw the IllegalStateException mentioned above. However,
hitting the same page again w/ the same session by reloading the browser
will work - so the session has become valid again! I cannot reproduce the
problem by hitting the same sequence of pages again - it truly seems to be a
random occurance.
Any help on this matter would be greatly appeciated.
Bacon Serker
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org