File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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

Session Timeout in iAS 6.0

Tony Moses

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
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:
subject: Session Timeout in iAS 6.0
jQuery in Action, 3rd edition