cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r888165 - in /cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters: CounterRepository.java Messages.properties
Date Mon, 07 Dec 2009 22:34:20 GMT
Author: dkulp
Date: Mon Dec  7 22:34:19 2009
New Revision: 888165

URL: http://svn.apache.org/viewvc?rev=888165&view=rev
Log:
[CXF-2566] Add property for missing message
Patch from Cyrille Le Clerc applied.

Modified:
    cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/CounterRepository.java
    cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/Messages.properties

Modified: cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/CounterRepository.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/CounterRepository.java?rev=888165&r1=888164&r2=888165&view=diff
==============================================================================
--- cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/CounterRepository.java
(original)
+++ cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/CounterRepository.java
Mon Dec  7 22:34:19 2009
@@ -104,7 +104,7 @@
                 im.register(counter);
             } catch (JMException e) {
                 LOG.log(Level.WARNING, "INSTRUMENTATION_REGISTER_FAULT_MSG",
-                        new Object[]{e});
+                        new Object[]{on, e});
             }
         }    
         return counter;

Modified: cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/Messages.properties
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/Messages.properties?rev=888165&r1=888164&r2=888165&view=diff
==============================================================================
--- cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/Messages.properties
(original)
+++ cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/Messages.properties
Mon Dec  7 22:34:19 2009
@@ -22,4 +22,4 @@
 CANNOT_CREATE_LOGGER_FILE = Can't create the logger file for the response time counters.
{0}
 CANNOT_FIND_THE_COUNTER_OBJECTNAME = Can't find the counter object name. {0}
 CANNOT_FIND_STATUS = Can't find the status. {0}
-
+INSTRUMENTATION_REGISTER_FAULT_MSG=Can't register counter with object name {0}. {1}



Mime
View raw message