Session already invalidated error

hello i am running tomcat and axis on my server, and i am always getting this error in my log files anytime my webapplication and webservice starts...

I dont know what the exception means..does the [/axis] means the error occurs in axis folder of my webapplication?

why is it Session gets invalidated..when there is no session variables created in webservices in my axis folder?

here is the full stacktrace:

2007-01-29 10:46:07 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)

=======

i'll be soo much grateful if anyone will help me in trying to solve this problem.. thanks in advance..

[1545 byte] By [rinoa_fftsya] at [2007-11-26 16:29:53]
# 1

Hey,

I found the below answer in the web. See if that helps.

*****

Did you set your "scope" to "session" like that <parameter name="scope"

value="session"/> ?

If so, when your client call your web-service it is creating a new

session you keep alive this session until you close your client and

after a while doing nothing your session is invalidated.

Maybe you can define this parameter as an "application", it means your

web-service will be instanciate only once (singleton) or you can delete

this line and live this parameter by default and create a new instance

for each call.

I hope I have been helpful

*****

java2proa at 2007-7-8 22:54:18 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
yes..thank you soo much for the reply for my inquiry...but where should i set that variable/ parameter.. in web.xml or server.xml?btw, i'm using tomcat and axis. thanks again for your help.
rinoa_fftsya at 2007-7-8 22:54:18 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 3
Hey,You need to set that in the WSDD and deploy your service again.Thanks
java2proa at 2007-7-8 22:54:18 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...