Question & Answer
Question
How to clean up idle sessions automatically?
Answer
Session cleaning occurs automatically for each user when the user login.
Session cleaning can also be configured to launch periodically by data server. The CleanDataPeriod
property defined in data server resources adapter properties allows to control period (expressed in seconds, to disable set value to -1) for session data cleaning, including closing the sessions that reach session timeout value and releasing the corresponding locks.
Property CleanDataPeriod
can be configured through Websphere Application Server console as below:
Session timeout value is configured using ilog.edi.datasvc.session_timeout
property defined in .odmds files. The .odmds file can be opened as a text file in Development IDE. The unit of the value is millisecond. Default value is 24 hours and it can be disabled by setting to -1. One possible way to set the value is as below:
<properties>
<property name="ilog.edi.datasvc.session_timeout" value="60000"/>
</properties>
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21985898