geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r190584 - /geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java
Date Tue, 14 Jun 2005 12:40:56 GMT
Author: jlaskowski
Date: Tue Jun 14 05:40:52 2005
New Revision: 190584

URL: http://svn.apache.org/viewcvs?rev=190584&view=rev
Log:

Fix (more meaningful error message) for GERONIMO-671: Error: Deployment failed, Server reports:
No deployer present in kernel'

propset svn:keywords "Rev Id"


Modified:
    geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java
  (contents, props changed)

Modified: geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java?rev=190584&r1=190583&r2=190584&view=diff
==============================================================================
--- geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java
(original)
+++ geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java
Tue Jun 14 05:40:52 2005
@@ -35,7 +35,7 @@
 import org.apache.geronimo.deployment.plugin.TargetModuleIDImpl;
 
 /**
- * @version $Rev:  $ $Date:  $
+ * @version $Rev$ $Date$
  */
 public abstract class AbstractDeployCommand extends CommandSupport {
     private final static String DEPLOYER_NAME = "*:name=Deployer,j2eeType=Deployer,*";
@@ -61,7 +61,10 @@
     protected ObjectName getDeployerName() {
         Set deployers = kernel.listGBeans(JMXUtil.getObjectName(DEPLOYER_NAME));
         if (deployers.isEmpty()) {
-            fail("No deployer present in kernel");
+            fail("No Deployer GBean present in running Geronimo kernel. " +
+                 "The Deployer GBean would've been started up automatically if there hadn't
been a Geronimo instance up already. " +
+                 "Stop the running instance and run the deployer again " +
+                 "or see http://issues.apache.org/jira/browse/GERONIMO-671 for possible alternatives");
             return null;
         }
         Iterator j = deployers.iterator();

Propchange: geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java
------------------------------------------------------------------------------
    svn:keywords = Rev Id



Mime
View raw message