You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Eoghan Glynn (JIRA)" <ji...@apache.org> on 2009/10/20 15:55:52 UTC

[jira] Created: (SMX4NMR-165) NotCompliantMBeanException when ManagedEndpoint registered via ManagementStrategy

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.InternalEndpointWrapper@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.


[jira] Updated: (SMX4NMR-165) NotCompliantMBeanException when ManagedEndpoint registered via ManagementStrategy

Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4NMR-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eoghan Glynn updated SMX4NMR-165:
---------------------------------

    Affects Version/s: 1.1.0
        Fix Version/s: 1.1.0

> 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.InternalEndpointWrapper@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.


[jira] Assigned: (SMX4NMR-165) NotCompliantMBeanException when ManagedEndpoint registered via ManagementStrategy

Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4NMR-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eoghan Glynn reassigned SMX4NMR-165:
------------------------------------

    Assignee: Eoghan Glynn

> 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
>            Assignee: 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.InternalEndpointWrapper@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.


[jira] Commented: (SMX4NMR-165) NotCompliantMBeanException when ManagedEndpoint registered via ManagementStrategy

Posted by "Greg Lucas (JIRA)" <ji...@apache.org>.
    [ 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.InternalEndpointWrapper@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.


[jira] Resolved: (SMX4NMR-165) NotCompliantMBeanException when ManagedEndpoint registered via ManagementStrategy

Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4NMR-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eoghan Glynn resolved SMX4NMR-165.
----------------------------------

    Resolution: Fixed

Duplicate issue fixed by ffang: SMX4NMR-166

Committing unit test and slightly extended fix: http://svn.apache.org/viewvc?view=revision&revision=827585



> 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.InternalEndpointWrapper@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.