[jboss-dev-forums] [Design of JBoss Profiler] - Re: Need Help on Mac OS X
damianharvey
do-not-reply at jboss.com
Tue Oct 16 12:33:07 EDT 2007
Hi,
I'm trying to get the JVMPI profiler running on a Mac with Java 1.5.0, however when I try to test the installation of the native library I get the following error:
| damian-harveys-computer:~ damianharvey$ java -XrunjbossInspector:/tmp Foo
| Error occurred during initialization of VM
| Could not find agent library: libjbossInspector.jnilib (searched /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries:/System/Library/Java/Extensions:/Library/Java/Extensions:.)
| Trace/BPT trap
|
But as you can see it is present (and I even chmod'd it to 777 and 755 to be sure):
| damian-harveys-computer:~ damianharvey$ ls -la /System/Library/Java/Extensions/libjboss*
| -rwxrwxrwx 1 root wheel 294328 Oct 16 17:06 /System/Library/Java/Extensions/libjbossInspector.jnilib
|
I'm running Mac OS X 10.4.9 on an Intel Macbook (if that helps).
I've seen some relevant posts that indicate that it might be caused by using the wrong library (eg. the 32 bit in place of the 64bit - http://www.jroller.com/nbprofiler/category/Tips%20&%20Tricks) but there is only the one library for mac.
Very keen to get this running for an app that is nearing production go live. I am specifically looking to identify any methods in my app that are taking too long to execute. Is JVMPI the right tool or am I better off with JVMTI?
Thanks,
Damian.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095721#4095721
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095721
More information about the jboss-dev-forums
mailing list