axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nuno Martins <nuno.mart...@multicert.com>
Subject Re: Axis tomcat Session already invalidated
Date Fri, 25 Nov 2005 16:33:25 GMT
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
>>
>>
>>
>>
>>
>
>


-- 




Mime
View raw message