geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r663301 - /geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ClientCommandLine.java
Date Wed, 04 Jun 2008 16:48:04 GMT
Author: dwoods
Date: Wed Jun  4 09:48:03 2008
New Revision: 663301

URL: http://svn.apache.org/viewvc?rev=663301&view=rev
Log:
GERONIMO-4016 The exception of failing to start client is not recorded in client.log.  Thanks
Yun Feng for the patch.

Modified:
    geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ClientCommandLine.java

Modified: geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ClientCommandLine.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ClientCommandLine.java?rev=663301&r1=663300&r2=663301&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ClientCommandLine.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ClientCommandLine.java
Wed Jun  4 09:48:03 2008
@@ -63,7 +63,7 @@
             return startClient(configuration, parser.getApplicationClientArgs());
         } catch (Exception e) {
             ExceptionUtil.trimStackTrace(e);
-            e.printStackTrace();
+            log.error("Client failed with exception: ", e);
             return 2;
         }
     }



Mime
View raw message