Axis - Session already invalidated

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dadasurf80
    New Member
    • Jan 2007
    • 1

    Axis - Session already invalidated

    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.Illeg alStateExceptio n: "getAttribu te": Session déjà invalidée
    at org.apache.cata lina.session.St andardSession.g etAttribute(Sta ndardSession.ja va:954)
    at org.apache.cata lina.session.St andardSessionFa cade.getAttribu te(StandardSess ionFacade.java: 171)
    at org.apache.axis .transport.http .AxisHTTPSessio nListener.destr oySession(AxisH TTPSessionListe ner.java:43)
    at org.apache.axis .transport.http .AxisHTTPSessio nListener.sessi onDestroyed(Axi sHTTPSessionLis tener.java:72)
    at org.apache.cata lina.session.St andardSession.e xpire(StandardS ession.java:659 )
    at org.apache.cata lina.session.St andardSession.e xpire(StandardS ession.java:608 )
    at org.apache.cata lina.session.St andardManager.p rocessExpires(S tandardManager. java:793)
    at org.apache.cata lina.session.St andardManager.r un(StandardMana ger.java:870)
    at java.lang.Threa d.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.
Working...