Configuring Tomcat session timeout
By default the session time-out is set to 30 minutes.
To change the Tomcat session time-out, edit the $TOMCAT_HOME/conf/web.xml file and change the values in the session section:
<!-- You can set the default session timeout (in minutes) for all newly --><!-- created sessions by modifying the value below. --><session-config> <session-timeout>30</session-timeout></session-config>