How to increase the session timeout on JaserperServer for Spectrum
search cancel

How to increase the session timeout on JaserperServer for Spectrum

book

Article ID: 280395

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

How to increase the session timeout on JaserperServer

Environment

JasperServer with Spectrum

Cause

This is set to logout after 20 minutes by default.

Resolution

Here are the steps to change the session timeout on the jasperServer

In the server where Jaspersoft is installed e.g. 

  1. Edit  /opt/CABI/apache-tomcat/webapps/jasperserver-pro/WEB-INF/web.xml
  2. Search for <session-timeout>
  3. Change the value (in minutes) in the <session-timeout> tag 
    Example:
    From 
    <session-timeout>20</session-timeout>
    to
    <session-timeout>30</session-timeout>

Changing timeout from 20 (default) to 30 minutes.

  1. Save changes
  2. Restart Jasperserver services

Additional Information

  <session-config>
    <!--Default to 20 minute session timeouts-->
    <session-timeout>20</session-timeout>
  </session-config>