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.

Bug 121365 - Tomcat autointegration script doesn't work if NetBeans closed
Summary: Tomcat autointegration script doesn't work if NetBeans closed
Status: RESOLVED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-07 13:24 UTC by Alexander Kouznetsov
Modified: 2008-08-19 10:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-11-07 13:24:08 UTC
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
Comment 1 J Bachorik 2008-03-29 11:37:57 UTC
changing milestone
Comment 2 Jiri Sedlacek 2008-08-19 10:41:12 UTC
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.