NoClassDefFoundError: bea/jmapi/MethodProfileData when profiling app using JRockit Mission Control

161 Views Asked by At

We're trying to profile an application running on JBoss 7.1.1, running with the JRockit VM, using Mission Control. The management server is started using jrcmd, and we can attach using the MC console and view VM stats, etc., but if we try to use the method profiler, the app starts throwing exceptions like this:

NoClassDefFoundError: bea/jmapi/MethodProfileData

Does anybody have any ideas what would cause this? I'm guessing it's too do with the modules system in JBoss, but would appreciate any insights that you might have.

1

There are 1 best solutions below

0
On BEST ANSWER

OK, found the answer. I just had to add this to standalone.conf:

JBOSS_MODULES_SYSTEM_PKGS="bea.jmapi"