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. 30 Third, restart tomcat ts restart-webserver Fourth, update the policies on the instance. Update sessionLifetimeMinutes and sessionLifetimeMaximum .