Hi,

Sometimes our customers can see duplicated CamelContext objects in JMX
consoles, like Hawtio/JVisualVM/etc. One of the ways to get duplicated
CamelContext MBeans is to have route configuration error, like shown in the
stack trace below

2016-04-04 12:02:17,017 | ERROR | pool-46-thread-1 | BlueprintCamelContext      
     
| 47 - org.apache.camel.camel-blueprint - 2.16.2 | Error occurred during
starting Camel: CamelContext(gs1RefAdapterCamelContext) due Failed to start
route wma_inbound_despatch_advice_message because of duplicate id detected:
wma_inbound_despatch_advice_message. Please correct ids to be unique among
all your routes.
org.apache.camel.FailedToStartRouteException: Failed to start route
wma_inbound_despatch_advice_message because of duplicate id detected:
wma_inbound_despatch_advice_message. Please correct ids to be unique among
all your routes.
        at
org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:936)[50:org.apache.camel.camel-core:2.16.2]
        at
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3258)[50:org.apache.camel.camel-core:2.16.2]
        at
org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:2981)[50:org.apache.camel.camel-core:2.16.2]
        at
org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:175)[50:org.apache.camel.camel-core:2.16.2]
        at
org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2812)[50:org.apache.camel.camel-core:2.16.2]
        at
org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2808)[50:org.apache.camel.camel-core:2.16.2]
        at
org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2831)[50:org.apache.camel.camel-core:2.16.2]
        at
org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2808)[50:org.apache.camel.camel-core:2.16.2]
        at
org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[50:org.apache.camel.camel-core:2.16.2]
        at
org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2777)[50:org.apache.camel.camel-core:2.16.2]
        at
org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:180)[47:org.apache.camel.camel-blueprint:2.16.2]
        at
org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:212)[47:org.apache.camel.camel-blueprint:2.16.2]
        at
org.apache.camel.blueprint.BlueprintCamelContext.serviceChanged(BlueprintCamelContext.java:150)[47:org.apache.camel.camel-blueprint:2.16.2]
        at
org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:991)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:839)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:546)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4557)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.felix.framework.Felix.registerService(Felix.java:3549)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:348)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.aries.blueprint.container.BlueprintContainerImpl.registerService(BlueprintContainerImpl.java:480)[33:org.apache.aries.blueprint.core:1.5.0]
        at
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:410)[33:org.apache.aries.blueprint.core:1.5.0]
        at
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:273)[33:org.apache.aries.blueprint.core:1.5.0]
        at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)[33:org.apache.aries.blueprint.core:1.5.0]
        at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)[33:org.apache.aries.blueprint.core:1.5.0]
        at
org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)[33:org.apache.aries.blueprint.core:1.5.0]
        at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[46:org.apache.aries.util:1.1.1]
        at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[46:org.apache.aries.util:1.1.1]
        at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[46:org.apache.aries.util:1.1.1]
        at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[46:org.apache.aries.util:1.1.1]
        at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[46:org.apache.aries.util:1.1.1]
        at
org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:731)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:486)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.felix.framework.Felix.startBundle(Felix.java:2172)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)[org.apache.felix.framework-5.4.0.jar:]
        at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1199)[10:org.apache.karaf.features.core:4.0.4.jda-160323]
        at
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:847)[10:org.apache.karaf.features.core:4.0.4.jda-160323]
        at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089)[10:org.apache.karaf.features.core:4.0.4.jda-160323]
        at
org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985)[10:org.apache.karaf.features.core:4.0.4.jda-160323]
        at
java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_11]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_11]
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_11]
        at java.lang.Thread.run(Thread.java:745)[:1.8.0_11]

This error may appear when customer redeploy one of the customized bundles.
The only way to work around the issue is to restart Apache Karaf container
clean, redeploy all our bundles/features and redeploy fixed offending
bundle. This is workable approach, but not very convenient. Ideally we'd
like for Camel to clean CamelContext MBeans, if Camel failed to start
properly.

The above test was executed on 
* Windows 7 Enterprise
* JDK 
java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
* with the following components and their versions

admin@root>list -t 0
START LEVEL 100 , List Threshold: 0
 ID | State    | Lvl | Version                            | Name
---------------------------------------------------------------------------------------------------------------------------------
  0 | Active   |   0 | 5.4.0                              | System Bundle
  1 | Active   |  30 | 0.14.0                             | Apache Mina SSHD
:: Core
  2 | Active   |   5 | 1.1.2                              | Apache Felix
Metatype Service
  3 | Active   |   5 | 4.0.4                              | Apache Karaf ::
OSGi Services :: EventAdmin
  4 | Active   |   5 | 2.4.5                              | OPS4J Pax Url -
aether:
  5 | Active   |   5 | 2.4.5                              | OPS4J Pax Url -
wrap:
  6 | Active   |   8 | 1.8.5                              | OPS4J Pax
Logging - API
  7 | Active   |   8 | 1.8.5                              | OPS4J Pax
Logging - Service
  8 | Active   |  10 | 1.8.8                              | Apache Felix
Configuration Admin Service
  9 | Active   |  11 | 3.5.0                              | Apache Felix
File Install
 10 | Active   |  30 | 4.0.4.jda-160323                   | Apache Karaf ::
Features :: Core
 11 | Active   |  70 | 2.7.0                              |
Jackson-annotations
 12 | Active   |  70 | 2.7.0                              | Jackson-core
 13 | Active   |  70 | 2.7.0                              | jackson-databind
 14 | Active   |  25 | 18.0.0                             | Guava: Google
Core Libraries for Java
 15 | Active   |  40 | 3.1.2                              | Metrics Core
 16 | Active   |  80 | 1.4.62                             | hawtio ::
hawtio-insight-log
 17 | Active   |  80 | 1.4.62                             | hawtio ::
hawtio-insight-log-osgi
 18 | Active   |  80 | 1.4.62                             | hawtio ::
hawtio-json-schema-mbean
 19 | Active   |  80 | 1.4.62                             | hawtio :: Karaf
terminal plugin
 20 | Active   |  80 | 1.4.62                             | hawtio ::
hawtio-web
 21 | Active   |  10 | 1.2                                | javax.annotation
API
 22 | Active   |  80 | 1.2.0                              | CDI APIs
 23 | Active   |  80 | 1.2                                |
javax.interceptor API
 24 | Active   |  30 | 1.4.5                              | JavaMail API
(compat)
 25 | Active   |  30 | 3.1.0                              | Java Servlet API
 26 | Active   |  80 | 1.2                                |
javax.transaction API
 27 | Active   |  30 | 1.1                                | WebSocket server
API
 28 | Active   |  30 | 2.13.0                             | JLine
 30 | Active   |  40 | 2.9.0                              | ehcache
 31 | Active   |  20 | 1.0.1                              | Apache Aries
Blueprint API
 32 | Active   |  20 | 1.0.7                              | Apache Aries
Blueprint CM
 33 | Active   |  20 | 1.5.0                              | Apache Aries
Blueprint Core, Fragments: 34
 34 | Resolved |  20 | 1.0.0                              | Apache Aries
Blueprint Core Compatiblity Fragment Bundle, Hosts: 33
 35 | Active   |  30 | 1.1.5                              | Apache Aries JMX
API
 36 | Active   |  30 | 1.1.5                              | Apache Aries JMX
Blueprint API
 37 | Active   |  30 | 1.1.5                              | Apache Aries JMX
Blueprint Core
 38 | Active   |  30 | 1.1.5                              | Apache Aries JMX
Core
 39 | Active   |  30 | 1.1.5                              | Apache Aries
Whiteboard support for JMX DynamicMBean services
 40 | Active   |  20 | 1.0.1                              | Apache Aries
Proxy API
 41 | Active   |  20 | 1.0.4                              | Apache Aries
Proxy Service
 42 | Active   |  30 | 1.0.1                              | Apache Aries SPI
Fly Dynamic Weaving Bundle
 43 | Failure  |  80 | 1.1.1                              | Apache Aries
Transaction Blueprint
 44 | Failure  |  80 | 2.1.0                              | Apache Aries
Transaction Blueprint
 45 | Active   |  80 | 1.3.0                              | Apache Aries
Transaction Manager
 46 | Active   |  20 | 1.1.1                              | Apache Aries
Util
 47 | Active   |  50 | 2.16.2                             | camel-blueprint
 48 | Active   |  50 | 2.16.2                             | camel-catalog
 49 | Active   |  80 | 2.16.2                             |
camel-commands-core
 50 | Active   |  50 | 2.16.2                             | camel-core
 51 | Active   |  50 | 2.16.2                             | camel-exec
 52 | Active   |  50 | 2.16.2                             | camel-ftp
 53 | Active   |  50 | 2.16.2                             | camel-jms
 54 | Active   |  50 | 2.16.2                             | camel-spring
 55 | Active   |  80 | 2.16.2                             |
camel-karaf-commands
 56 | Active   |  25 | 1.10.0                             | Apache Commons
Codec
 57 | Active   |  50 | 1.3.0                              | Apache Commons
Exec
 58 | Active   |  50 | 2.4.0                              | Commons IO
 59 | Active   |  30 | 2.6                                | Commons Lang
 60 | Active   |  50 | 3.3.0                              | Commons Net
 61 | Active   |  50 | 1.6.0                              | Commons Pool
 62 | Active   |  40 | 3.1.4                              | Apache CXF Core
 63 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime Colocated Binding
 64 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime CORBA Binding
 65 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime Object Binding
 66 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime SOAP Binding
 67 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime XML Binding
 68 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime Aegis Databinding
 69 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime JAXB DataBinding
 70 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime XmlBeans DataBinding
 71 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime Clustering
 72 | Active   |  40 | 3.1.4                              | Apache CXF
Advanced Logging Feature
 73 | Active   |  40 | 3.1.4                              | Apache CXF
Metrics Feature
 74 | Active   |  40 | 3.1.4                              | Apache CXF
Throttling Feature
 75 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime JAX-RS Frontend
 76 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime JAX-WS Frontend
 77 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime JavaScript Frontend
 78 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime Simple Frontend
 79 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime JavaScript Client Generator
 80 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime Management
 81 | Active   |  40 | 3.1.4                              | Apache CXF
JAX-RS Client
 82 | Active   |  40 | 3.1.4                              | Apache CXF
JAX-RS Extensions: Providers
 83 | Active   |  40 | 3.1.4                              | Apache CXF
JAX-RS Extensions: Search
 84 | Active   |  40 | 3.1.4                              | Apache CXF
JAX-RS Service Description
 85 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime Security functionality
 86 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime SAML Security functionality
 87 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime HTTP Transport
 88 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime HTTP Jetty Transport
 89 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime JMS Transport
 90 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime Local Transport
 91 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime UDP Transport
 92 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime WS Addressing
 93 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime WS MetadataExchange
 94 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime WS Policy
 95 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime WS Reliable Messaging
 96 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime WS Security
 97 | Active   |  40 | 3.1.4                              | Apache CXF
Runtime Core for WSDL
 98 | Active   |  40 | 3.0.5                              | Apache CXF XJC
Runtime
 99 | Active   |  80 | 1.0.2                              | Apache Felix
Coordinator Service
100 | Active   |  30 | 1.1                                | Java
Authentication SPI for Containers
101 | Active   |  10 | 1.1.1                              |
geronimo-jms_1.1_spec
102 | Active   |  80 | 1.1.1                              |
geronimo-jta_1.1_spec
103 | Active   |   9 | 1.1                                | Apache Geronimo
OSGI factory registry
105 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Bundle :: BlueprintStateService
106 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Bundle :: Core
107 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Bundle :: SpringStateService
108 | Active   |  30 | 4.0.4                              | Apache Karaf ::
ConfigAdmin :: Core
109 | Active   |  24 | 4.0.4                              | Apache Karaf ::
Deployer :: Blueprint
110 | Active   |  26 | 4.0.4                              | Apache Karaf ::
Deployer :: Features
111 | Active   |  24 | 4.0.4                              | Apache Karaf ::
Deployer :: Karaf Archive (.kar)
112 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Deployer :: Spring
113 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Diagnostic :: Core
114 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Features :: Command
115 | Active   |  30 | 4.0.4                              | Apache Karaf ::
HTTP :: Core
116 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Instance :: Core
117 | Active   |  30 | 4.0.4                              | Apache Karaf ::
JAAS :: Blueprint :: Config
118 | Active   |  30 | 4.0.4                              | Apache Karaf ::
JAAS :: Blueprint :: Jasypt
119 | Active   |  30 | 4.0.4                              | Apache Karaf ::
JAAS :: Command
120 | Active   |  30 | 4.0.4                              | Apache Karaf ::
JAAS :: Config
121 | Active   |  30 | 4.0.4                              | Apache Karaf ::
JAAS :: Jasypt Encryption
122 | Active   |  30 | 4.0.4                              | Apache Karaf ::
JAAS :: Modules
123 | Active   |  80 | 4.0.4                              | Apache Karaf ::
JMS :: Core
124 | Active   |  30 | 4.0.4                              | Apache Karaf ::
KAR :: Core
125 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Log :: Core
126 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Management
127 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Package :: Core
128 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Service :: Core
129 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Shell :: Various Commands
130 | Resolved |  30 | 4.0.4                              | Apache Karaf ::
Shell :: Console, Hosts: 131
131 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Shell :: Core, Fragments: 130
132 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Shell :: SSH
133 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Shell :: Table
134 | Active   |  30 | 4.0.4                              | Apache Karaf ::
System :: Core
135 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Web :: Core
136 | Active   |  30 | 4.0.4                              | Apache Karaf ::
Wrapper :: Core
137 | Active   |  80 | 2.0.9                              | Apache MINA Core
138 | Active   |  30 | 3.0.3                              | Apache Neethi
139 | Active   |  25 | 2.0.5                              | Apache XML
Security for Java
140 | Active   |  30 | 1.0.0.6                            | Apache
ServiceMix :: Bundles :: aopalliance
141 | Active   |  30 | 3.2.0.1                            | Apache
ServiceMix :: Bundles :: cglib
142 | Active   |  30 | 1.2.13.1                           | Apache
ServiceMix :: Bundles :: FastInfoset
143 | Active   |  30 | 1.9.2.1                            | Apache
ServiceMix :: Bundles :: jasypt
144 | Active   |  30 | 1.9.2.1                            | Apache
ServiceMix :: Bundles :: jasypt-spring31
145 | Active   |  80 | 1.0.0.2                            | Apache
ServiceMix :: Bundles :: javax.inject
146 | Active   |  10 | 2.2.6.1                            | Apache
ServiceMix :: Bundles :: jaxb-impl
147 | Active   |  20 | 2.2.11.1                           | Apache
ServiceMix :: Bundles :: jaxb-impl
148 | Active   |  20 | 2.2.11.1                           | Apache
ServiceMix :: Bundles :: jaxb-xjc
149 | Active   |  50 | 0.1.53.1                           | Apache
ServiceMix :: Bundles :: jsch
150 | Active   |  30 | 0.3.11.1                           | Apache
ServiceMix :: Bundles :: not-yet-commons-ssl
151 | Active   |  25 | 3.1.1.3                            | Apache
ServiceMix :: Bundles :: opensaml
152 | Active   |  40 | 1.0.0.7R2_3                        | Apache
ServiceMix :: Bundles :: js
153 | Active   |  25 | 1.3.23.2                           | Apache
ServiceMix :: Bundles :: saaj-impl
154 | Active   |  30 | 3.2.14.RELEASE_1                   | Apache
ServiceMix :: Bundles :: spring-aop
155 | Active   |  30 | 3.2.14.RELEASE_1                   | Apache
ServiceMix :: Bundles :: spring-beans
156 | Active   |  30 | 3.2.14.RELEASE_1                   | Apache
ServiceMix :: Bundles :: spring-context
157 | Active   |  30 | 3.2.14.RELEASE_1                   | Apache
ServiceMix :: Bundles :: spring-context-support
158 | Active   |  30 | 3.2.14.RELEASE_1                   | Apache
ServiceMix :: Bundles :: spring-core
159 | Active   |  30 | 3.2.14.RELEASE_1                   | Apache
ServiceMix :: Bundles :: spring-expression
160 | Active   |  30 | 3.2.14.RELEASE_1                   | Apache
ServiceMix :: Bundles :: spring-jms
161 | Active   |  30 | 3.2.14.RELEASE_1                   | Apache
ServiceMix :: Bundles :: spring-tx
162 | Active   |  30 | 1.6.3.1                            | Apache
ServiceMix :: Bundles :: wsdl4j
163 | Active   |  30 | 2.6.0.2                            | Apache
ServiceMix :: Bundles :: xmlbeans
164 | Active   |  25 | 1.2.0.5                            | Apache
ServiceMix :: Bundles :: xmlresolver
165 | Active   |  10 | 2.4.0                              | Apache
ServiceMix :: Specs :: JSR-339 API 2.0
166 | Active   |  30 | 2.2.1                              | XmlSchema Core
167 | Active   |  30 | 2.1.4                              | Apache WSS4J
WS-Security Bindings
168 | Active   |  30 | 2.1.4                              | Apache WSS4J
WS-SecurityPolicy model
169 | Active   |  30 | 2.1.4                              | Apache WSS4J
WS-Security Common
170 | Active   |  30 | 2.1.4                              | Apache WSS4J DOM
WS-Security
171 | Active   |  30 | 2.1.4                              | Apache WSS4J
Streaming WS-SecurityPolicy
172 | Active   |  30 | 2.1.4                              | Apache WSS4J
Streaming WS-Security
173 | Active   |  20 | 4.1.0                              | Apache XBean
OSGI Bundle Utilities
174 | Active   |  20 | 4.1.0                              | Apache XBean ::
Classpath Resource Finder
175 | Active   |  30 | 1.3.7                              | jettison
176 | Active   |  30 | 3.10.0.v20140604-1726              | Eclipse Compiler
for Java(TM)
177 | Active   |  70 | 8.1.19.v20160209                   | Jetty ::
Aggregate :: All Server
178 | Active   |  30 | 9.2.14.v20151106                   | Jetty ::
Asynchronous HTTP Client
179 | Active   |  30 | 9.2.14.v20151106                   | Jetty ::
Continuation
180 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: Http
Utility
181 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: IO
Utility
182 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: JAAS
183 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: JASPI
Security
184 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: JMX
Management
185 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: JNDI
Naming
186 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: Plus
187 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: Rewrite
Handler
188 | Active   |  30 | 9.2.14.v20151106                   | Jetty ::
Security
189 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: Server
Core
190 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: Servlet
Handling
191 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: Utility
Servlets and Filters
192 | Active   |  30 | 9.2.14.v20151106                   | Jetty ::
Utilities
193 | Active   |  30 | 9.2.14.v20151106                   | Jetty ::
Utilities :: Ajax(JSON)
194 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: Webapp
Application Support
195 | Active   |  30 | 9.2.14.v20151106                   | Jetty ::
Websocket :: API
196 | Active   |  30 | 9.2.14.v20151106                   | Jetty ::
Websocket :: Client
197 | Active   |  30 | 9.2.14.v20151106                   | Jetty ::
Websocket :: Common
198 | Active   |  30 | 9.2.14.v20151106                   | Jetty ::
Websocket :: javax.websocket :: Client Implementation
199 | Active   |  30 | 9.2.14.v20151106                   | Jetty ::
Websocket :: javax.websocket.server :: Server Implementation
200 | Active   |  30 | 9.2.14.v20151106                   | Jetty ::
Websocket :: Server
201 | Active   |  30 | 9.2.14.v20151106                   | Jetty ::
Websocket :: Servlet Interface
202 | Active   |  30 | 9.2.14.v20151106                   | Jetty :: XML
utilities
203 | Active   |  30 | 0.2.1                              | JLEdit :: Core
204 | Active   |  25 | 1.7.6                              | Extended StAX
API
205 | Active   |  20 | 5.0.4                              | ASM all classes
with debug info
206 | Active   |  30 | 2.4.2                              | OPS4J Pax Url -
war
207 | Active   |  30 | 4.2.4                              | OPS4J Pax Web -
API
208 | Active   |  30 | 4.2.4                              | OPS4J Pax Web -
FileInstall Deployer
209 | Active   |  30 | 4.2.4                              | OPS4J Pax Web -
Extender - WAR
210 | Active   |  30 | 4.2.4                              | OPS4J Pax Web -
Extender - Whiteboard
211 | Active   |  30 | 4.2.4                              | OPS4J Pax Web -
Jetty
212 | Active   |  30 | 4.2.4                              | OPS4J Pax Web -
Jsp Support
213 | Active   |  30 | 4.2.4                              | OPS4J Pax Web -
Runtime
214 | Active   |  30 | 4.2.4                              | OPS4J Pax Web -
Service SPI
215 | Active   |  30 | 1.2.1                              | spring-osgi-core
216 | Active   |  30 | 1.2.1                              |
spring-osgi-extender
217 | Active   |  30 | 1.2.1                              |
spring-osgi-annotation
218 | Active   |  30 | 1.2.1                              | spring-osgi-io
219 | Active   |  20 | 3.1.4                              | Stax2 API
220 | Active   |  20 | 4.4.1                              | Woodstox
XML-processor
221 | Active   |  50 | 5.13.1                             | activemq-karaf
222 | Active   |  70 | 2.7.0                              |
Jackson-JAXRS-base
223 | Active   |  70 | 2.7.0                              |
Jackson-JAXRS-JSON
224 | Active   |  70 | 2016.1.0.SNAPSHOT                  | JDA FLEX ::
Services :: Meta
225 | Active   |  70 | 2016.1.0.SNAPSHOT                  | JDA FLEX ::
Services :: GS1 JDA Model
226 | Active   |  70 | 3.2.0                              | JDA FLEX ::
Services :: GS1 Model
227 | Active   |  70 | 2016.1.0.SNAPSHOT                  | JDA FLEX ::
Services :: GS1 Support
228 | Active   |  70 | 2016.1.0.SNAPSHOT                  | JDA FLEX ::
Services :: API
229 | Active   |  70 | 2016.1.0.SNAPSHOT                  | JDA FLEX ::
Services :: Console
230 | Active   |  70 | 2016.1.0.SNAPSHOT                  | JDA FLEX ::
Services :: Core
231 | Active   |  90 | 2016.1.0.SNAPSHOT                  | JDA FLEX ::
Services :: Sample GS1 Adapter
232 | Active   |  65 | 2016.1.0.SNAPSHOT                  | JDA FLEX ::
Services :: Sample Version Module
233 | Active   |  70 | 2016.1.0.SNAPSHOT                  | JDA FLEX ::
Services :: Web
234 | Active   |  70 | 2016.1.0.SNAPSHOT                  | JDA FLEX ::
Services :: Probes
235 | Active   |  70 | 2016.1.0.SNAPSHOT                  | JDA FLEX ::
Services :: REST API
236 | Active   |  70 | 2016.1.0.SNAPSHOT                  | JDA FLEX ::
Services :: Utilities
237 | Active   |  70 | 3.0.0                              | JDA :: MAD Core
238 | Active   |  70 | 1.4.62                             | hawtio ::
hawtio-osgi-jmx
239 | Active   |  70 | 3.1.3                              | Java UUID
Generator
240 | Active   |  50 | 2.8.2                              | Joda-Time
241 | Active   |  50 | 3.1.4                              | activeio-core
242 | Active   |  50 | 5.13.1                             | activemq-osgi
243 | Active   |  50 | 3.2.2                              | Apache Commons
Collections
244 | Active   |  50 | 2.4.2                              | Apache Commons
Pool
245 | Active   |  50 | 2.0.0                              |
geronimo-j2ee-connector_1.5_spec
246 | Active   |  50 | 1.0.1                              |
geronimo-j2ee-management_1.1_spec
247 | Active   |  50 | 3.4.6                              | ZooKeeper Bundle
248 | Active   |  70 | 2.4.0.final_20141213170938         | Ivy
249 | Active   |  50 | 1.7.0.6                            | Apache
ServiceMix :: Bundles :: velocity
250 | Active   |  50 | 1.1.0.4c_5                         | Apache
ServiceMix :: Bundles :: xpp3
251 | Active   |  50 | 1.4.8.1                            | Apache
ServiceMix :: Bundles :: xstream
252 | Active   |  50 | 3.18.0                             | Apache XBean ::
Spring
253 | Active   |  50 | 0.6.4                              | JAXB2 Basics -
Runtime
254 | Active   |  50 | 2.11.0.v20140415-163722-cac6383e66 | Scala Standard
Library


We found similar issue reported against Hawtio
(https://github.com/hawtio/hawtio/issues/1518). It only states that it is
not Hawtio issue and does not provide any links to related issues on
Camel/Karaf sides. There was one similar CAMEL-2716 issue, but it is fixed a
long time ago (2010), so not related to our problem. 

One of the ways to fix the issue would be to unregister JMX CamelContent
MBean in org.apache.camel.impl.DefaultCamelContext class, method
doStartCamel in case of an exception, but we do not have enough knowledge of
Camel source code to be sure that this is a best fix for the problem.

Thanks,
Viktor





--
View this message in context: 
http://camel.465427.n5.nabble.com/Duplicated-JMX-MBean-CamelContext-tp5780457.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to