How to increase the application’s session-timeout value?

The session timeout is configured in the application’s web.xml file.

In order to change the session timeout, you’ll need to extract the $ARTIFACTORY_HOME/webapps/artifactory.war, edit its content and repack it.

Here are the instructions for standalone installation:


1. Stop Artifactory

2. Extract the $ARTIFACTORY_HOME/webapps/artifactory.war file

3. Edit the WEB-INF/web.xml and change the following session-timeout tag value:

<session-config><session-timeout>120</session-timeout></session-config>

4. Repack the artifactory.war file into $ARTIFACTORY_HOME/webapps/artifactory.war again.

5. Clean the tomcat/work dir

6. Start Artifactory.