Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

session invalidate issue

843841Jan 8 2006 — edited Jan 16 2006
Hi,
I am running tomcat 5.5.12 on linux.

I am getting the following error when I try to login to my application. it gives error in the
s.invalidate() method.

java.lang.IllegalStateException: getId: Session already invalidated
org.apache.catalina.session.StandardSession.getId(StandardSession.java:328)
.......
........

the code segment which gives the error is as follows


final HttpSession s = request.getSession(false);
if (s != null) {

s.invalidate();
}


tomcat 5.5.12 is of servet specification 2.4

I just installed tomcat only did not do any configuration at all. just deployed my app.

Waiting for a reply.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 13 2006
Added on Jan 8 2006
12 comments
488 views