The agent is running under a functional account, after restart of an agent it fail to execute jar/java etc. command set in its PATH variable via Run Command Line action.
ERROR
Before the restart it worked normally. The jar command executed by Linux OS with that account works normally.
Release : 6.7
Component : CA RELEASE AUTOMATION CORE
The JVM variables are used in the spawned process which is responsible for running the specified command. To understand why path to the JDK is lost, please follow below steps
Troubleshooting Steps
1: Run the action "Run Command Line" to execute below command and check the output to see if PATH is correct
2: Check the conf\wrapper.conf file of the agent for any misconfiguration
Cause
#Misconfigured entry
set.PATH=.%WRAPPER_FILE_SEPARATOR%bin%WRAPPER_PATH_SEPARATOR%/opt/pki/tls/pki-java-se-8u40-ri/bin%PATH%
Recommendation (Either one of below)
set.PATH=.%WRAPPER_FILE_SEPARATOR%bin%WRAPPER_PATH_SEPARATOR%%PATH%
set.PATH=.%WRAPPER_FILE_SEPARATOR%bin%WRAPPER_PATH_SEPARATOR%/opt/pki/tls/pki-java-se-8u40-ri/bin%WRAPPER_PATH_SEPARATOR%%PATH%
Related KB's