karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-3815) Decanter can retrieve metrics for ObjectName containing white spaces
Date Tue, 30 Jun 2015 10:56:04 GMT
Jean-Baptiste Onofré created KARAF-3815:
-------------------------------------------

             Summary: Decanter can retrieve metrics for ObjectName containing white spaces
                 Key: KARAF-3815
                 URL: https://issues.apache.org/jira/browse/KARAF-3815
             Project: Karaf
          Issue Type: Bug
          Components: decanter
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré


When the scheduler triggers the JMX collector, the JMX collector does a complete lookup to
retrieve all metrics (from all MBeans).

Unfortunately, if the MBean ObjectName contains a white space, it throws the following exception:

{code}
15:48:04,804 | WARN  | scheduler-simple | anter.collector.jmx.JmxCollector   60 | 411 - org.apache.karaf.decanter.collector.jmx
- 3.0.0.SNAPSHOT | Error reading mbean IBM WebSphere MQ classes for JMS:type=Comm
onServices,name=PropertyStoreControl.
java.lang.IllegalArgumentException: invalid topic: decanter/jmx/IBM WebSphere MQ classes for
JMS.
        at org.osgi.service.event.Event.validateTopicName(Event.java:236)[383:org.apache.felix.eventadmin:1.3.2].
        at org.osgi.service.event.Event.<init>(Event.java:62)[383:org.apache.felix.eventadmin:1.3.2].
        at org.apache.karaf.decanter.collector.jmx.JmxCollector.run(JmxCollector.java:57)[411:org.apache.karaf.decanter.collector.jmx:3.0.0.SNAPSHOT].
        at org.apache.karaf.decanter.scheduler.simple.SimpleScheduler.run(SimpleScheduler.java:63)[412:org.apache.karaf.decanter.scheduler.simple:3.0.0.SNAPSHOT].
        at java.lang.Thread.run(Thread.java:745)[:1.7.0_67].
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message