geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1027002 - /geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
Date Mon, 25 Oct 2010 09:36:47 GMT
Author: genspring
Date: Mon Oct 25 09:36:46 2010
New Revision: 1027002

URL: http://svn.apache.org/viewvc?rev=1027002&view=rev
Log:
GERONIMO-5637 deploy install-plugin command does not report failure when plugin is failed
to install, Thanks Viola for the patch.

Modified:
    geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java

Modified: geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java?rev=1027002&r1=1027001&r2=1027002&view=diff
==============================================================================
--- geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
(original)
+++ geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
Mon Oct 25 09:36:46 2010
@@ -683,6 +683,7 @@ public class PluginInstallerGBean implem
                                     configManager.loadConfiguration(artifact);
                                 } catch (Exception e) {
                                     log.error("Unable to load configuration. ", e);
+                                    poller.setFailure(e);                               
    
                                     configManager.uninstallConfiguration(artifact);
                                 }
                             }



Mime
View raw message