I get the following error sometimes when I have let the tomcat running for a 
while, but have had little or no activity in the sessions. When I call 
session.getAttribute("attributeName"), I get the error:

java.lang.IllegalStateException: getAttribute: Session already invalidated
        at 
org.apache.tomcat.session.StandardSession.getAttribute(StandardSession.java:503)
        at login.SessionController.addSessionManager(SessionController.java:80)
        at login.SystemManager.login(SystemManager.java:173)


My question is: why does this happen? Is there a setting in web.xml or 
server.xml or elsewhere that I can change so that sessions do not time out / 
are not invalidated?

Operating system: Windows 2000
Java version: Java 1.2 with Java Servlet 2.2 and JSP 1.1
Web server: Apache 1_3_22
Servlet engine: Tomcat 3.2.3


Thanks,

Egil Rian




---------------------------------------------------------------------
Egil Rian
San Francisco, CA 94131


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to