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 Base. 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"
.
- Stop WebSphere Application Server Liberty Base:
- UNIX™
-
./stopAppServer.sh [-direct]
- Windows™
-
stopAppServer.bat [-direct]
For more information about stopping WebSphere Application Server Liberty Base, see Application server - starting and stopping.
- 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>
- Save the file in the following
path:
<DATA_DIR>/usr/dwcServer/configDropins/overrides
- Start WebSphere Application Server Liberty Base:
- UNIX™
-
./startAppServer.sh [-direct]
- Windows™
-
startAppServer.bat [-direct]
Note: The desired time must be indicated in minutesFor more information, please refer to the WebSphere Application Server Liberty Base documentation at the following links https://www.ibm.com/support/knowledgecenter/en/SSEQTP_liberty/com.ibm.websphere.liberty.autogen.base.doc/ae/rwlp_config_httpSession.html. and https://www.ibm.com/support/knowledgecenter/en/SSEQTP_liberty/com.ibm.websphere.liberty.autogen.base.doc/ae/rwlp_config_ltpa.html