Configuring the Variable in the Jamf session.properties File

Technical Articles

Solution
Application
Content Type
Technical Documentation
Utilities & Services
ft:locale
en-US

Configuring the variable in the session.properties file allows multi-context Jamf Pro servers with two or more tenant URLs to each have their own maximum inactive interval variables, but requires you to re-configure the changes each time Jamf Pro is upgraded.

Requirements

Administrator access to the server hosting Jamf Pro

  1. Stop Tomcat. For instructions, see Starting and Stopping Tomcat.
    Note:If you modify the session.properties file while Tomcat is running, make sure to restart Tomcat to make the changes take effect.
  2. On the Jamf Pro host server, open the session.properties file using a plain text editor:
    • If you are using Linux, the session.properties file is located at the following filepath:
      /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/classes/
    • If you are using Windows, the session.properties file is located at the following filepath:
      C:\Program Files\JSS\Tomcat\webapps\ROOT\WEB-INF\classes\
  3. Locate the following setting:
    session.maxInactiveIntervalInSeconds=1800
  4. Modify the maximum inactive interval.
    Note:The maximum inactive interval is in seconds. The default is 1800 seconds which is equal to 30 minutes. A negative value (e.g., -1) may be used if you do not want sessions to expire.
  5. Restart Tomcat. For instructions, see Starting and Stopping Tomcat.