Change login session duration
To increase the number of minutes a session lasts do the following.
Warning!
This change affects all instances on a server!
First, update the tomcat configuraion
sudo nano /usr/share/tomcat/conf/web.xml
Second, find the following config and adjust acordingly
The attribute is defined in minutes.
<session-config>
<session-timeout>30</session-timeout>
</session-config>
Third, restart tomcat
ts restart-webserver
Fourth, update the policies on the instance.
Update sessionLifetimeMinutes and sessionLifetimeMaximum.