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.
The attach wizard fails to recognize a valid Glassfishv3 installation. Steps to reproduce: 1. Profile/Attach Profiler... 2. Change attach settings 3. Select J2EE Web/App Server, GlassFish combination 4. Choose Local, Direct 5. Next, Next, select Automatic 6. Enter a valid GF3 installation path. 7. The attach wizard complains about not being able to find asenv.conf file This seems to be caused by the change of the asenv.conf file location which occurred between GF3(Prelude) and GF3(Final).
Has been broken since 6.8 (GlassFish v3 replace GlassFish v3 Prelude)
Jarda, are you going to fix it for NB 7.0.1 ?
I would love to. The fix is ready and committed in the main repository (http://hg.netbeans.org/main/rev/0dcfc350537d)
There were additional references to incorrectly formatted <jvm-options> in the modified domain.xml file. Fixed in http://hg.netbeans.org/main/rev/44b33eaf7e70
Reviewed. It can be transplanted to release701.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/0dcfc350537d User: Jaroslav Bachorik <yardus@netbeans.org> Log: #199571: Adding support for GlassFish v3 in Attach Wizard
Thanks to the misnomer of "getPathSeparator()" method the fix was not completely correct. The problem is fixed by http://hg.netbeans.org/main/rev/0e92705d1c06
Verified
Unfortunately, there was one more place where incorrect glassfish domains location was calculated, affecting the ability to auto-start the glassfish server at the end of the attach wizard process. Fixed in http://hg.netbeans.org/main/rev/f2884d7fcb39 Please, reverify the issue
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/0e92705d1c06 User: Jaroslav Bachorik <yardus@netbeans.org> Log: #199571: Using correct directory separators when constructing file path
verified on NetBeans IDE Dev (Build 201106300600)
Transplanted to the "release701" branch: http://hg.netbeans.org/releases/rev/2e6e8104b428 http://hg.netbeans.org/releases/rev/260b17d2b603 http://hg.netbeans.org/releases/rev/423d972d4902 http://hg.netbeans.org/releases/rev/d521e4c95828
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/f2884d7fcb39 User: Jaroslav Bachorik <yardus@netbeans.org> Log: #199571: found one more place using incorrect glassfish domain location
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/2e6e8104b428 User: Jaroslav Bachorik <yardus@netbeans.org> Log: #199571: Adding support for GlassFish v3 in Attach Wizard (transplanted from 0dcfc350537d103ec133be1fd95dbb536f5ecd40)