Could not initialize class sun.tools.attach.LinuxVirtualmachine error appear while executing method getVirtualMachineInfo of Hawk Java Virtual Machine microagent
book
Article ID: KB0071464
calendar_today
Updated On:
Description
It is caused by tibcojr64/1.8.0 does not contain the required library libattach.so. which is used by the Java Virtual Machine microagent.
This is already documented in the Hawk documentation.
--------------------
On UNIX Platform(s): Ensure that libattach.so is present in jre\lib folder. It is present in JDK distribution under jdk/jre. The JRE could be the one supplied by TIBCO installer (v1.8 if chosen during the installation), or any of the JRE v1.8.x you may have previously installed. This library is not part of pure JRE v1.8.x distribution bundle from ORACLE, although it was part of JRE v1.6.x distribution bundle from ORACLE/Sun. This library however is required for HAWK JVM plugin operation. It is present as part of jdk\jre distribution. You may also get it from ORACLE download site.
--------------------
Issue/Introduction
getVirtualMachineInfo Microagent
Resolution
Please copy the required libattach.so file from the JDK whose version is the same as corresponding TIBCO JRE's version.
Restart hawkagent resolves the issue.
Feedback
thumb_up
Yes
thumb_down
No