karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1539326 - in /karaf/trunk/main/src/main/java/org/apache/karaf/main: Status.java Stop.java
Date Wed, 06 Nov 2013 12:43:01 GMT
Author: jbonofre
Date: Wed Nov  6 12:43:01 2013
New Revision: 1539326

URL: http://svn.apache.org/r1539326
Log:
[KARAF-2547] Improve messages in status and stop scripts

Modified:
    karaf/trunk/main/src/main/java/org/apache/karaf/main/Status.java
    karaf/trunk/main/src/main/java/org/apache/karaf/main/Stop.java

Modified: karaf/trunk/main/src/main/java/org/apache/karaf/main/Status.java
URL: http://svn.apache.org/viewvc/karaf/trunk/main/src/main/java/org/apache/karaf/main/Status.java?rev=1539326&r1=1539325&r2=1539326&view=diff
==============================================================================
--- karaf/trunk/main/src/main/java/org/apache/karaf/main/Status.java (original)
+++ karaf/trunk/main/src/main/java/org/apache/karaf/main/Status.java Wed Nov  6 12:43:01 2013
@@ -40,7 +40,7 @@ public class Status {
             try {
                 config.shutdownPort = getPortFromShutdownPortFile(config.portFile);
             } catch (FileNotFoundException fnfe) {
-                System.err.println(config.portFile + " port file doesn't exist. The container
is not running.");
+                System.err.println(config.portFile + " shutdown port file doesn't exist.
The container is not running.");
                 System.exit(3);
             } catch (IOException ioe) {
                 System.err.println("Can't read " + config.portFile + " port file: " + ioe.getMessage());

Modified: karaf/trunk/main/src/main/java/org/apache/karaf/main/Stop.java
URL: http://svn.apache.org/viewvc/karaf/trunk/main/src/main/java/org/apache/karaf/main/Stop.java?rev=1539326&r1=1539325&r2=1539326&view=diff
==============================================================================
--- karaf/trunk/main/src/main/java/org/apache/karaf/main/Stop.java (original)
+++ karaf/trunk/main/src/main/java/org/apache/karaf/main/Stop.java Wed Nov  6 12:43:01 2013
@@ -44,10 +44,10 @@ public class Stop {
             try {
                 config.shutdownPort = getPortFromShutdownPortFile(config.portFile);
             } catch (FileNotFoundException fnfe) {
-                System.err.println(config.portFile + " port file doesn't exist. The container
is not running.");
+                System.err.println(config.portFile + " shutdown port file doesn't exist.
The container is not running.");
                 System.exit(3);
             } catch (IOException ioe) {
-                System.err.println("Can't read " + config.portFile + " port file: " + ioe.getMessage());
+                System.err.println("Can't read " + config.portFile + " shutdown port file:
" + ioe.getMessage());
                 System.exit(4);
             }
         }



Mime
View raw message