geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r575206 - /geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
Date Thu, 13 Sep 2007 07:55:44 GMT
Author: jdillon
Date: Thu Sep 13 00:55:43 2007
New Revision: 575206

URL: http://svn.apache.org/viewvc?rev=575206&view=rev
Log:
If the java agent jar is not available, then disable it otherwise the server will puke

Modified:
    geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy

Modified: geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy?rev=575206&r1=575205&r2=575206&view=diff
==============================================================================
--- geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
(original)
+++ geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
Thu Sep 13 00:55:43 2007
@@ -138,7 +138,8 @@
                 file = new File(javaAgent)
                 
                 if (!file.exists()) {
-                    log.warn("Missing Java Agent jar: $file")
+                    log.warn("Disabling Java Agent support; missing jar: $file")
+                    file = null
                 }
             }
         }



Mime
View raw message