This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE Dev (Build 200711060000) Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 System: Mac OS X version 10.4.10 running on i386; MacCyrillic; ru_RU (nb) Steps to reproduce: - Perform Tomcat Autointegration for profiling - Close IDE - Try to run modified script: /Applications/NetBeans/apache-tomcat-6.0.14/bin/catalina_nbprofiler.sh run - RESULT: Error occurred during initialization of VM Could not find agent library in absolute path: /tmp/NBProfiler52290.link/deployed/jdk15/mac/libprofilerinterface.jnilib
changing milestone
I'm not sure if starting the server for profiling without the profiler makes any sense. Also, you haven't followed the Attach Wizard instructions - there's no hint about closing the IDE: "After this wizard finishes, choose a profiling task and click Attach." The problem is caused by space in path where the IDE you are using for profiling is installed. As a workaround for the profiling to work the profiler agent is copied to /tmp (path without spaces) and used for profiling the server. To not waste disk space without any control, all such temporary profiler agents in /tmp are deleted after finishing the IDE session. That's why the modified script doesn't work for you. Closing as INVALID, you are not following the given instructions how to use the script. If you need to use the modified script for another IDE session, please use an IDE installed in a path without spaces.