Spotfire® Server and Environment - Installation and Administration

Setting idle session timeout by using the command line

The primary function of the idle session timeout is to release the resources that are associated with a user session when the computer is inactive for the configured amount of time. The default is 30 minutes.

Procedure

  1. Open a command-line interface and export the active configuration (the configuration.xml file) by using the export-config command. (For details on using the Spotfire command line, see Executing commands on the command line.)
  2. On the command line, enter the following command:
    config set-config-prop -n security.idle-session-timeout -v XX
    where XX is the number of minutes after which an idle user session will be closed.
    Note: A negative value for XX indicates that the idle session timeout value that is configured for the container (in the web.xml file) will be used. A value of 0 indicates that a user session will never be closed based solely on its inactivity.
  3. Import the configuration file back to the Spotfire database by using the import-config command.
  4. Restart the Spotfire Server.