From the mailing list:
NetBeans 6.0 on Leopard running under Java 6.0 DP 8 (64-bit Intel only) (or using SoyLatte to compile and run the project earlier. The end result is the
I am trying to profile a web project deployed under glassfish v2. I select the project, right-click and choose "Profile". I picked the Monitor button, enable
threads monitoring and click on run. The build then fails. Looking at the logs, the agentpath is set to:
and the last 2 lines of the log entry shows:
Error occurred during initialization of VM
Could not find agent library in absolute path: /tmp/NBProfiler51408.link/deployed/jdk16/solaris-sparcv9/libprofilerinterface.so
It looks like it's not picking the right platform. I was able to profile a different project setup to run under JDK 5.0 without problems.
Note that profiling of j2SE application works fine. Detection of 64-bit Mac OS X platform is missing in org.netbeans.lib.profiler.common.integration.IntegrationUtils.getLocalPlatform()
Fixed in trunk.
Checking in src/org/netbeans/lib/profiler/common/integration/IntegrationUtils.java;
/cvs/profiler/libs/common/src/org/netbeans/lib/profiler/common/integration/IntegrationUtils.java,v <-- IntegrationUtils.java
new revision: 1.3; previous revision: 1.2
Verified on mailing list:
I just downloaded a nightly build of 6.1. I was able to launch the profiler under JDK6DP8
The fix has been ported into the release601_fixes branch.
Checking in IntegrationUtils.java;
new revision: 184.108.40.206; previous revision: 1.2