geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r785227 - /geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java
Date Tue, 16 Jun 2009 14:25:58 GMT
Author: gawor
Date: Tue Jun 16 14:25:58 2009
New Revision: 785227

URL: http://svn.apache.org/viewvc?rev=785227&view=rev
Log:
show stopped modules names. Based on patch from Han Hong Fang (GERONIMO-4687)

Modified:
    geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java

Modified: geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java?rev=785227&r1=785226&r2=785227&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java
(original)
+++ geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java
Tue Jun 16 14:25:58 2009
@@ -154,12 +154,9 @@
                     addInfoMessage(actionRequest, getLocalizedString(actionRequest, "consolebase.infoMsg01")
+ printResults(lcresult.getStarted()));
                 }
             } else if (STOP_ACTION.equals(action)) {
-                if(configurationManager.isRunning(configId)) {
-                    configurationManager.stopConfiguration(configId);
-                }
                 if(configurationManager.isLoaded(configId)) {
                     LifecycleResults lcresult = configurationManager.unloadConfiguration(configId);
-                    addInfoMessage(actionRequest, getLocalizedString(actionRequest, "consolebase.infoMsg02")
+ printResults(lcresult.getStarted()));
+                    addInfoMessage(actionRequest, getLocalizedString(actionRequest, "consolebase.infoMsg02")
+ printResults(lcresult.getStopped()));
                 }
             } else if (UNINSTALL_ACTION.equals(action)) {
                 configurationManager.uninstallConfiguration(configId);



Mime
View raw message