Dynamic Workload Console - adjusting session timeout settings

About this task

The value assigned to the session timeout settings defines after how many minutes a user is automatically logged out from the WebSphere Application Server Liberty. If you plan to perform long running operations, or to have many users connected concurrently to the Dynamic Workload Console, or expect to have low performance on the system where the Dynamic Workload Console is installed, you might want to edit these values: httpSession invalidationTimeout="5h" and ltpa expiration="1440".

Perform these steps to change the values assigned to the timeout settings:
  1. Stop WebSphere Application Server Liberty:
    UNIX
    ./stopAppServer.sh  [-direct]
    Windows
    stopAppServer.bat [-direct]
                     

    For more information about stopping WebSphere Application Server Liberty, see Application server - starting and stopping.

  2. Create a .xml file with this content (i.e. timeout_config.xml):
    <server description="http_timeout_config">    
     <httpSession invalidationTimeout="5h" invalidateOnUnauthorizedSessionRequestException="false"/>
     <ltpa expiration="1440"/> 
     </server>
    
  3. Save the file in the following path:<DATA_DIR>/usr/dwcServer/configDropins/overrides
  4. Start WebSphere Application Server Liberty:
    UNIX
    ./startAppServer.sh  [-direct]
    Windows
    startAppServer.bat [-direct]
                     
    Note: The desired time must be indicated in minutes