By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,212 Members | 2,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,212 IT Pros & Developers. It's quick & easy.

Axis - Session already invalidated

P: 1
Hello,

I've a problem with Axis which gives me a "Session alreday invalidated" message after a time of inactivity.

I use:
- Tomcat : 4.1.29
- Axis : 1.3
- JVM : 1.4.2-b28

The complete message I recieved:
2007-01-29 15:57:56 StandardManager[/axis] L''écouteur d''évènement de session (session event listener) a généré une exception
java.lang.IllegalStateException: "getAttribute": Session déjà invalidée
at org.apache.catalina.session.StandardSession.getAtt ribute(StandardSession.java:954)
at org.apache.catalina.session.StandardSessionFacade. getAttribute(StandardSessionFacade.java:171)
at org.apache.axis.transport.http.AxisHTTPSessionList ener.destroySession(AxisHTTPSessionListener.java:4 3)
at org.apache.axis.transport.http.AxisHTTPSessionList ener.sessionDestroyed(AxisHTTPSessionListener.java :72)
at org.apache.catalina.session.StandardSession.expire (StandardSession.java:659)
at org.apache.catalina.session.StandardSession.expire (StandardSession.java:608)
at org.apache.catalina.session.StandardManager.proces sExpires(StandardManager.java:793)
at org.apache.catalina.session.StandardManager.run(St andardManager.java:870)
at java.lang.Thread.run(Unknown Source)


I think it's a problem with the time-out of Axis and/or Tomcat or a combinaison of both:
- I've put session-timeout for Tomcat to 60 in the web.xml file of the conf directory.
- I've put session-timeout for Axis to 60 in the web.xml file of the axis/web-inf directory.

Can somebody help me and explain how "work together" those 2 different time-out?
Thanks a lot.
Jan 30 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.