3 Replies Latest reply on Jun 8, 2011 6:40 AM by erskinem

    JVMTI_ERROR_NOT_AVAILABLE

    erskinem

      Hi All,

       

      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:

       

      JVMTI_ERROR_MUST_POSSESS_CAPABILITY.

       

      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

       

      Best regards,

      Mike.