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

Work on SMX4NMR-171 started by Freeman Fang.

> when stop a bundle, the underlying counterpart JBI sa/component/sharedlib 
> instance in the bundle should be removed from jmx server
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4NMR-171
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-171
>             Project: ServiceMix NMR
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 1.1.0
>
>
> currently for example, if you do osgi:refresh 115, assuming bundle with id 
> 115 is servicemix-http component, then you will get exception  when start the 
> bundle and try to do jmx registration like
> Caused by: javax.management.InstanceAlreadyExistsException: 
> org.apache.servicemix:Type=Component,Name=servicemix-http,SubType=LifeCycle
>       at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
>       at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
>       at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
>       at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
>       at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
>       at 
> com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
> in the log.
> we need remove the old instance reference from jmx server when stop the bundle

-- 
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