I have a proposal to make deployments more atomic.

What this will is that any failure for a deployment or subdeployment forces
the whole deployment (top-level and subdeployments) to be undeployed.

The idea is to rollback after a failure in the MainDeployer, both the top-level
deployment and the subdeployments.

i.e. if init() then di.cleanup() and related code in destroy() is invoked
if create() fails then destroy() is invoked
if start() fails then stop()/destroy() is invoked

This applies to subdeployments already deployed, e.g. if one subdeployment fails,
the previous subdeployments are rolledback.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846779#3846779

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846779


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to