Feedback
Did this article resolve your question/issue?

   

Article

Changing 'psc.as.session.timeout' option has no effect in PASOE

« Go Back

Information

 
TitleChanging 'psc.as.session.timeout' option has no effect in PASOE
URL NameChanging-idle-session-timeout-option-has-no-effect-in-PASOE
Article Number000184235
EnvironmentProduct: OpenEdge
Version: 11.6.x, 11.7.x, 12.x
OS: All supported Platforms
Other: Progress Application Server for OpenEdge (PASOE)
Question/Problem Description
Changing the option 'psc.as.session.timeout' in the Advanced Property configuration of the PASOE instance has no effect on the idle session timeout property.
The default value remains 30 minutes (1800 seconds).

Also, the message "WARNING: Manager.setMaxInactiveInterval() is deprecated and calls to this method are ignored. Session timeouts should be configured in web.xml or via Context.setSessionTimeout(int timeoutInMinutes)" appears in the Catalina.<date>.log file
Steps to Reproduce
Clarifying Information
Error Message
Defect/Enhancement NumberDefects PSC00346102, PSC00349574, ADAS-20854
Cause
Apache has deprecated the Tomcat API ( setMaxInactiveInterval() ) that allowed setting of this property to change the session timeout.
Resolution
Defect ADAS-20854 was logged to have the deprecated psc.as.session.timeout property removed from catalina.properties starting with OpenEdge 12.2

To adjust the session timeout, use the workaround below.
Workaround
Modify the webapp's web.xml file, found under: <PASOE instance directory>\webapps\<webapp name>\WEB-INF\web.xml

Where:
<PASOE instance directory> is the root directory for the PAS instance, set when the PAS instance was defined
<webapp name> is the name of the webapp to be configured.

In the web.xml file, add the following parameter, with the required timeout in minutes. 
-1 means that the session will never expire.

<session-config>
    <session-timeout>-1</session-timeout>
</session-config>

Right below the Spring security.definition, right after '</context-param>'
Around line 72.
Notes
Last Modified Date3/20/2020 5:49 PM
Attachment 
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.