Hi,
I have a problem using the Weblogic Action Pack. Whenever I try to invoke an Action from the Weblogic Action Pack, I get the error message, that JAVA_HOME is not set:
2014-12-10 14:22:32,847 [job-294912-jobServer-294912-6:WLS - Get Server(s) State (WLST)(P14348000.F14352000.E14353000):WLS - Get Server(s) State (WLST)] DEBUG (com.nolio.platform.shared.executables.actions.appserver.weblogic.util.exec.WlsCommandLineExecutor:336) - Executing command: [/opt/weblogic/wlserver/common/bin/wlst.sh /opt/catechnologies/ra5/ReleaseAutomationServer/NolioAgent/./files_temp/wls_scripts/wls_499138.py]
2014-12-10 14:22:32,869 [job-294912-jobServer-294912-6:WLS - Get Server(s) State (WLST)(P14348000.F14352000.E14353000):WLS - Get Server(s) State (WLST)] ERROR (com.nolio.platform.shared.executables.actions.appserver.weblogic.abstracts.WlsScriptActionBase:239) - JAVA_HOME is not set or does not exist
(Exit value: 1)
org.apache.commons.exec.ExecuteException: JAVA_HOME is not set or does not exist
Whenever I execute the same shell script (/opt/weblogic/wlserver/common/bin/wlst.sh) there is no problem to execute any WLST-Script. The agent is running as root and I also executed wlst.sh as root. I am running 5.0.2 with the latest Weblogic Action Pack and Weblogic 12.1.3.
I have currently no idea how commons exec is spinning of processes. So any help appreciated!
Regards,
Cyrill