I'm using BTrace to monitor my web app, but jboss report can't find class 'com.sun.btrace.BTraceRuntim', why? I need pre-configure btrace as a module of jboss?
I start btrace by cmd: btrace 6188 mytrace.java. (6188 is the pid of jboss)
thanks for someone can give me some ideas to resolve this problem.
I'm trying to configure btrace-boot.jar as a module of jboss, but I encounter another class not found error: java.lang.NoClassDefFoundError: sun/misc/Unsafe.
But sum.misc.Unsafe is in the rt.jar——a standard java runtime jar, JBOSS 7 don't refer the jre class?
pls give some advice. thank you.
bty, jboss version is 7.1.1-final, btrace is 1.2.2