karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <j...@apache.org>
Subject [jira] [Work started] (KARAF-2513) management boot can not process MBean without implement DynamicMBean interface
Date Thu, 21 Nov 2013 11:12:35 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Work on KARAF-2513 started by David Bosschaert.

> management boot can not process MBean without implement DynamicMBean interface
> ------------------------------------------------------------------------------
>
>                 Key: KARAF-2513
>                 URL: https://issues.apache.org/jira/browse/KARAF-2513
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 3.0.0
>            Reporter: ChengRen
>            Assignee: David Bosschaert
>             Fix For: 3.0.1
>
>
> jvm 1    | Caused by: java.lang.reflect.UndeclaredThrowableException
> jvm 1    |      at com.sun.proxy.$Proxy0.registerMBean(Unknown Source)
> jvm 1    |      at org.apache.camel.management.DefaultManagementAgent.registerMBeanWithServer(DefaultManagementAgent.
> a:329)
> jvm 1    |      at org.apache.camel.management.DefaultManagementAgent.register(DefaultManagementAgent.java:226)
> jvm 1    |      at org.apache.camel.management.DefaultManagementAgent.register(DefaultManagementAgent.java:221)
> jvm 1    |      at org.apache.camel.management.ManagedManagementStrategy.manageNamedObject(ManagedManagementStrategy.
> a:76)
> jvm 1    |      at org.apache.camel.management.ManagedManagementStrategy.manageObject(ManagedManagementStrategy.java:
> jvm 1    |      at org.apache.camel.management.DefaultManagementLifecycleStrategy.manageObject(DefaultManagementLifec
> eStrategy.java:784)
> jvm 1    |      at org.apache.camel.management.DefaultManagementLifecycleStrategy.onContextStart(DefaultManagementLif
> cleStrategy.java:182)
> jvm 1    |      ... 92 more
> jvm 1    | Caused by: java.lang.reflect.InvocationTargetException
> jvm 1    |      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> jvm 1    |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> jvm 1    |      at java.lang.reflect.Method.invoke(Method.java:606)
> jvm 1    |      at org.apache.karaf.management.boot.KarafMBeanServerBuilder$MBeanInvocationHandler.invoke(KarafMBeanS
> erBuilder.java:63)
> jvm 1    |      ... 100 more
> jvm 1    | Caused by: javax.management.NotCompliantMBeanException: MBean class org.apache.camel.management.mbean.Mana
> CamelContext does not implement DynamicMBean, and neither follows the Standard MBean
conventions (javax.management.No
> mpliantMBeanException: Class org.apache.camel.management.mbean.ManagedCamelContext is
not a JMX compliant Standard MB
> ) nor the MXBean conventions (javax.management.NotCompliantMBeanException: org.apache.camel.management.mbean.ManagedC
> lContext: Class org.apache.camel.management.mbean.ManagedCamelContext is not a JMX compliant
MXBean)
> jvm 1    |      at com.sun.jmx.mbeanserver.Introspector.checkCompliance(Introspector.java:173)
> jvm 1    |      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.
> a:317)
> jvm 1    |      at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
> jvm 1    |      ... 104 more



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message