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 144333 - While restarting able to change the server mode from normal mode to any mode(Debug,Profile)
Summary: While restarting able to change the server mode from normal mode to any mode(...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-19 07:44 UTC by dpkumar
Modified: 2009-09-18 22:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dpkumar 2008-08-19 07:44:45 UTC
NB Build:IDE Build 200808170243
JDK:jdk1.5.0_13
GF V3:b-19(http://javaweb.sfbay.sun.com/java/re/glassfish/10.0/promoted/trunk-latest/bundles/)

Steps to reproduce:
-Install NB build and start the IDE
-Register GF V3 server and start in normol mode.
-Restart the server.
-Wait until the process symbol disappears on the server and right click on the server select Start in Debudmode or 
start in Profile mode.

ISSUE:
Server is started to the mode as user selected. But in GF V2 these options Start, Start in Debug Mode and Start in 
Profile mode are disabled while restarting the server in a perticular mode.
Comment 1 _ pcw 2008-08-19 22:38:11 UTC
Known problem.  There is a short time period (~3-5 seconds) where start and stop become available during a restart
action.  The delay is because cycling the server process too fast was causing Grizzly to fail to reinitialize correctly,
but it offers an opportunity for the user to do things as described above.

For now, don't hammer the start/stop buttons after executing a restart -- wait for the restart action to complete.
Comment 2 Vince Kraemer 2009-09-16 23:55:27 UTC
Assigned engineer: please correct the tm value.  nb 6.7 has shipped, so a tm of
6.7  is invalid at this point
Comment 3 Vince Kraemer 2009-09-16 23:58:42 UTC
pickup half of pcw's issues
Comment 4 Vince Kraemer 2009-09-17 00:21:54 UTC
easier than I thought...
Comment 5 Vince Kraemer 2009-09-17 23:52:28 UTC
http://hg.netbeans.org/web-main/rev/2da6a5664d26
Comment 6 Quality Engineering 2009-09-18 22:32:08 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2da6a5664d26
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #144333: restart let folks trigger a second command, because the server state paused at STOPPED, instead of moving to STARTING immediately