activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel Cons (JIRA)" <>
Subject [jira] [Commented] (AMQ-4247) Jolokia error in latest 5.8 snapshot
Date Tue, 08 Jan 2013 10:12:12 GMT


Lionel Cons commented on AMQ-4247:


Thanks for your reply and the link to some doc.

The error came in fact from an old installation on jmx4perl (agent). I've now cleaned it.
The /j4p/ path is because we use a proxy with this path, ActiveMQ is queried with /api/jolokia/.

I can now access JMX information via Jolokia but I still have two problems.

(1) I tried to use ${activemq.conf} in web.xml to specify which access file Jolokia should
use but this syntax does not seem to be accepted. Is there a way to put Java property names
in web.xml? IMHO, it would make sense to configure Jolokia from files under ${activemq.conf}.

(2) It seems the MBean paths have changed and this kills our Nagios monitoring. For instance,
to get the broker version, we have to use:
 - for ActiveMQ 5.5: org.apache.activemq:Type=Broker,BrokerName=<name>
 - for ActiveMQ 5.8: org.apache.activemq:type=Broker,brokerName=<name>
Is this case change intentional?

> Jolokia error in latest 5.8 snapshot
> ------------------------------------
>                 Key: AMQ-4247
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: activemq-5.8-20130105.031543-65
>            Reporter: Lionel Cons
> Using the latest ActiveMQ 5.8 snapshot, I'm getting errors when trying to access /j4p:
> Problem accessing /j4p/. Reason:
>     java.lang.IllegalStateException: Cannot load extractor org.jolokia.converter.json.simplifier.ClassSimplifier
defined in jar:file:/usr/activemq/lib/web/jolokia-core-1.0.6.jar!/META-INF/simplifiers-default
: java.lang.ClassCastException: org.jolokia.converter.json.simplifier.ClassSimplifier cannot
be cast to org.jmx4perl.converter.json.Extractor. Aborting
> Is this a known problem? Is there any documentation on how to use and/or configure Jolokia
with ActiveMQ?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message