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.
Before the restart it worked normally. The jar command executed by Linux OS with that account works normally.
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
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
#Misconfigured entry set.PATH=.%WRAPPER_FILE_SEPARATOR%bin%WRAPPER_PATH_SEPARATOR%/opt/pki/tls/pki-java-se-8u40-ri/bin%PATH%
Release : 6.7
Component : CA RELEASE AUTOMATION CORE
Recommendation (Either one of below)