[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: HOWTO: remove a deployment context that is in error?

adrian@jboss.org do-not-reply at jboss.com
Tue Jul 3 08:16:02 EDT 2007


"wolfc" wrote : "Brian" wrote : 
  |   | Thus remains the question: how to remove a deployment context that is in error state?
  | 
  | If the deployment is already in error, then it should already be undeployed!
  | removeDeployment() for a context already in error just tidies up the maps in the
  | MainDeployer.
  | 
  | Any error during the deployment will rollback the deployment to the undeployed state.
  | 
  | If this is not happening then it is a bug in one of the deployers somewhere,
  | most likely the common problem with broken error handling like the issues
  | raised with the AOP deployer:
  | http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112184
  | 
  | If you changed the relevant deployer to use Components, then you'd automatically
  | get the correct pattern (it is handled by the deployment framework)
  | without having to think about unwinding explicitly.

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

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



More information about the jboss-dev-forums mailing list