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.
Using NB 6 Beta2 on JDK6u1 on WindowsXP. I installed the "All" download and had the installer put GlassFish build 58 on my system. Here is what I did: 1. Create the "Servlet Stateless" sample Enterprise Application (it is under Samples > Enterprise in the new project dialog). 2. Run the Servlet Stateless application. Everything works fine: GlassFish starts, the app. gets deployed, the web browser gets started, the page gets displayed, etc. 3. Back in the IDE, right-click the enterprise application (ServletStatless) and choose Profile. 4. Do CPU profiling, select the sayHello method in the stateless session bean as a root method. Set the Filter to "All classes." 5. Click the Run button in the profiler dialog box. It appears that GlassFish gets shutdown correctly, and then is restarted (which is what I would expect). But something goes wrong during the restart. This message is in the IDE log file: java.net.SocketException: Connection reset And over on the Services tab the GlassFish entry has that funny-looking icon that includes what appears to be a "pause" button from a VCR.... I will attach both log files.
Created attachment 51531 [details] IDE log file
Created attachment 51532 [details] GlassFish server log
Reproduced. As a workaround before fixed please use JDK5, this works fine for me.
Created attachment 51596 [details] JVM crashlog
Can by reproduced by directly profiling the project without restarting the server. Seems to only happen for Part of Application, Entire Application works fine. Caused by profiled JVM crash, see the above crashlog.
Changing target milestone to dev, since NetBeans 6.0 is in high resistance mode.
changing milestone
This is JDK bug. Closing as wontfix.