geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: rev 57527 - geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local
Date Fri, 12 Nov 2004 15:18:43 GMT
Author: jboynes
Date: Fri Nov 12 07:18:42 2004
New Revision: 57527

Modified:
   geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local/UndeployCommand.java
Log:
continue to undeploy if application is already stopped

Modified: geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local/UndeployCommand.java
==============================================================================
--- geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local/UndeployCommand.java
(original)
+++ geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local/UndeployCommand.java
Fri Nov 12 07:18:42 2004
@@ -48,7 +48,11 @@
                 URI moduleID = URI.create(module.getModuleID());
                 try {
                     kernel.stopConfiguration(moduleID);
+                } catch (NoSuchConfigException e) {
+                    // module was already undeployed - just continue
+                }
 
+                try {
                     TargetImpl target = (TargetImpl) module.getTarget();
                     ObjectName storeName = target.getObjectName();
                     URI configID = URI.create(module.getModuleID());

Mime
View raw message