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.


9 comments:

Unknown said...

Thanks for this article, but I wonder how to set oracle.adf.view.rich.poll.timeout - it's not an emctl configurable option, correct? Do you have to edit an xml file to set it, and if so, which one?

Neelima Bawa said...

Hi Monte,
This property is there. I can see this:
./emctl get property -name oracle.adf.view.rich.poll.timeout
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
SYSMAN password:
Value for property oracle.adf.view.rich.poll.timeout for oms All Management Servers is null

Unknown said...

Hi neelima,

we are on the latest release of 12c(12.1.0.3). so when i execute the command

emctl get property -name oracle.adf.view.rich.poll.timeout
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
SYSMAN password:
Definition does not exist for property "oracle.adf.view.rich.poll.timeout". Can not get property value

Anonymous said...

Same for me...

Neelima Bawa said...

Looks like with new release, this property can no longer be accessed via emctl. this property exists in ADF faces specific libraries.

Anonymous said...

I am also running 12c (12.1.0.3) on RHel 6.4, and it works fine for me to reset this property.

$ ./emctl set property -name oracle.sysman.eml.maxInactiveTime -value 960
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
SYSMAN password:
Property oracle.sysman.eml.maxInactiveTime has been set to value 960 for all Management Servers
OMS restart is required to reflect the new property value

Neelima Bawa said...

My comment was for adf specific property i.e. oracle.adf.view.rich.poll.timeout
That is not available now.

Unknown said...

to change oracle.adf.view.rich.poll.TIMEOUT
go check our DOC_ID 1644004.1

Unknown said...

If you want to change oracle.adf.view.rich.poll.TIMEOUT

go check out doc_id 1644004.1