Pages

Tuesday, January 24, 2012

Random timeouts after configuring LDAP


Problem(Abstract)

Users randomly logged out while working in the application.

Symptom

Users are logged out while working in the application before the time out value in set in the web,xml

Cause

This can be caused by the LPTA time out values in Websphere if users are Directory Authentication

Diagnosing the problem

Have users time when they are logged in compared to the random log out time. This may be synchronized with the amount of time the LPTA time out is set for. You can also check your system out logs, there may be token session time out messages displayed.

Resolving the problem

1) Choose Global Security then Click on LPTA
2) Look for the LTPA timeout value

The time here is set to 120 minutes by default. This can time the user out of Maximo well working after 120 minutes of activity whether it is idle or not and regardless of what is in the web.xml

3) Increase this value to a limit that suits your users
4) Stop the jvm, synchronize your nodes and restart the jvm

*Note if you increase this value to a higher number your inactivity timeout set for session-config in the web.xml will still work, users will be timed out after inactivity, just not randomly.