3 Replies Latest reply on Sep 11, 2013 7:07 AM by Freeman(Yue) Fang

    How to get rid of Jetty javax.management.InstanceAlreadyExistsException warnings?

    alsomahler Newbie

      Hi,

       

      I'm trying to deploy multiple bundles with web services in the same JBoss Fuse 6.0.0 redhat 024 server.

       

      Both seem to work fine after deployment, however I'm getting the following warnings in the log:

       

      10:02:31,339 | WARN  | ExtenderThread-2 | MBeanContainer                   | 90 - org.eclipse.jetty.util - 7.6.7.v20120910 | bean: org.eclipse.jetty.server.Server@1049189

      javax.management.InstanceAlreadyExistsException: org.eclipse.jetty.server:type=server,id=0

        at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)[:1.7.0_21]

        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513)[:1.7.0_21]

        at org.eclipse.jetty.jmx.MBeanContainer.addBean(MBeanContainer.java:297)[93:org.eclipse.jetty.jmx:7.6.7.v20120910]

        at org.eclipse.jetty.jmx.MBeanContainer.add(MBeanContainer.java:138)[93:org.eclipse.jetty.jmx:7.6.7.v20120910]

        at org.eclipse.jetty.util.component.Container.add(Container.java:211)[90:org.eclipse.jetty.util:7.6.7.v20120910]

        at org.eclipse.jetty.util.component.Container.update(Container.java:169)[90:org.eclipse.jetty.util:7.6.7.v20120910]

        at org.eclipse.jetty.util.component.Container.update(Container.java:111)[90:org.eclipse.jetty.util:7.6.7.v20120910]

        at org.eclipse.jetty.server.Server.setConnectors(Server.java:198)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.Server.addConnector(Server.java:172)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:304)[172:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]

        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:172)[172:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]

        at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:48)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:97)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:836)[157:org.apache.cxf.cxf-rt-bindings-soap:2.6.0.redhat-60024]

        at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:131)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.camel.component.cxf.CxfConsumer.doStart(CxfConsumer.java:249)[194:org.apache.camel.camel-cxf:2.10.0.redhat-60024]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:1777)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:2073)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:2009)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1937)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1716)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1597)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1453)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1421)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:283)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[132:org.springframework.osgi.extender:1.2.1]

        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]

      10:02:31,354 | WARN  | ExtenderThread-2 | MBeanContainer                   | 90 - org.eclipse.jetty.util - 7.6.7.v20120910 | bean: SelectChannelConnector@localhost:8000

      javax.management.InstanceAlreadyExistsException: org.eclipse.jetty.server.nio:type=selectchannelconnector,id=0

        at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)[:1.7.0_21]

        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513)[:1.7.0_21]

        at org.eclipse.jetty.jmx.MBeanContainer.addBean(MBeanContainer.java:297)[93:org.eclipse.jetty.jmx:7.6.7.v20120910]

        at org.eclipse.jetty.jmx.MBeanContainer.add(MBeanContainer.java:145)[93:org.eclipse.jetty.jmx:7.6.7.v20120910]

        at org.eclipse.jetty.util.component.Container.add(Container.java:211)[90:org.eclipse.jetty.util:7.6.7.v20120910]

        at org.eclipse.jetty.util.component.Container.update(Container.java:169)[90:org.eclipse.jetty.util:7.6.7.v20120910]

        at org.eclipse.jetty.util.component.Container.update(Container.java:111)[90:org.eclipse.jetty.util:7.6.7.v20120910]

        at org.eclipse.jetty.server.Server.setConnectors(Server.java:198)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.Server.addConnector(Server.java:172)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:304)[172:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]

        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:172)[172:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]

        at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:48)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:97)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:836)[157:org.apache.cxf.cxf-rt-bindings-soap:2.6.0.redhat-60024]

        at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:131)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.camel.component.cxf.CxfConsumer.doStart(CxfConsumer.java:249)[194:org.apache.camel.camel-cxf:2.10.0.redhat-60024]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:1777)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:2073)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:2009)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1937)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1716)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1597)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1453)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1421)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:283)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[132:org.springframework.osgi.extender:1.2.1]

        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]

      10:02:31,354 | WARN  | ExtenderThread-2 | MBeanContainer                   | 90 - org.eclipse.jetty.util - 7.6.7.v20120910 | bean: org.eclipse.jetty.server.handler.ContextHandlerCollection@50e97b

      javax.management.InstanceAlreadyExistsException: org.eclipse.jetty.server.handler:type=contexthandlercollection,id=0

        at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)[:1.7.0_21]

        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513)[:1.7.0_21]

        at org.eclipse.jetty.jmx.MBeanContainer.addBean(MBeanContainer.java:297)[93:org.eclipse.jetty.jmx:7.6.7.v20120910]

        at org.eclipse.jetty.util.component.Container.addBean(Container.java:182)[90:org.eclipse.jetty.util:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.AbstractHandler.setServer(AbstractHandler.java:80)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.HandlerCollection.setServer(HandlerCollection.java:264)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.HandlerWrapper.setHandler(HandlerWrapper.java:81)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:369)[172:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]

        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:172)[172:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]

        at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:48)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:97)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:836)[157:org.apache.cxf.cxf-rt-bindings-soap:2.6.0.redhat-60024]

        at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:131)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.camel.component.cxf.CxfConsumer.doStart(CxfConsumer.java:249)[194:org.apache.camel.camel-cxf:2.10.0.redhat-60024]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:1777)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:2073)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:2009)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1937)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1716)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1597)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1453)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1421)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:283)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[132:org.springframework.osgi.extender:1.2.1]

        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]

      10:02:31,354 | INFO  | ExtenderThread-2 | Server                           | 90 - org.eclipse.jetty.util - 7.6.7.v20120910 | jetty-7.6.7.v20120910

      10:02:31,370 | WARN  | ExtenderThread-2 | MBeanContainer                   | 90 - org.eclipse.jetty.util - 7.6.7.v20120910 | bean: qtp8546970{8<=0<=0/254,-1}

      javax.management.InstanceAlreadyExistsException: org.eclipse.jetty.util.thread:type=queuedthreadpool,id=0

        at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)[:1.7.0_21]

        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513)[:1.7.0_21]

        at org.eclipse.jetty.jmx.MBeanContainer.addBean(MBeanContainer.java:297)[93:org.eclipse.jetty.jmx:7.6.7.v20120910]

        at org.eclipse.jetty.jmx.MBeanContainer.add(MBeanContainer.java:145)[93:org.eclipse.jetty.jmx:7.6.7.v20120910]

        at org.eclipse.jetty.util.component.Container.add(Container.java:211)[90:org.eclipse.jetty.util:7.6.7.v20120910]

        at org.eclipse.jetty.util.component.Container.update(Container.java:97)[90:org.eclipse.jetty.util:7.6.7.v20120910]

        at org.eclipse.jetty.server.Server.setThreadPool(Server.java:219)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.Server.doStart(Server.java:271)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[90:org.eclipse.jetty.util:7.6.7.v20120910]

        at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:375)[172:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]

        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:172)[172:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]

        at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:48)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:97)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:836)[157:org.apache.cxf.cxf-rt-bindings-soap:2.6.0.redhat-60024]

        at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:131)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.camel.component.cxf.CxfConsumer.doStart(CxfConsumer.java:249)[194:org.apache.camel.camel-cxf:2.10.0.redhat-60024]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:1777)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:2073)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:2009)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1937)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1716)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1597)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1453)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1421)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:283)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[132:org.springframework.osgi.extender:1.2.1]

        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]

      10:02:31,370 | INFO  | ExtenderThread-2 | AbstractConnector                | 90 - org.eclipse.jetty.util - 7.6.7.v20120910 | Started SelectChannelConnector@localhost:8000

      10:02:31,370 | WARN  | ExtenderThread-2 | MBeanContainer                   | 90 - org.eclipse.jetty.util - 7.6.7.v20120910 | bean: o.e.j.s.h.ContextHandler{/pi,null}

      javax.management.InstanceAlreadyExistsException: org.eclipse.jetty.server.handler:type=contexthandler,name=pi,id=0

        at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)[:1.7.0_21]

        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513)[:1.7.0_21]

        at org.eclipse.jetty.jmx.MBeanContainer.addBean(MBeanContainer.java:297)[93:org.eclipse.jetty.jmx:7.6.7.v20120910]

        at org.eclipse.jetty.util.component.Container.addBean(Container.java:182)[90:org.eclipse.jetty.util:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.AbstractHandler.setServer(AbstractHandler.java:80)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.HandlerWrapper.setServer(HandlerWrapper.java:132)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.ContextHandler.setServer(ContextHandler.java:249)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.HandlerCollection.setHandlers(HandlerCollection.java:90)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.ContextHandlerCollection.setHandlers(ContextHandlerCollection.java:162)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.HandlerCollection.addHandler(HandlerCollection.java:282)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:432)[172:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]

        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:172)[172:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]

        at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:48)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:97)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:836)[157:org.apache.cxf.cxf-rt-bindings-soap:2.6.0.redhat-60024]

        at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:131)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.camel.component.cxf.CxfConsumer.doStart(CxfConsumer.java:249)[194:org.apache.camel.camel-cxf:2.10.0.redhat-60024]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:1777)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:2073)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:2009)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1937)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1716)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1597)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1453)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1421)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:283)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[132:org.springframework.osgi.extender:1.2.1]

        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]

      10:02:31,370 | WARN  | ExtenderThread-2 | MBeanContainer                   | 90 - org.eclipse.jetty.util - 7.6.7.v20120910 | bean: org.apache.cxf.transport.http_jetty.JettyHTTPHandler@98a17e

      javax.management.InstanceAlreadyExistsException: org.apache.cxf.transport.http_jetty:type=jettyhttphandler,context=pi,id=0

        at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)[:1.7.0_21]

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)[:1.7.0_21]

        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513)[:1.7.0_21]

        at org.eclipse.jetty.jmx.MBeanContainer.addBean(MBeanContainer.java:297)[93:org.eclipse.jetty.jmx:7.6.7.v20120910]

        at org.eclipse.jetty.util.component.Container.addBean(Container.java:182)[90:org.eclipse.jetty.util:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.AbstractHandler.setServer(AbstractHandler.java:80)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.HandlerWrapper.setServer(HandlerWrapper.java:136)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.ContextHandler.setServer(ContextHandler.java:249)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.HandlerCollection.setHandlers(HandlerCollection.java:90)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.ContextHandlerCollection.setHandlers(ContextHandlerCollection.java:162)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.eclipse.jetty.server.handler.HandlerCollection.addHandler(HandlerCollection.java:282)[84:org.eclipse.jetty.server:7.6.7.v20120910]

        at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:432)[172:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]

        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:172)[172:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]

        at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:48)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:97)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:836)[157:org.apache.cxf.cxf-rt-bindings-soap:2.6.0.redhat-60024]

        at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:131)[147:org.apache.cxf.cxf-api:2.6.0.redhat-60024]

        at org.apache.camel.component.cxf.CxfConsumer.doStart(CxfConsumer.java:249)[194:org.apache.camel.camel-cxf:2.10.0.redhat-60024]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:1777)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:2073)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:2009)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1937)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1716)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1597)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1453)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1421)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:283)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]

        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)[106:org.springframework.context:3.1.3.RELEASE]

        at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[133:org.springframework.osgi.core:1.2.1]

        at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[132:org.springframework.osgi.extender:1.2.1]

        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]

       

       

      I was wondering if there is something I could/should do differently to avoid these warnings?

      I found this JIRA issue for CXF: https://issues.apache.org/jira/browse/CXF-4878

      A Google search lead me to this similar question on the old Fuse Source forums http://fusesource.com/forums/thread.jspa?messageID=16969 but didn't find a satisfying answer.

      My question is whether this is normal for everybody who tries to register two separate web services in two separate bundles, or am I doing something wrong?