[ 
https://issues.apache.org/activemq/browse/SMX4NMR-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54858#action_54858
 ] 

Greg Lucas commented on SMX4NMR-165:
------------------------------------

I'm building from trunk and I think I'm seeing seeing basically the same issue, 
lots of: Unable to register managed endpoint:  ...

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:597)
        at 
org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe$JdkProxyFactory$1.invoke(AbstractServiceReferenceRecipe.java:561)
        at $Proxy37.manageObject(Unknown Source)
        at 
org.apache.servicemix.nmr.management.ManagementEndpointRegistry.register(ManagementEndpointRegistry.java:59)
        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:597)
        at 
org.apache.geronimo.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:206)
        at 
org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe$Listener.invokeMethods(AbstractServiceReferenceRecipe.java:486)
        at 
org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe$Listener.bind(AbstractServiceReferenceRecipe.java:451)
        at 
org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe.bind(AbstractServiceReferenceRecipe.java:348)
        at 
org.apache.geronimo.blueprint.container.ReferenceListRecipe.track(ReferenceListRecipe.java:138)
        at 
org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe.serviceAdded(AbstractServiceReferenceRecipe.java:298)
        at 
org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe.serviceChanged(AbstractServiceReferenceRecipe.java:282)
        at 
org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:878)
              trimmed...
Caused by: javax.management.JMException
        at 
org.apache.servicemix.nmr.management.ManagementAgent.manageNamedObject(ManagementAgent.java:103)
        at 
org.apache.servicemix.nmr.management.ManagementAgent.manageObject(ManagementAgent.java:78)
        ... 114 more
Caused by: javax.management.JMException
        at 
org.apache.servicemix.nmr.management.ManagementAgent.register(ManagementAgent.java:241)
        at 
org.apache.servicemix.nmr.management.ManagementAgent.register(ManagementAgent.java:227)
        at 
org.apache.servicemix.nmr.management.ManagementAgent.manageNamedObject(ManagementAgent.java:101)
        ... 115 more




> NotCompliantMBeanException when ManagedEndpoint registered via 
> ManagementStrategy 
> ----------------------------------------------------------------------------------
>
>                 Key: SMX4NMR-165
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-165
>             Project: ServiceMix NMR
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Eoghan Glynn
>            Assignee: Eoghan Glynn
>             Fix For: 1.1.0
>
>
> 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.

Reply via email to