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
- 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.
- 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\
- Locate the following setting:
session.maxInactiveIntervalInSeconds=1800
- 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.
- Restart Tomcat. For instructions, see Starting and Stopping Tomcat.