[jboss-cvs] JBossAS SVN: r69696 - trunk/system-jmx/src/main/org/jboss/deployment.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Feb 7 07:51:16 EST 2008


Author: emuckenhuber
Date: 2008-02-07 07:51:16 -0500 (Thu, 07 Feb 2008)
New Revision: 69696

Modified:
   trunk/system-jmx/src/main/org/jboss/deployment/MainDeployer.java
Log:
[JBAS-4292] adding the deployment to the contextMap before calling checkComplete - otherwise a failed deployment can't be undeployed

Modified: trunk/system-jmx/src/main/org/jboss/deployment/MainDeployer.java
===================================================================
--- trunk/system-jmx/src/main/org/jboss/deployment/MainDeployer.java	2008-02-07 11:43:40 UTC (rev 69695)
+++ trunk/system-jmx/src/main/org/jboss/deployment/MainDeployer.java	2008-02-07 12:51:16 UTC (rev 69696)
@@ -811,8 +811,8 @@
             deploymentName = deployment.getName();
             delegate.process();
             // TODO: JBAS-4292
+            contextMap.put(url, deploymentName);
             delegate.checkComplete(deployment);
-            contextMap.put(url, deploymentName);
          }
          catch(Exception e)
          {




More information about the jboss-cvs-commits mailing list