This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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
Have you checked out Aspose?
subject: Session Timeout in iAS 6.0
It's not a secret anymore!