-
Bug
-
Resolution: Done
-
Major
-
None
-
jboss-fuse-6.2.1, jboss-fuse-6.3
-
None
-
%
-
-
- Logs
07:35:57,806 | ERROR | l Console Thread | BlueprintCamelContext | 211 - org.apache.camel.camel-blueprint - 2.15.1.redhat-621177 | Error occurred during starting Camel: CamelContext(camel-1) due Failed to start route timerToLog because of duplicate id detected: timerToLog. Please correct ids to be unique among all your routes. org.apache.camel.FailedToStartRouteException: Failed to start route timerToLog because of duplicate id detected: timerToLog. Please correct ids to be unique among all your routes. at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:827) at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:2897) at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:2620) at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:167) at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2469) at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2465) at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2488) at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2465) at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2434) at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:184)[211:org.apache.camel.camel-blueprint:2.15.1.redhat-621177] at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:228)[211:org.apache.camel.camel-blueprint:2.15.1.redhat-621177] at org.apache.camel.blueprint.BlueprintCamelContext.serviceChanged(BlueprintCamelContext.java:154)[211:org.apache.camel.camel-blueprint:2.15.1.redhat-621177] at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:943) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:794) at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544) at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4445) at org.apache.felix.framework.Felix.registerService(Felix.java:3431) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:353) at org.apache.camel.blueprint.BlueprintCamelContext.init(BlueprintCamelContext.java:104)[211:org.apache.camel.camel-blueprint:2.15.1.redhat-621177] at sun.reflect.NativeMethodAcces
- Class BlueprintCamelContext in camel-blueprint bundle.
@Override public void start() throws Exception { final ClassLoader original = Thread.currentThread().getContextClassLoader(); try { // let's set a more suitable TCCL while starting the context Thread.currentThread().setContextClassLoader(getApplicationContextClassLoader()); super.start(); } catch (FailedToCreateRouteException e) { routeDefinitionValid.set(false); } finally { Thread.currentThread().setContextClassLoader(original); } }
- Above catch (FailedToCreateRouteException e) should be replaced with catch(Exception e).
- relates to
-
ENTESB-6729 Blueprint Container Not Reporting Deployment Errors After Rollup Applied
- Closed