geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r209991 - /geronimo/trunk/modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java
Date Sun, 10 Jul 2005 04:37:15 GMT
Author: ammulder
Date: Sat Jul  9 21:37:11 2005
New Revision: 209991

URL: http://svn.apache.org/viewcvs?rev=209991&view=rev
Log:
Update the message about the deployer not running

Modified:
    geronimo/trunk/modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java

Modified: geronimo/trunk/modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java?rev=209991&r1=209990&r2=209991&view=diff
==============================================================================
--- geronimo/trunk/modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java
(original)
+++ geronimo/trunk/modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/AbstractDeployCommand.java
Sat Jul  9 21:37:11 2005
@@ -61,10 +61,23 @@
     protected ObjectName getDeployerName() {
         Set deployers = kernel.listGBeans(JMXUtil.getObjectName(DEPLOYER_NAME));
         if (deployers.isEmpty()) {
-            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");
+            fail("No Deployer GBean present in running Geronimo server. " +
+                 "This usually indicates a very serious problem with the configuration of
" +
+                 "your running Geronimo server.  Without a deployer running, you can't "
+
+                 "start anything at runtime (including, of course, the deployer itself).
 If " +
+                 "the deployer is present but not started, the workaround is to restart "
+
+                 "the server and explicitly require the deployer on the command line.  "
+
+                 "For a typical Geronimo configuration, use a startup command like: "+
+                 "'java -jar bin/server.jar org/apache/geronimo/RuntimeDeployer "+
+                 "org/apache/geronimo/SystemDatabase'.  This should fix the deployment "
+
+                 "problem, but it will reset Geronimo to run no services or applications,
" +
+                 "so you'll need to restart anything else that ought to be running.  " +
+                 "If the deployer service is not present at all (it was undeployed) then
" +
+                 "you need to either re-install Geronimo or get a deployment plan for the
" +
+                 "runtime deployer and distribute it while the server is not running and
" +
+                 "then start the server with a command like the above.  For help on this,
" +
+                 "write to user@geronimo.apache.org and include the contents of your " +
+                 "config-store/index.properties and var/config/config.list files.");
             return null;
         }
         Iterator j = deployers.iterator();



Mime
View raw message