Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Back up the web.xml file contained at the path /etc/tomcat8/web.xml
  2. Stop Tomcat: sudo service tomcat8 stop
  3. Edit the web.xml file.
  4. Change the following session-time value from 30 to 180:
    1. Change this:
      <session-timeout>30</session-timeout>
    2. To
      <session-timeout>180</session-timeout> <!-- 3 hours -->
  5. Restart tomcatsudo service tomcat8 start


Info
Remember the timeout period also applies to the REST API sessions. You may end up with dozens of REST API sessions that remain open after making a connection because of the delayed timeout period. You can use Tomcat Manager to disconnect these sessions if they become an issue. 

...