Resolution: Description:
============
When setting up and invoking the Java Virtual Machine microagent method: getVirtualMachineInfo, it should return the hawkagent process because it id using the same system user. If you did not obtain the JVM process you want, make sure the JVM process is started with the same system user as hawkagent's. Sometimes this method returns, "Method Invocation returned NO Data", and there is no error in the Hawk.log or jvm.log..
Symptoms:
========
Method getVirtualMachineInfo keeps returning "Method Invocation returned NO Data", and there is no error in Hawk.log or jvm.log.
Cause:
=====
There are two possible reasons for of this issue:
1). Hawkagent can obtain the process ID of the JVM via the microagent process.
2). If using the domain hawkagent(TRA hawkagent), there is the following line in hawkagent_<domain>.tra:
java.property.java.io.tmpdir=/opt/tibco/tibco/tra/domain/<domain>/tmp/hawk
Resolution:
==========
1). Make sure you have started the hma and you are able to invoke the method: getProcess of process microagent.
2). If you are using the TRA hawkagent, remove the property "java.property.java.io.tmpdir" in the hawkagent_<domain>.tra file if it exists. Then, restart your hawkagent.