aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Session Timeout in iAS 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Session Timeout in iAS 6.0" Watch "Session Timeout in iAS 6.0" New topic
Author

Session Timeout in iAS 6.0

Tony Moses
Greenhorn

Joined: Aug 21, 2002
Posts: 22
I am getting erratically timed out of an applicaiton I developed on iAS 6.0. I have set the Session Timeout in the GUI Deployment Tool under both the General tab and the iAS tab of the Web App Descriptor. In addition, I have a controller servlet which executes session.setMaxInactiveInterval(int). My 2 part question is why am I getting timed out? and should I be setting the session timeout in the app server GUI and executing code to set the timeout, and if so which one takes precidence?
David Ogren
Author
Ranch Hand

Joined: Jul 19, 2002
Posts: 66
IIRC, session.setMaxInactiveInterval is not supported by iAS and calls to it will be ignored.
On the other hand, I can't tell you why you are getting timed out early. There are some issues (largely when the reaper thread is overloaded) where timeouts don't happen promptly, but I can't say I've heard of any issues where it is happening too soon.


David F. Ogren
Author of iAS : Designing and Building J2EE Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Timeout in iAS 6.0
 
Similar Threads
Session Timeout between different web applications
Session timeout of Java application
HttpSessionListener: What were they thinking?
Spring : how to redirect to login page on session timeout
java.net.ConnectException: Connection timed out: connect