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.
Start NetBeans, create a web app, targeting GlassFish V3. <Debug> web app on server, should debug fine. Now, using the buttons on the server log window or the menu actions on the server instance popup menu (services tab), stop the server and restart it in "Normal" (non-debug) mode. Now go back to the project and run <Debug> on the web app again -- server is not running in debug mode but won't be restarted, so the action fails.
Stop action is handled by glassfish.common module, yet glassfish.javaee was maintaining a local cache of whether the server was in debug mode or not. This cache was never updated when the server is stopped and then restarted via the control buttons/menu items.
Fixed. http://hg.netbeans.org/main/rev/f9f4392ce949
Integrated into 'main-golden', will be available in build *200809111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f9f4392ce949 User: pcw@netbeans.org Log: #146858 <debug> fails sometimes for webapps on glassfish v3