NotCompliantMBeanException when ManagedEndpoint registered via
ManagementStrategy
----------------------------------------------------------------------------------
Key: SMX4NMR-165
URL: https://issues.apache.org/activemq/browse/SMX4NMR-165
Project: ServiceMix NMR
Issue Type: Bug
Reporter: Eoghan Glynn
Need to fix the following: javax.management.NotCompliantMBeanException:
org.apache.servicemix.nmr.management.ManagedEndpoint does not implement the
org.apache.servicemix.nmr.management.ManagedEndpointMBean interface or the
DynamicMBean interface at
com.sun.jmx.mbeanserver.Introspector.testCompliance(Introspector.java:198) at
com.sun.jmx.mbeanserver.Introspector.testCompliance(Introspector.java:150) at
com.sun.jmx.mbeanserver.StandardMetaDataImpl.buildMBeanInfo(StandardMetaDataImpl.java:116)
at
com.sun.jmx.mbeanserver.StandardMetaDataImpl.testCompliance(StandardMetaDataImpl.java:149)
at com.sun.jmx.mbeanserver.MetaDataImpl.testCompliance(MetaDataImpl.java:125)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
... 125 more 12:40:50,937 | INFO | xtenderThread-10 | ComponentRegistryImpl |
ntime.impl.ComponentRegistryImpl 92 | JBI component registered with properties:
{NAME=servicemix-scripting, TYPE=service-engine,
objectClass=[Ljava.lang.String;@13e2b4a, service.id=170} 12:40:50,937 | INFO |
xtenderThread-10 | ManagementEndpointRegistry |
ement.ManagementEndpointRegistry 56 | Registering endpoint:
org.apache.servicemix.nmr.core.internalendpointwrap...@13463425 with properties
{TYPE=service-engine, objectClass=[Ljava.lang.String;@163d208, service.id=172,
NAME=servicemix-scripting} 12:40:50,952 | WARN | xtenderThread-10 |
ManagementEndpointRegistry | ement.ManagementEndpointRegistry 61 | Unable to
register managed endpoint: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585) at
org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe$JdkProxyFactory$1.invoke(AbstractServiceReferenceRecipe.java:561)
at $Proxy16.manageObject(Unknown Source) at
org.apache.servicemix.nmr.management.ManagementEndpointRegistry.register(ManagementEndpointRegistry.java:59)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.