-
Bug
-
Resolution: Done
-
Major
-
None
-
None
The following exception occurs when applying jboss-fuse-6.3.0.redhat-377-04-r11hf7 to the AMQ container. This exception does not occur every time.
javax.management.InstanceAlreadyExistsException: org.apache.activemq:type=Broker,brokerName=CHGBRD0111281
at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
at org.apache.activemq.broker.jmx.ManagementContext.registerMBean(ManagementContext.java:409)
at org.apache.activemq.broker.jmx.AnnotatedMBean.registerMBean(AnnotatedMBean.java:93)
at org.apache.activemq.broker.BrokerService.startManagementContext(BrokerService.java:2593)
at org.apache.activemq.broker.BrokerService.start(BrokerService.java:607)
at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.doStart(ActiveMQServiceFactory.java:556)
at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.access$600(ActiveMQServiceFactory.java:359)
at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$1.run(ActiveMQServiceFactory.java:499)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Exception in thread "Thread-8149" java.lang.RuntimeException
at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.update_pool_state(ActiveMQServiceFactory.java:468)
at io.fabric8.mq.fabric.ActiveMQServiceFactory$2.run(ActiveMQServiceFactory.java:258)
Caused by: java.lang.NullPointerException
at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.update_pool_state(ActiveMQServiceFactory.java:460)
... 1 more