Configure Timeout
After upgrading to a newer version of Operations Hub, configure these timeout settings.
Operations Hub Session Timeout
Access the web.xml
file from these locations, and update the code as
follows:
C:\Program Files\GE\Operations Hub\iqp-tomcat\conf
C:\Program Files\GE\Operations Hub\iqp-tomcat\webapps\app\WEB-INF
C:\Program Files\GE\Operations Hub\iqp-tomcat\webapps\site\WEB-INF
<session-config>
<session-timeout>30</session-timeout>
</session-config>
The default value for SESSION_DESTROY_TIMEOUT
is 1 hour. Whenever you
set the session timeout greater than 1 hour in web.xml
, add an
environment variable SESSION_DESTROY_TIMEOUT
with value
session_timeout_in_millisec + 10 minutes in millisec
. For example,
if you set 2 hours as session timeout, then set it as 130 * 60 * 1000 =
7800000
.
UAA Token Timeout
Access the web.xml
file from C:\ProgramFiles\GE\Operations
Hub\uaa-tomcat\conf
, and update the code as follows:
-
<session-config> <session-timeout>30</session-timeout> </session-config>
![](timeout.png)
session-timeout
andcookie max-age
must be in sync.session-timeout
is measured in minutes, whereascookie-config
is measured in seconds.- Any manual configuration changes, including changes for timeouts, are overwritten on upgrade.