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 117150

Summary: tomcat doesn't start in profiler mode on Mac OS X
Product: profiler Reporter: milazzo <milazzo>
Component: BaseAssignee: issues@profiler <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: ivansidorkin
Priority: P3    
Version: 6.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description milazzo 2007-09-30 14:45:32 UTC
A similar problem has also been described here:
http://weblogs.java.net/blog/fabriziogiudici/archive/2007/07/using_the_netbe.html
but I have another issue with it.
Tomcat starts fine if you just want to run the app. The problem only occurs when you try to use the profiler. 
The installer installs my Netbeans inside:
/Applications/Netbeans
and Tomcat inside the Netbeans directory. ie:
/Applications/Netbeans/apache-tomcat-6.0.13
But when I try to start Tomcat using the profiler, it tells me it is looking for Tomcat in:
/Applications/Netbeans/Netbeans/apache-tomcat-6.0.13

Hence it can't start. 
I can't, though, figure out where it is getting this wrong path from.

The error message says that it is in line 19 of profiler-build-impl.xml. ie:

antcall target="${profiler.startserver.target}"/>

My java version is 1.5.0_07
Comment 1 Ivan Sidorkin 2007-10-01 11:31:28 UTC
looks like problem is in SPACE_IN_PATH
see Issue 103046
I removed all spaces from NB path and profiled web application without any problems
Comment 2 J Bachorik 2007-10-03 13:23:54 UTC
plz, attach messages.log from the IDE
Comment 3 milazzo 2007-10-03 13:41:10 UTC
Yes, the issue is definitely a problem with a spaces in the paths. Removing the spaces in the paths, I've managed to get it running.
Comment 4 Alexander Kouznetsov 2007-10-18 13:29:10 UTC

*** This issue has been marked as a duplicate of 103046 ***