Page tree

Versions Compared

Key

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

The Dashboard/RestAPI has a general timeout setting, which can be configured when long processes are being run (for example report generation using Report Generator). By default the timeout is set to 15 minutes - i.e. after 15 minutes of inactivity, connections are reset. To edit this timeout, edit following file with a text editor:

Code Block
languagetext
WAR 1.x
CATALINA_HOME\webapps\<dashboard>\WEB-INF\web.xml
 
WAR ≥ 2.x
CATALINA_HOME\webapps\<dashboard>\WEB-INF\classes\application.properties
 
ZIP ≥ 2.x
<unpacked_zip>\application.properties

Find the following options and modify as required:

Code Block
languagexml
WAR 1.x

<session-config>
	<session-timeout>15</session-timeout>
</session-config>

WAR and ZIP ≥ 2.0

## SESSION
# Session timeout
server.servlet.session.timeout=15m

For example to increase the timeout to 20 minutes, change the setting to:


Code Block
languagexml
WAR 1.x

<session-config>
	<session-timeout>20</session-timeout>
</session-config>

WAR and ZIP ≥ 2.0

## SESSION
# Session timeout
server.servlet.session.timeout=20m

Save the file to update the changes and then restart the host application server or the application.