IBM Support

Clean up idle sessions automatically

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>

[{"Product":{"code":"SS6MYV","label":"IBM ILOG ODM Enterprise"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"3.8.0.2;3.8.0.1;3.8;3.7.0.2;3.7.0.1;3.7","Edition":"All Editions;Edition Independent","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21985898