How to change the NCM 9.4 console timeout period?
Please perform the following steps on the Application Server.
- Log into the CLI
- source /etc/voyence.conf
- Go to $VOYENCE_HOME/ncmcore/conf/ directory and edit web.xml
- vi $VOYENCE_HOME/ncmcore/conf/web.xml
- Search for "Default Session Configuration"
- On the line of <session-timeout>60</session-timeout> Change the "60" to your desired time out. This is in minutes
- Save and exit the file.
- make sure the ownership is root:voyence.
- We also need to edit the system-config.xml
- vi $VOYENCE_HOME/ncmcore/webapps/ncm-webapp/WEB-INF/classes/system-config.xml
- Search for "com.powerup.configmgr.server.security.login.authentication_cache_timeout"
- On the line of <defaultValue>3600</defaultValue> Change the "3600" to your desired time out. This is in seconds.
- NOTE: The timeout set in web.xml (in minutes) must be equal to the timeout set in system-config.xml (in seconds).
- Save and exit the file.
- make sure the ownership is root:voyence
- Restart the NCM server for changes to an effect.
- Completely close out of all NCM console connections and open a new connection and download a new Java client to see the reflected changes.