aries-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <>
Subject Problem using the jmx whiteboard to create a MBean -- MBean class Proxyaaaf7dc3_99e0_4e6d_a856_3c442bfe30ed does not implement DynamicMBean
Date Tue, 03 Apr 2012 14:32:54 GMT
Hi All,

I started using the aries jmx whiteboard bundle to register mbeans for 
Apache Karaf.

When I register the service for the mbean the whiteboard bundle picks up 
my mbean but then the following eception occurs:
2012-04-03 16:14:23,601 | ERROR | l Console Thread | 
MBeanHolder                      | aries.jmx.whiteboard.MBeanHolder   63 
| 75 - org.apache.aries.jmx.whiteboard - 0.3.0 | register: Failure 
registering MBean org.apach
e.karaf.packages.core.internal.Packages@1b6d56 MBean class 
Proxyaaaf7dc3_99e0_4e6d_a856_3c442bfe30ed does not implement 
DynamicMBean, neither follows the Standard MBean conventions 
ion: Class Proxyaaaf7dc3_99e0_4e6d_a856_3c442bfe30ed is not a JMX 
compliant Standard MBean) nor the MXBean conventions 
Proxyaaaf7dc3_99e0_4e6d_a856_3c442bfe30ed: Class Proxya
aaf7dc3_99e0_4e6d_a856_3c442bfe30ed is not a JMX compliant MXBean)

It looks like blueprint creates a proxy of my mbean which then can not 
be registered as an mbean.
Any ideas what I can do?


So my blueprint.xml looks like this:

<bean id="packageService" 
<argument ref="blueprintBundleContext"/>
<service interface="org.apache.karaf.packages.core.PackageService" 

<bean id="packageMBean" 
<argument ref="packageService" />

<service interface="org.apache.karaf.packages.core.PackagesMBean" 
<entry key="jmx.objectname" 

Christian Schneider

Open Source Architect
Talend Application Integration Division

View raw message