Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
%
Description
When starting a vanilla Fuse ESB full on a Windows XP box with JDK6 you get this exception in the log
17:20:26,046 | ERROR | JMX OSGi Agent | jmx | 31 - org.apache.aries.jmx - 0.3.0 | MBean is already registered javax.management.InstanceAlreadyExistsException: osgi.compendium:service=cm,version=1.3 at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)[:1.6.0_18] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)[:1.6.0_18] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)[:1.6.0_18] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)[:1.6.0_18] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)[:1.6.0_18] at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)[:1.6.0_18] at org.apache.aries.jmx.agent.JMXAgentImpl.registerMBeans(JMXAgentImpl.java:129)[31:org.apache.aries.jmx:0.3.0] at org.apache.aries.jmx.agent.JMXAgentContext.registerMBeans(JMXAgentContext.java:58)[31:org.apache.aries.jmx:0.3.0] at org.apache.aries.jmx.MBeanServiceTracker$1.run(MBeanServiceTracker.java:61)[31:org.apache.aries.jmx:0.3.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_18] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_18] at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_18] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_18] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_18] at java.lang.Thread.run(Thread.java:619)[:1.6.0_18]
I think gnodet have fixed this in a fuse branch of aries JMX. At least we have seen this with a fabric distribution as well.
Nevertheless FuseESB should be able to startup out of the box, without having any exceptions in the logs.