You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2009/11/09 08:02:53 UTC
[jira] Resolved: (SMX4NMR-171) when stop a bundle, the underlying
counterpart JBI sa/component/sharedlib instance in the bundle should be
removed from jmx server
[ https://issues.apache.org/activemq/browse/SMX4NMR-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved SMX4NMR-171.
----------------------------------
Resolution: Fixed
commit fix
http://svn.apache.org/viewvc?rev=833981&view=rev
> 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.