This article applies to:
Question:
- How can I change the timeout value of the Browser UI, or set it to never time out?
Procedure:
The timeout is configurable.
Note: In a collector/console configuration, only make changes on the console.
To set the timeout
Change timeouts for both tomcat and josso.
- The tomcat timeout can be changed in:
/opt/tomcat/webapps/aup-reports/WEB-INF/web.xml
For version 9.1.0-3 use:
/opt/tomcat/webapps/josso/WEB-INF/classes/josso-gateway-config.xml.ldap
/opt/tomcat/webapps/josso/WEB-INF/classes/josso-gateway-config.xml.jdbc
The line default is:
<session-timeout>28</session-timeout>
You can change it to any value you like. The time is in minutes. - The josso timeout can be changed in:
/opt/tomcat/webapps/josso/WEB-INF/classes/josso-gateway-config.xml
The line default is: <maxInactiveInterval>30</maxInactiveInterval>
Important Note: the josso timeout must be greater than the tomcat timeout. - Restart tomcat.
To turn off the timeout
- Edit the tomcat configuration file(s) and change the 'session-timeout' to 0. The container ensures the default behavior of sessions is never to time out when it is set to 0.
- Edit the josso configuration file and change the 'maxInactiveInterval' to -1.
- Restart tomcat.