org.apache.camel.FailedToCreateRouteException: Failed to create route myRoute: Route(myRoute)[[From[quartz2://stat... because of Failed to resolve endpoint: quartz2://statGroup/startupTimer?trigger.repeatCount=0&trigger.repeatInterval=1 due to: Failed to obtain DB connection from data source 'statQuartzDS': java.sql.SQLException: Could not retrieve datasource via JNDI url 'osgi:service/statQuartzDS' java.sql.SQLException: Unable to acquire a new connection from the pool

Stack Overflow | Rachid Kraiem | 2 months ago
  1. 0

    CamelContext: Failed create route contain quartz when database is unreachable

    Stack Overflow | 2 months ago | Rachid Kraiem
    org.apache.camel.FailedToCreateRouteException: Failed to create route myRoute: Route(myRoute)[[From[quartz2://stat... because of Failed to resolve endpoint: quartz2://statGroup/startupTimer?trigger.repeatCount=0&trigger.repeatInterval=1 due to: Failed to obtain DB connection from data source 'statQuartzDS': java.sql.SQLException: Could not retrieve datasource via JNDI url 'osgi:service/statQuartzDS' java.sql.SQLException: Unable to acquire a new connection from the pool
  2. 0

    GitHub comment 111#157742989

    GitHub | 1 year ago | ruebot
    org.apache.camel.FailedToCreateRouteException: Failed to create route addAsMember at: >>> To[mustache:templates/addAsMemberOfCollectionSparql.mustache] <<< in route: Route(addAsMember)[[From[direct:addAsMember]] -> [To[mustach... because of Failed to resolve endpoint: mustache://templates/addAsMemberOfCollectionSparql.mustache due to: No component found with scheme: mustache
  3. 0

    Using Camel-hdfs in a karaf bundle

    Stack Overflow | 4 years ago | Djee
    org.osgi.framework.BundleException: Exception in activation.Activator.start() of bundle group.receiveFile.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Camel jetty component, custom header filter strategy

    Stack Overflow | 3 years ago | evgeniy44
    org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route[[From[jetty:http://my.host:32278/general-nr/notify?hea... because of Failed to resolve endpoint: jetty://http://my.host:32278/general-nr/notify?headerFilterStrategy=str due to: Could not find a suitable setter for property: headerFilterStrategy as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: java.lang.String to the required type: org.apache.camel.spi.HeaderFilterStrategy with value str
  6. 0

    Invoking JAX-WS Web service from Camel

    Stack Overflow | 2 years ago | user2824073
    org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route[[From[cxf:http://localhost:8080/helloWorld?serviceClas... because of Failed to resolve endpoint: cxf://http://localhost:8080/helloWorld?serviceClass=com.sample.HelloWorld due to: No component found with scheme: cxf

  1. aldrinleal 2 times, last 5 months ago
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.camel.FailedToCreateRouteException

    Failed to create route myRoute: Route(myRoute)[[From[quartz2://stat... because of Failed to resolve endpoint: quartz2://statGroup/startupTimer?trigger.repeatCount=0&trigger.repeatInterval=1 due to: Failed to obtain DB connection from data source 'statQuartzDS': java.sql.SQLException: Could not retrieve datasource via JNDI url 'osgi:service/statQuartzDS' java.sql.SQLException: Unable to acquire a new connection from the pool

    at org.apache.camel.model.RouteDefinition.addRoutes()
  2. Camel :: Core
    DefaultCamelContext.start
    1. org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:201)
    2. org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:974)[83:org.apache.camel.camel-core:2.17.3]
    3. org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3301)[83:org.apache.camel.camel-core:2.17.3]
    4. org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3024)[83:org.apache.camel.camel-core:2.17.3]
    5. org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:175)[83:org.apache.camel.camel-core:2.17.3]
    6. org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2854)
    7. org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2850)
    8. org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2873)[83:org.apache.camel.camel-core:2.17.3]
    9. org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2850)[83:org.apache.camel.camel-core:2.17.3]
    10. org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
    11. org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2819)[83:org.apache.camel.camel-core:2.17.3]
    11 frames
  3. Camel :: Blueprint
    BlueprintCamelContext.serviceChanged
    1. org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:180)
    2. org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:212)
    3. org.apache.camel.blueprint.BlueprintCamelContext.serviceChanged(BlueprintCamelContext.java:150)
    3 frames
  4. Apache Felix Framework
    BundleContextImpl.registerService
    1. org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:991)[org.apache.felix.framework-5.4.0.jar:]
    2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:839)[org.apache.felix.framework-5.4.0.jar:]
    3. org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:546)[org.apache.felix.framework-5.4.0.jar:]
    4. org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4557)[org.apache.felix.framework-5.4.0.jar:]
    5. org.apache.felix.framework.Felix.registerService(Felix.java:3549)[org.apache.felix.framework-5.4.0.jar:]
    6. org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:348)
    7. org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:355)
    7 frames
  5. Camel :: Blueprint
    BlueprintCamelContext.init
    1. org.apache.camel.blueprint.BlueprintCamelContext.init(BlueprintCamelContext.java:100)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_101]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_101]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]
    4. java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]
    4 frames
  7. Apache Aries Blueprint Core
    AbstractRecipe$1.call
    1. org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:299)[12:org.apache.aries.blueprint.core:1.6.2]
    2. org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:980)[12:org.apache.aries.blueprint.core:1.6.2]
    3. org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:736)[12:org.apache.aries.blueprint.core:1.6.2]
    4. org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:848)[12:org.apache.aries.blueprint.core:1.6.2]
    5. org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[12:org.apache.aries.blueprint.core:1.6.2]
    6. org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[12:org.apache.aries.blueprint.core:1.6.2]
    6 frames
  8. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101]
    1 frame