geronimo-scm mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1027001&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.2/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java

Modified: geronimo/server/branches/2.2/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java?rev=1027001&r1=1027000&r2=1027001&view=diff
==============================================================================
--- geronimo/server/branches/2.2/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
(original)
+++ geronimo/server/branches/2.2/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
Mon Oct 25 09:36:22 2010
@@ -803,6 +803,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