Showing posts with label login timeout. Show all posts
Showing posts with label login timeout. Show all posts

Thursday, September 06, 2012

EM12c: How to reset the OEM Session timeout (Login timeout)?


As per EM 12c, there are following OMS properties that can influence session time out:
1. oracle.sysman.eml.maxInactiveTime
This property is used for the UI to time out a logged in user session. Default value is 45 min.
emctl utility can be used to reset this parameter.
e.g.
$ ./emctl get property -name oracle.sysman.eml.maxInactiveTime
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0 
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
SYSMAN password:
Value for property oracle.sysman.eml.maxInactiveTime for oms host.abc.com:4890_Management_Service is 45

$ ./emctl set property -name oracle.sysman.eml.maxInactiveTime -value 60
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0 
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
SYSMAN password:
Property oracle.sysman.eml.maxInactiveTime for oms host.abc.com:4890_Management_Service has been set to value 60
OMS restart is required to reflect the new property value

After resetting the oracle.sysman.eml.maxInactiveTime, do stop and start oms.
$ ./emctl stop oms

$ ./emctl start oms

2. oracle.adf.view.rich.poll.timeout
The ADF framework uses this property for UI pages that use 'polling'. Default value is 10 min.

Resetting of this property also requires OMS restart.