Salesforce

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)", which appears in the Catalina.<date>.log file
Steps to Reproduce
Clarifying Information
Error Message
Defect NumberPSC00346102, PSC00349574, ADAS-20854
Enhancement Number
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
In 11.7
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.

In 12.x

For APSV transport:
Modify the webapp's openedge.properties file, found under: <PASOE instance directory>/<webapp name>/conf/
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 [AppServer.SessMgr.<webapp name>] change:

idleSessionTimeout = 0
A value of -1 is not supported

For SOAP, REST, WEB, & file-system transports:
The HTTP Session timeout is configured in web.xml
And web.xml under webapps will take precedence over the one under conf/web.xml
Notes
Keyword Phrase
Last Modified Date3/10/2022 3:22 PM

Powered by