You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Nuno Martins <nu...@multicert.com> on 2005/11/25 17:21:31 UTC
Axis tomcat Session already invalidated
Hi all,
My client can send requests to web-service. After some time of
inactivity, this exception is thrown.
2005-11-25 16:00:48 StandardManager[/axis] Session event listener threw
exception
java.lang.IllegalStateException: getAttribute: Session already invalidated
at
org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:925)
at
org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:124)
at
org.apache.axis.transport.http.AxisHTTPSessionListener.destroySession(AxisHTTPSessionListener.java:43)
at
org.apache.axis.transport.http.AxisHTTPSessionListener.sessionDestroyed(AxisHTTPSessionListener.java:72)
at
org.apache.catalina.session.StandardSession.expire(StandardSession.java:623)
at
org.apache.catalina.session.StandardSession.expire(StandardSession.java:572)
at
org.apache.catalina.session.StandardManager.processExpires(StandardManager.java:746)
at
org.apache.catalina.session.StandardManager.run(StandardManager.java:823)
at java.lang.Thread.run(Thread.java:534)
--
Can anyone explains to me what this error means and how can I solve it?
Thanks
Re: Axis tomcat Session already invalidated
Posted by Nuno Martins <nu...@multicert.com>.
Hi,
The problem is that my web-service only receives a request and return a
String; My client, sends a request and write server response. How can
server says that session is invalidated if there isn't any access to
web-service in that moment?
Thanks
nastytweety wrote:
> Sessions can be invalidated automatically after a max time of inactivity.
> Check sessions api to set that max time manually.
>
> NaStY
>
> On Fri, 25 Nov 2005, Nuno Martins wrote:
>
>> Hi all,
>>
>> My client can send requests to web-service. After some time of
>> inactivity, this exception is thrown.
>>
>> 2005-11-25 16:00:48 StandardManager[/axis] Session event listener
>> threw exception
>> java.lang.IllegalStateException: getAttribute: Session already
>> invalidated
>> at
>> org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:925)
>>
>> at
>> org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:124)
>>
>> at
>> org.apache.axis.transport.http.AxisHTTPSessionListener.destroySession(AxisHTTPSessionListener.java:43)
>>
>> at
>> org.apache.axis.transport.http.AxisHTTPSessionListener.sessionDestroyed(AxisHTTPSessionListener.java:72)
>>
>> at
>> org.apache.catalina.session.StandardSession.expire(StandardSession.java:623)
>>
>> at
>> org.apache.catalina.session.StandardSession.expire(StandardSession.java:572)
>>
>> at
>> org.apache.catalina.session.StandardManager.processExpires(StandardManager.java:746)
>>
>> at
>> org.apache.catalina.session.StandardManager.run(StandardManager.java:823)
>>
>> at java.lang.Thread.run(Thread.java:534)
>> --
>>
>> Can anyone explains to me what this error means and how can I solve it?
>>
>> Thanks
>>
>>
>>
>>
>>
>
>
--
Re: Axis tomcat Session already invalidated
Posted by nastytweety <di...@csd.uoc.gr>.
Sessions can be invalidated automatically after a max time of inactivity.
Check sessions api to set that max time manually.
NaStY
On Fri, 25 Nov 2005, Nuno Martins wrote:
> Hi all,
>
> My client can send requests to web-service. After some time of inactivity,
> this exception is thrown.
>
> 2005-11-25 16:00:48 StandardManager[/axis] Session event listener threw
> exception
> java.lang.IllegalStateException: getAttribute: Session already invalidated
> at
> org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:925)
> at
> org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:124)
> at
> org.apache.axis.transport.http.AxisHTTPSessionListener.destroySession(AxisHTTPSessionListener.java:43)
> at
> org.apache.axis.transport.http.AxisHTTPSessionListener.sessionDestroyed(AxisHTTPSessionListener.java:72)
> at
> org.apache.catalina.session.StandardSession.expire(StandardSession.java:623)
> at
> org.apache.catalina.session.StandardSession.expire(StandardSession.java:572)
> at
> org.apache.catalina.session.StandardManager.processExpires(StandardManager.java:746)
> at
> org.apache.catalina.session.StandardManager.run(StandardManager.java:823)
> at java.lang.Thread.run(Thread.java:534)
> --
>
> Can anyone explains to me what this error means and how can I solve it?
>
> Thanks
>
>
>
>
>