Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15804

API provider integration is not able to start due to FailedToStartRouteException

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Blocker
    • Resolution: Done
    • fuse-7.9-GA
    • fuse-7.9-GA
    • Fuse Online
    • None

    Description

      Some API provider integrations are not able to start. I have uploaded an integration to the attachments.
      Reproducible only on Prod build AR4 .
      Not reproducible on upstream version 1.12.0-20210218

      2021-02-18 08:33:56.556  INFO 1 --- [           main] io.undertow                              : stopping server: Undertow - 2.1.4.Final
      2021-02-18 08:33:56.565 ERROR 1 --- [           main] o.s.boot.SpringApplication               : Application run failed
      
      org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToStartRouteException: Failed to start route route1 because of Multiple consumers for the same endpoint is not allowed: servlet:/openapi.json?headerFilterStrategy=syndesisHeaderStrategy&httpMethodRestrict=GET
      	at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1826) ~[camel-core-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:136) ~[camel-spring-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:174) ~[camel-spring-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
      	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
      	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
      	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:404) ~[spring-context-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
      	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:361) ~[spring-context-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
      	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:898) ~[spring-context-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:554) ~[spring-context-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]
      	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.4.RELEASE.jar!/:2.3.4.RELEASE]
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) [spring-boot-2.3.4.RELEASE.jar!/:2.3.4.RELEASE]
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) [spring-boot-2.3.4.RELEASE.jar!/:2.3.4.RELEASE]
      	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.3.4.RELEASE.jar!/:2.3.4.RELEASE]
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.3.4.RELEASE.jar!/:2.3.4.RELEASE]
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.4.RELEASE.jar!/:2.3.4.RELEASE]
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.4.RELEASE.jar!/:2.3.4.RELEASE]
      	at io.syndesis.example.Application.main(Application.java:13) [classes!/:na]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_282]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_282]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_282]
      	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_282]
      	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [project-0.1-SNAPSHOT.jar:na]
      	at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) [project-0.1-SNAPSHOT.jar:na]
      	at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [project-0.1-SNAPSHOT.jar:na]
      	at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:466) [project-0.1-SNAPSHOT.jar:na]
      Caused by: org.apache.camel.FailedToStartRouteException: Failed to start route route1 because of Multiple consumers for the same endpoint is not allowed: servlet:/openapi.json?headerFilterStrategy=syndesisHeaderStrategy&httpMethodRestrict=GET
      	at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:3998) ~[camel-core-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:3974) ~[camel-core-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3894) ~[camel-core-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3658) ~[camel-core-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3501) ~[camel-core-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.impl.DefaultCamelContext$4.call(DefaultCamelContext.java:3260) ~[camel-core-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.impl.DefaultCamelContext$4.call(DefaultCamelContext.java:3256) ~[camel-core-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3279) ~[camel-core-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3256) ~[camel-core-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:72) ~[camel-core-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3172) ~[camel-core-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	at org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:133) ~[camel-spring-2.23.2.fuse-790019-redhat-00001.jar!/:2.23.2.fuse-790019-redhat-00001]
      	... 24 common frames omitted
      
      2021-02-18 08:33:56.569  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'
      

      Attachments

        Activity

          People

            pcongius Pasquale Congiusti
            mkralik@redhat.com Matej Kralik
            Matej Kralik Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: