[jboss-dev-forums] [JBoss AS Development] - Re: Graceful Shutdown
emuckenhuber
do-not-reply at jboss.com
Wed Nov 25 04:02:36 EST 2009
"bstansberry at jboss.com" wrote : Could the deployment of the acceptor be part of the deployment of the service? It's just a separate MC bean that depends on the core service.
|
| That eliminates the issue of deployment phases.
Yeah i thought it's just a MC bean with an install callback :) It's just a question when this bean gets deployed. Basically there is no way we can eliminate deployment phases - where at the moment each Profile represents a deployment phase (mainDeployer.process()).
Just think what would happen if you move the "TomcatService" into the 'web.deployer'. This would start the connectors/acceptors/endpoints before even looking at what's in 'deploy'. Which means that the acceptor would be available, but without any web app installed. The same would happen if we have multiple smaller profile description.
Although this is not specific to graceful shutdown it could affect it depending on the way you signal the acceptors to gracefully stop. If the "central management bean" is called to signal the shutdown, before we actually stop AS then it could work. Otherwise the same would happen - we undeploy all user applications, before undeploying the acceptor deployment.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267448#4267448
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267448
More information about the jboss-dev-forums
mailing list