When the IDE (and hence the profiler binaries) is installed in a path with space and modifying an app server startup script requires adding an env variable in the shell script the startup script fails to process the path to profiler binaries properly.
Profiler can generate a temporary link (which does not contain space) where the binaries can be referred to.
Integrated into 'main-golden', will be available in build *201204030400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jaroslav Bachorik <firstname.lastname@example.org>
Log: #210437: Attach instructions for app servers on linux/mac can handle space in path properly
fixed in http://hg.netbeans.org/profiler-main/rev/9be58f3967c0