[jboss-dev-forums] [JBoss Profiler Development] - JVMTI_ERROR_NOT_AVAILABLE

Michael Erskine do-not-reply at jboss.com
Tue Jun 7 10:33:34 EDT 2011


Michael Erskine [http://community.jboss.org/people/erskinem] created the discussion

"JVMTI_ERROR_NOT_AVAILABLE"

To view the discussion, visit: http://community.jboss.org/message/609003#609003

--------------------------------------------------------------
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.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/609003#609003]

Start a new discussion in JBoss Profiler Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2138]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110607/60bc0f2f/attachment.html 


More information about the jboss-dev-forums mailing list