You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by James Chuang <jc...@myhotlunch.com> on 2002/09/25 03:01:05 UTC

Session already invalidated HELP!

Hello:

I'm currently running Tomcat 3.24 on Linux, and I have run into a vexing problem that occurs randomly, and I need some help.

At least once a week, I get the following exception:

java.lang.IllegalStateException:
setAttribute: Session already invalidated
java.lang.IllegalStateException: setAttribute: Session already invalidated
        at org.apache.tomcat.session.StandardSession.setAttribute(StandardSession.java(Compiled Code))
        at org.apache.tomcat.session.StandardSession.putValue(StandardSession.java(Compiled Code)

At this point, I have to restart tomcat to get rid of this.  During this time, no one can use the system.

What is troubling to me, is that this goes across multiple VMs!  I have 2 sessions of Tomcat running on the same machine, each serving a different virtual host.  Both connected to Apache.  Well, I figured if one of the Tomcat hoses, the other one should still be OK.  Well, it turns out that both Tomcat gets hosed when this occurs.

Does anyone have any idea?  I am willing to work on updating to a new version of Tomcat, but I really need to know that it will help... 

Thanks in advance!

jchuang