Newly installed CA Workload Automation System Agent 11.3 on HP-UX fails to start. The nohup.stderr log in the Agent installation path contains the following error(s):
Error occurred during initialization of VM
java.lang.StackOverflowError
---OR---
"abort() has been invoked in the JVM".
Release: WKLASE99000-11.3-Workload Automation-Agent SE
Component:
CA Workload Automation Agent 11.3 SPx on HP-UX 11i PA-RISC / Itanium
CA WA System Agent is a Java application. The potential cause of the StackOverflowError is due to inadequate Java Native Interface (JNI) or Java Virtual Machine (JVM) stack size. An inadequate stack size may cause the System CA WA Agent to terminate with a segmentation violation for no apparent reason.
Change the default thread stack size for the Java virtual machine by setting the following parameter in the agentparm.txt file under the CA WA System Agent installation path.
oscomponent.jni.stacksize=786432
This sets the CA WA Agent's JVM/JNI stack size to 768 Kbytes (786432 bytes).
On HP Blade Server systems, set the following:
oscomponent.jni.stacksize=1048576
This sets the CA WA Agent's JVM/JNI stack size to 1MB (1024 Kbytes).
Note: The stack size used by JNI is related to the stack size of the Operating System, one can view the current stack size by calling ulimit -Hs (hard limit) and ulimit -Ss (soft limit) commands. Ensure there is adequate stack size set at the Operating System level.