Bug 100465 - Allow user to override the 'obey the restart bit' behavior
Allow user to override the 'obey the restart bit' behavior
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9
5.x
All All
: P4 (vote)
: TBD
Assigned To: Vince Kraemer
issues@serverplugins
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-10 13:41 UTC by raharsha
Modified: 2010-02-10 11:00 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description raharsha 2007-04-10 13:41:04 UTC
Deploying a web application restarts the application server.

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Building jar:
/space/harsha/projects/new/CalculatorApplication/dist/CalculatorApplication.war
do-dist:
dist:
Stopping server Sun Java System Application Server


Starting server Sun Java System Application Server


Incrementally deploying CalculatorApplication_localhost:4848_server
Completed incremental distribution of CalculatorApplication
Incrementally redeploying CalculatorApplication_localhost:4848_server
moduleID=CalculatorApplication
While redeploying, trying to stop the application in target server  completed
successfully
While redeploying, trying to remove reference for application in target server 
completed successfully
deployment started : 0%
deployment finished : 100%
Deploying application in domain completed successfully
Trying to create reference for application in target server  completed successfully
Trying to start application in target server  completed successfully
Deployment of application CalculatorApplication  completed successfully
run-deploy:
Browsing: http://localhost:8080/CalculatorApplication/CalculatorWSService?wsdl
run-display-browser:
run:
BUILD SUCCESSFUL (total time: 2 minutes 8 seconds)
Comment 1 Sherold Dev 2007-04-30 14:59:13 UTC
-> sunappserv
Comment 2 Nitya Doraisamy 2007-06-19 16:18:45 UTC
Not sure if this is a bug. If the server restart flag was set due to other user actions, the server would restart.

Do you see this on every deploy? What are the actions/steps that were performed before the deploy which caused the restart.
Comment 3 raharsha 2007-08-16 04:52:21 UTC
I might have done some config changes does requires a server restart. But I would not expect netbeans to restart it when
I am deploying some application without even a warning. Who is accountable for the downtime in production scenarios.
Many times restart required is just a way to inform the user that the changes he made are effective in the next restart.
For eg, I might have increased the max heap size for the jvm, and that would set the restart required flag. But I
wouldn't want the server to be restarted at my next deploy!!
Comment 4 Vince Kraemer 2007-09-21 15:46:44 UTC
We assume that a developer wants to see the effect of their changes, soon.

If a developer made a change that sets the restart required flag the IDE will restart the server before running their
app, so they can see the effect of their changes on the app that they are developing.

This assumption may be incorrect for some number of users.

Note: deploying an app from NetBeans onto a production server is not a recommended use-case for NetBeans or a production
environment.

About the only way to resolve this is to add a feature to the plugin, to allow the user to control the reaction to the
restart flag that they desire.  Other changes would need to be made to account for the new server "state" that the IDE
need would to present to the user.

Converting to a p2 enhancement
Comment 5 Vince Kraemer 2008-10-18 02:38:45 UTC
this needs to be resolved in the v3 plugin as part of the 7.0 release?

please be prepared to discuss this issue on 2008/10/22
Comment 6 Vince Kraemer 2009-12-10 12:56:43 UTC
no issue should be assigned to issues. redistributing the load
Comment 7 Vince Kraemer 2010-02-10 11:00:33 UTC
changes to the v2 plugin are not high priority


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo