I'm attempting to use JBoss Profiler 1.0.CR4 to get a JVM heap dump (using Java 1.5.0_22 and JBoss 5.1.0).
I've installed the Agent as per the jvmtiProfilerDoc.pdf but I get the following error when starting JBoss:
JVMTI Error JVMTI_ERROR_NOT_AVAILABLE
I've looked up this error on the Sun (Oracle) website and the description is "The functionality is not available in this virtual machine".
When attempting to dump the heap (via the JBoss Profiler JVMTI bean accessed via the JMX console) the following error is thrown:
which I guess is a result of the earlier error.
Surely the 1.5.0_22 JVM has the functionality for JVMTI? If so, does anyone know why I'd get this error?
Thanks for any help
Thanks for the reply.
That would certainly make sense of the error, but the documentation (jvmtiProfilerDoc.pdf which is part of the JBoss Profiler 1.0.CR4 download says Java 5 (in the "Installing the Agent" section).
Other documentation e.g. http://download.oracle.com/javase/1.5.0/docs/guide/jvmti/index.html says that JVMTI was introduced in Java 5.
However, if you say it's got to be 1.6+ for this functionality then I accept that, though as I have to use Java 5 for other reasons it means I'm a little bit stuck.