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] [Commented] (KARAF-3815) Decanter can't retrieve metrics for ObjectName containing white spaces
Date Mon, 13 Jul 2015 07:18:04 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624305#comment-14624305
] 

Jean-Baptiste Onofré commented on KARAF-3815:
---------------------------------------------

Fixed on decanter master: https://git-wip-us.apache.org/repos/asf?p=karaf-decanter.git;a=commitdiff;h=dd01b70ad6f36f87ade1aaf62cb719521b6ed16e

> Decanter can't 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é
>             Fix For: decanter-1.0.0
>
>
> 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