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 92713

Summary: Server status is not refreshed after Stop Profile action
Product: profiler Reporter: Alexander Kouznetsov <mrkam>
Component: BaseAssignee: issues@profiler <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 95234, 110496, 182772    
Bug Blocks:    

Description Alexander Kouznetsov 2007-01-17 15:53:51 UTC
NetBeans IDE Dev (Build 200701141900)
1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Profiler 070117

Steps to reproduce:
- Start Profiler for Web Application targeted Tomcat
- After the Tomcat is started verify that it is shown as Started in Profiling mode in Runtime tab
- Invoke Profile > Stop from Main Menu
- RESULT: Tomcat is stopped, but it is shown as Started in Profiling mode in Runtime tab. User needs to Refresh the server status to see that it is stopped.
Comment 1 Jiri Sedlacek 2007-01-17 15:59:34 UTC
This is caused by the fact that the server isn't correctly stopped by stopping 
the profiling session, System.exit() is called instead.

This will be fixed once new stopServer() method will be added to serverplugin 
profiling API which can be used by the Profiler instead of killing the server.
Comment 2 Alexander Kouznetsov 2007-01-17 16:02:20 UTC
The same behavior is experienced if the Profiler is detached from Web Application on Tomcat and user selected to terminate the application upon detaching.
Comment 3 Alexander Kouznetsov 2007-01-17 16:03:58 UTC
Is there any issue about stopServer() method in serverplugin 
profiling API to add the dependency?
Comment 4 Jiri Sedlacek 2007-01-17 16:11:29 UTC
AFAIK not, you may file such issue in serverplugins module. At this time we 
need these calls:

 - stopServer() - to fix this issue
 - refreshServer() - to fix Issue 92714

but this is quite important part and needs more precise analysis at the 
Profiler side - definitely not for 6.0.
Comment 5 Alexander Kouznetsov 2007-04-02 13:34:44 UTC
Is there any progress in this area? Could you please file these issues if
they've not been already filed since you the best person to do this as well as
to verify the fix.
Comment 6 Alexander Kouznetsov 2007-07-21 17:20:11 UTC
Filed an issue 110496 to serverplugins
Comment 7 Jiri Sedlacek 2008-08-29 13:30:48 UTC
*** Issue 145563 has been marked as a duplicate of this issue. ***
Comment 8 Petr Cyhelsky 2008-12-10 11:50:40 UTC
Issue #110496 must be resolved first
Comment 9 Quality Engineering 2009-11-02 11:13:24 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX