Show TOC

Configuring Server Session TimeoutLocate this document in the navigation structure

To free up memory for the server, you can decrease the duration of server sessions.

Context

The server session timeout is set in <SMP_HOME>\Server\config_master\org.eclipse.gemini.web.tomcat\web.xml.
Note In a clustered server environment, you must update the file on each server node.
The property description below is based on Apache Tomcat 7 documentation at http://tomcat.apache.org/tomcat-7.0-doc/config/Information published on non-SAP site.
Caution Changing any Tomcat properties that are not described in the SAP Mobile Platform Server documentation might have unintended effects on your server.

Procedure

  1. Open <SMP_HOME>\Server\config_master\org.eclipse.gemini.web.tomcat\web.xml.
  2. For the session-timeout property, set the amount of time, in minutes, after creation, that an HTTP session times out.
    The default value is 20 minutes.
  3. Save your changes.
  4. Restart the server for the changes to take effect.