Yogesh Manware <ynmanw...@gmail.com> wrote:

>Howard,
>Thanks for the reply.
>I am sorry, I guess I could not point out the exact issue in my earlier
>mail. There are many reasons because of which this exception may occur.
>But
>the only thing I am more curious to know is, when I invoke
>httpsession.invalidate(), sometimes it gets executed in concurrent
>thread
>and later the obvious IllegalStateException occurs. This behavior is
>intermittent. I started seeing this behavior(and error) only when I
>switched to 6.0.32 or later version.
>So, my major concern is why httpsession.invalidate() is executed in
>concurrent thread sometimes?

The only way I am aware that this could happen is if the session is being 
expired by the background thread at the same time as a request is accessing the 
session. Using the system property 
org.apache.catalina.session.StandardSession.ACTIVITY_CHECK should fix this. See 
the 6.0.x docs for details.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to