John Bailey [
http://community.jboss.org/people/johnbailey] replied to the discussion
"types of deployment errors and their handling"
To view the discussion, visit:
http://community.jboss.org/message/559566#559566
--------------------------------------------------------------
As for item #1, I think there are a couple things to think about. I think
subsystems/extensions, should be handled differently from deployments. I think if
sub-system fails to activate based on some kind of exception thrown during activation (not
a service start), I think the server should basically stop progressing, and basically log
the information related to the problem. I just to don't think it makes sense for the
server to continue if a subsystem failed. Deployments are a different story. I think the
server should log the problem info, but continue to boot with other deployments. This is
basically what is happening now. What is still needed is some ability to rollback any
deployment specific services that may have been added to the batch prior to the failure
occurring. The deployment already use MSC sub-batches, but the API does not have any
options to rollback.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/559566#559566]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]