Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 18AA1200B49 for ; Mon, 4 Jul 2016 14:18:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 17823160A65; Mon, 4 Jul 2016 12:18:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C0893160A6D for ; Mon, 4 Jul 2016 14:18:13 +0200 (CEST) Received: (qmail 64383 invoked by uid 500); 4 Jul 2016 12:18:13 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 64270 invoked by uid 99); 4 Jul 2016 12:18:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2016 12:18:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 14B982C02AA for ; Mon, 4 Jul 2016 12:18:11 +0000 (UTC) Date: Mon, 4 Jul 2016 12:18:11 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-10118) Spring-boot compatibility test results MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 04 Jul 2016 12:18:15 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10118?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-10118: -------------------------------- Component/s: tests > Spring-boot compatibility test results > -------------------------------------- > > Key: CAMEL-10118 > URL: https://issues.apache.org/jira/browse/CAMEL-10118 > Project: Camel > Issue Type: Test > Components: tests > Reporter: Nicola Ferraro > Priority: Minor > Fix For: 2.18.0 > > > I made some changes to the spring-boot integration test and ran it to che= ck how we are going (I'll push the updated version soon). I let the test fi= x automatically many of the dependency issues about logging and missing lib= raries, so here I provide a list of components that have some real problems= running in spring-boot. > I think we should either fix them, or change the corresponding test (eg. = to include a required lib). Once all issues are fixed, the test can be auto= mated. > *camel-xmlbeans* > The _spring.factories_ file declares an auto-configuration class that doe= s not exist. > {noformat} > 2016-07-03 17:25:27.445 ERROR 21216 --- [on(3)-127.0.0.1] o.s.boot.Spring= Application : Application startup failed > org.springframework.beans.factory.BeanDefinitionStoreException: Failed to= process import candidates for configuration class [org.apache.camel.itest.= springboot.ITestApplication]; nested exception is java.lang.IllegalStateExc= eption: java.io.FileNotFoundException: class path resource [org/apache/came= l/converter/xmlbeans/springboot/XmlBeansDataFormatAutoConfiguration.class] = cannot be opened because it does not exist > =09at org.springframework.context.annotation.ConfigurationClassParser.pro= cessDeferredImportSelectors(ConfigurationClassParser.java:462) ~[spring-con= text-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.context.annotation.ConfigurationClassParser.par= se(ConfigurationClassParser.java:186) ~[spring-context-4.2.6.RELEASE.jar!/:= 4.2.6.RELEASE] > =09... > Caused by: java.lang.IllegalStateException: java.io.FileNotFoundException= : class path resource [org/apache/camel/converter/xmlbeans/springboot/XmlBe= ansDataFormatAutoConfiguration.class] cannot be opened because it does not = exist > =09at org.springframework.boot.autoconfigure.EnableAutoConfigurationImpor= tSelector.selectImports(EnableAutoConfigurationImportSelector.java:87) ~[sp= ring-boot-autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] > =09at org.springframework.context.annotation.ConfigurationClassParser.pro= cessDeferredImportSelectors(ConfigurationClassParser.java:454) ~[spring-con= text-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09... 160 common frames omitted > Caused by: java.io.FileNotFoundException: class path resource [org/apache= /camel/converter/xmlbeans/springboot/XmlBeansDataFormatAutoConfiguration.cl= ass] cannot be opened because it does not exist > =09at org.springframework.core.io.ClassPathResource.getInputStream(ClassP= athResource.java:172) ~[spring-core-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.core.type.classreading.SimpleMetadataReader.(SimpleMetadataReader.java:50) ~[spring-core-4.2.6.RELEASE.jar!/:4.2.6.R= ELEASE] > =09at org.springframework.core.type.classreading.SimpleMetadataReaderFact= ory.getMetadataReader(SimpleMetadataReaderFactory.java:98) ~[spring-core-4.= 2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.core.type.classreading.CachingMetadataReaderFac= tory.getMetadataReader(CachingMetadataReaderFactory.java:102) ~[spring-core= -4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.core.type.classreading.SimpleMetadataReaderFact= ory.getMetadataReader(SimpleMetadataReaderFactory.java:93) ~[spring-core-4.= 2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.boot.autoconfigure.AutoConfigurationSorter$Auto= ConfigurationClasses.(AutoConfigurationSorter.java:112) ~[spring-boot= -autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] > =09at org.springframework.boot.autoconfigure.AutoConfigurationSorter.getI= nPriorityOrder(AutoConfigurationSorter.java:56) ~[spring-boot-autoconfigure= -1.3.5.RELEASE.jar!/:1.3.5.RELEASE] > =09at org.springframework.boot.autoconfigure.EnableAutoConfigurationImpor= tSelector.sort(EnableAutoConfigurationImportSelector.java:173) ~[spring-boo= t-autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] > =09at org.springframework.boot.autoconfigure.EnableAutoConfigurationImpor= tSelector.selectImports(EnableAutoConfigurationImportSelector.java:82) ~[sp= ring-boot-autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE] > =09... 161 common frames omitted > {noformat} > *camel-bindy* > Spring seems to be unable to inject the parameter of type _BindyFixedLeng= thDataFormatConfiguration_ into the auto-configuration method in class _Bin= dyFixedLengthDataFormatAutoConfiguration_. > {noformat} > 2016-07-03 15:28:05.014 WARN 27144 --- [on(4)-127.0.0.1] s.c.a.Annotatio= nConfigApplicationContext : Exception encountered during context initializa= tion - cancelling refresh attempt: org.springframework.beans.factory.Unsati= sfiedDependencyException: Error creating bean with name 'configureBindyFixe= dLengthDataFormat' defined in class path resource [org/apache/camel/datafor= mat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.clas= s]: Unsatisfied dependency expressed through constructor argument with inde= x 1 of type [org.apache.camel.dataformat.bindy.fixed.springboot.BindyFixedL= engthDataFormatConfiguration]: No qualifying bean of type [org.apache.camel= .dataformat.bindy.fixed.springboot.BindyFixedLengthDataFormatConfiguration]= found for dependency: expected at least 1 bean which qualifies as autowire= candidate for this dependency. Dependency annotations: {}; nested exceptio= n is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qu= alifying bean of type [org.apache.camel.dataformat.bindy.fixed.springboot.B= indyFixedLengthDataFormatConfiguration] found for dependency: expected at l= east 1 bean which qualifies as autowire candidate for this dependency. Depe= ndency annotations: {} > 2016-07-03 15:28:05.018 INFO 27144 --- [on(4)-127.0.0.1] o.a.camel.sprin= g.SpringCamelContext : Apache Camel 2.18-SNAPSHOT (CamelContext: camel= -1) is shutting down > 2016-07-03 15:28:05.036 INFO 27144 --- [on(4)-127.0.0.1] o.a.camel.sprin= g.SpringCamelContext : Apache Camel 2.18-SNAPSHOT (CamelContext: camel= -1) uptime=20 > 2016-07-03 15:28:05.036 INFO 27144 --- [on(4)-127.0.0.1] o.a.camel.sprin= g.SpringCamelContext : Apache Camel 2.18-SNAPSHOT (CamelContext: camel= -1) is shutdown in 0.018 seconds > 2016-07-03 15:28:05.046 ERROR 27144 --- [on(4)-127.0.0.1] o.s.boot.Spring= Application : Application startup failed > org.springframework.beans.factory.UnsatisfiedDependencyException: Error c= reating bean with name 'configureBindyFixedLengthDataFormat' defined in cla= ss path resource [org/apache/camel/dataformat/bindy/fixed/springboot/BindyF= ixedLengthDataFormatAutoConfiguration.class]: Unsatisfied dependency expres= sed through constructor argument with index 1 of type [org.apache.camel.dat= aformat.bindy.fixed.springboot.BindyFixedLengthDataFormatConfiguration]: No= qualifying bean of type [org.apache.camel.dataformat.bindy.fixed.springboo= t.BindyFixedLengthDataFormatConfiguration] found for dependency: expected a= t least 1 bean which qualifies as autowire candidate for this dependency. D= ependency annotations: {}; nested exception is org.springframework.beans.fa= ctory.NoSuchBeanDefinitionException: No qualifying bean of type [org.apache= .camel.dataformat.bindy.fixed.springboot.BindyFixedLengthDataFormatConfigur= ation] found for dependency: expected at least 1 bean which qualifies as au= towire candidate for this dependency. Dependency annotations: {} > =09... > Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionExceptio= n: No qualifying bean of type [org.apache.camel.dataformat.bindy.fixed.spri= ngboot.BindyFixedLengthDataFormatConfiguration] found for dependency: expec= ted at least 1 bean which qualifies as autowire candidate for this dependen= cy. Dependency annotations: {} > =09at org.springframework.beans.factory.support.DefaultListableBeanFactor= y.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1373) = ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.DefaultListableBeanFactor= y.doResolveDependency(DefaultListableBeanFactory.java:1119) ~[spring-beans-= 4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.DefaultListableBeanFactor= y.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.= 2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.ConstructorResolver.resol= veAutowiredArgument(ConstructorResolver.java:813) ~[spring-beans-4.2.6.RELE= ASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.ConstructorResolver.creat= eArgumentArray(ConstructorResolver.java:741) ~[spring-beans-4.2.6.RELEASE.j= ar!/:4.2.6.RELEASE] > =09... 165 common frames omitted > {noformat} > *camel-mongodb-gridfs and camel-mongodb* > It seems that the Spring configurator assumes that _spring-data-mongodb_ = is present in classpath, but it is not. We can either add it, change the te= st to include the lib and/or fix the Spring configurator. > {noformat} > org.springframework.beans.factory.BeanCreationException: Error creating b= ean with name 'org.springframework.boot.autoconfigure.mongo.embedded.Embedd= edMongoAutoConfiguration$EmbeddedMongoDependencyConfiguration': Instantiati= on of bean failed; nested exception is org.springframework.beans.BeanInstan= tiationException: Failed to instantiate [org.springframework.boot.autoconfi= gure.mongo.embedded.EmbeddedMongoAutoConfiguration$EmbeddedMongoDependencyC= onfiguration$$EnhancerBySpringCGLIB$$6bcc435e]: Constructor threw exception= ; nested exception is java.lang.NoClassDefFoundError: org/springframework/d= ata/mongodb/core/MongoClientFactoryBean > 2016-07-03 16:34:38.417 ERROR 10484 --- [on(3)-127.0.0.1] o.s.boot.Spring= Application : Application startup failed > org.springframework.beans.factory.BeanCreationException: Error creating b= ean with name 'org.springframework.boot.autoconfigure.mongo.embedded.Embedd= edMongoAutoConfiguration$EmbeddedMongoDependencyConfiguration': Instantiati= on of bean failed; nested exception is org.springframework.beans.BeanInstan= tiationException: Failed to instantiate [org.springframework.boot.autoconfi= gure.mongo.embedded.EmbeddedMongoAutoConfiguration$EmbeddedMongoDependencyC= onfiguration$$EnhancerBySpringCGLIB$$6bcc435e]: Constructor threw exception= ; nested exception is java.lang.NoClassDefFoundError: org/springframework/d= ata/mongodb/core/MongoClientFactoryBean > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105) ~[s= pring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050) = ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > ... > org.springframework.beans.BeanInstantiationException: Failed to instantia= te [org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAuto= Configuration$EmbeddedMongoDependencyConfiguration$$EnhancerBySpringCGLIB$$= 6bcc435e]: Constructor threw exception; nested exception is java.lang.NoCla= ssDefFoundError: org/springframework/data/mongodb/core/MongoClientFactoryBe= an > =09at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java= :163) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.SimpleInstantiationStrate= gy.instantiate(SimpleInstantiationStrategy.java:89) ~[spring-beans-4.2.6.RE= LEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098) ~[s= pring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09... 163 common frames omitted > Caused by: java.lang.NoClassDefFoundError: org/springframework/data/mongo= db/core/MongoClientFactoryBean > =09at org.springframework.boot.autoconfigure.data.mongo.MongoClientDepend= sOnBeanFactoryPostProcessor.(MongoClientDependsOnBeanFactoryPostProce= ssor.java:41) ~[spring-boot-autoconfigure-1.3.5.RELEASE.jar!/:1.3.5.RELEASE= ] > =09at org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongo= AutoConfiguration$EmbeddedMongoDependencyConfiguration.(EmbeddedMongo= AutoConfiguration.java:207) ~[spring-boot-autoconfigure-1.3.5.RELEASE.jar!/= :1.3.5.RELEASE] > =09at org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongo= AutoConfiguration$EmbeddedMongoDependencyConfiguration$$EnhancerBySpringCGL= IB$$6bcc435e.() ~[spring-boot-autoconfigure-1.3.5.RELEASE.= jar!/:1.3.5.RELEASE] > =09at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Metho= d) ~[na:1.8.0_91] > =09at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstru= ctorAccessorImpl.java:62) ~[na:1.8.0_91] > =09at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delegatin= gConstructorAccessorImpl.java:45) ~[na:1.8.0_91] > =09at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[n= a:1.8.0_91] > =09at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java= :147) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09... 165 common frames omitted > {noformat} > *camel-optaplanner* > This module requires an old version of logback 1.0.x, as it depends (inte= rnally, it doesn't have a _logback.xml_ file) on a removed class: _ch/qos/l= ogback/core/joran/spi/Pattern_. But spring-boot-starter requires logback 1.= 1.x, because it uses a new class: _ch/qos/logback/core/joran/spi/ElementSel= ector_. > {noformat} > java.lang.NoClassDefFoundError: ch/qos/logback/core/joran/spi/ElementSele= ctor > =09at org.springframework.boot.logging.logback.SpringBootJoranConfigurato= r.addInstanceRules(SpringBootJoranConfigurator.java:45) > =09at ch.qos.logback.core.joran.GenericConfigurator.buildInterpreter(Gene= ricConfigurator.java:123) > =09at ch.qos.logback.core.joran.JoranConfiguratorBase.buildInterpreter(Jo= ranConfiguratorBase.java:102) > =09at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericCo= nfigurator.java:154) > =09at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericCo= nfigurator.java:143) > =09at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericCo= nfigurator.java:106) > =09at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericCo= nfigurator.java:56) > =09at org.springframework.boot.logging.logback.LogbackLoggingSystem.confi= gureByResourceUrl(LogbackLoggingSystem.java:163) > =09at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadC= onfiguration(LogbackLoggingSystem.java:135) > =09at org.springframework.boot.logging.logback.LogbackLoggingSystem.reini= tialize(LogbackLoggingSystem.java:195) > =09at org.springframework.boot.logging.AbstractLoggingSystem.initializeWi= thConventions(AbstractLoggingSystem.java:65) > =09at org.springframework.boot.logging.AbstractLoggingSystem.initialize(A= bstractLoggingSystem.java:50) > =09at org.springframework.boot.logging.logback.LogbackLoggingSystem.initi= alize(LogbackLoggingSystem.java:106) > =09at org.springframework.boot.logging.LoggingApplicationListener.initial= izeSystem(LoggingApplicationListener.java:277) > =09at org.springframework.boot.logging.LoggingApplicationListener.initial= ize(LoggingApplicationListener.java:255) > =09at org.springframework.boot.logging.LoggingApplicationListener.onAppli= cationEnvironmentPreparedEvent(LoggingApplicationListener.java:224) > =09at org.springframework.boot.logging.LoggingApplicationListener.onAppli= cationEvent(LoggingApplicationListener.java:200) > =09at org.springframework.context.event.SimpleApplicationEventMulticaster= .invokeListener(SimpleApplicationEventMulticaster.java:166) > =09at org.springframework.context.event.SimpleApplicationEventMulticaster= .multicastEvent(SimpleApplicationEventMulticaster.java:138) > =09at org.springframework.context.event.SimpleApplicationEventMulticaster= .multicastEvent(SimpleApplicationEventMulticaster.java:121) > =09at org.springframework.boot.context.event.EventPublishingRunListener.p= ublishEvent(EventPublishingRunListener.java:111) > =09at org.springframework.boot.context.event.EventPublishingRunListener.e= nvironmentPrepared(EventPublishingRunListener.java:65) > =09at org.springframework.boot.SpringApplicationRunListeners.environmentP= repared(SpringApplicationRunListeners.java:54) > =09at org.springframework.boot.SpringApplication.createAndRefreshContext(= SpringApplication.java:330) > =09at org.springframework.boot.SpringApplication.run(SpringApplication.ja= va:307) > =09at org.springframework.boot.SpringApplication.run(SpringApplication.ja= va:1191) > =09at org.springframework.boot.SpringApplication.run(SpringApplication.ja= va:1180) > =09at org.apache.camel.itest.springboot.ITestApplication.main(ITestApplic= ation.java:32) > =09... 147 more > Caused by: java.lang.ClassNotFoundException: ch.qos.logback.core.joran.sp= i.ElementSelector > =09at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > =09at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > =09at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(= LaunchedURLClassLoader.java:178) > =09at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(La= unchedURLClassLoader.java:142) > =09at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > =09... 175 more > {noformat} > *camel-sjms* > It seems an auto-configuration class is assuming that atomikos is in the = classpath. > {noformat} > org.springframework.beans.factory.BeanCreationException: Error creating b= ean with name 'jmsConnectionFactory' defined in class path resource [org/sp= ringframework/boot/autoconfigure/jms/activemq/ActiveMQXAConnectionFactoryCo= nfiguration.class]: Invocation of init method failed; nested exception is j= ava.lang.NoClassDefFoundError: com/atomikos/icatch/system/Configuration > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578) ~[sp= ring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[sprin= g-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-= beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09... > Caused by: java.lang.NoClassDefFoundError: com/atomikos/icatch/system/Con= figuration > =09at com.atomikos.jms.AtomikosConnectionFactoryBean.doInit(AtomikosConne= ctionFactoryBean.java:441) ~[transactions-jms-3.9.3.jar!/:na] > =09at com.atomikos.jms.AtomikosConnectionFactoryBean.init(AtomikosConnect= ionFactoryBean.java:360) ~[transactions-jms-3.9.3.jar!/:na] > =09at org.springframework.boot.jta.atomikos.AtomikosConnectionFactoryBean= .afterPropertiesSet(AtomikosConnectionFactoryBean.java:50) ~[spring-boot-1.= 3.5.RELEASE.jar!/:1.3.5.RELEASE] > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637) ~= [spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) ~[sp= ring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09... 164 common frames omitted > Caused by: java.lang.ClassNotFoundException: com.atomikos.icatch.system.C= onfiguration > =09at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8= .0_91] > =09at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_91= ] > =09at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(= LaunchedURLClassLoader.java:178) ~[test.jar!/:na] > =09at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(La= unchedURLClassLoader.java:142) ~[test.jar!/:na] > =09at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_91= ] > =09... 169 common frames omitted > {noformat} > *zipkin-starter* > Zipkin starts and crashes, but it has not been activated through the _@Ca= melZipkin_ annotation on the main class. > {noformat} > org.springframework.beans.factory.BeanCreationException: Error creating b= ean with name 'zipkinEventNotifier' defined in class path resource [org/apa= che/camel/zipkin/starter/ZipkinAutoConfiguration.class]: Bean instantiation= via factory method failed; nested exception is org.springframework.beans.B= eanInstantiationException: Failed to instantiate [org.apache.camel.zipkin.Z= ipkinTracer]: Factory method 'zipkinEventNotifier' threw exception; nested = exception is org.apache.camel.RuntimeCamelException: java.lang.IllegalArgum= entException: SpanCollector must be specified on: org.apache.camel.zipkin.Z= ipkinTracer@6d0e72f8 > =09at org.springframework.beans.factory.support.ConstructorResolver.insta= ntiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.2.6= .RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.= java:1123) ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018) = ~[spring-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[sprin= g-beans-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09... > Caused by: org.springframework.beans.BeanInstantiationException: Failed t= o instantiate [org.apache.camel.zipkin.ZipkinTracer]: Factory method 'zipki= nEventNotifier' threw exception; nested exception is org.apache.camel.Runti= meCamelException: java.lang.IllegalArgumentException: SpanCollector must be= specified on: org.apache.camel.zipkin.ZipkinTracer@6d0e72f8 > =09at org.springframework.beans.factory.support.SimpleInstantiationStrate= gy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.2.6.R= ELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.beans.factory.support.ConstructorResolver.insta= ntiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.2.6= .RELEASE.jar!/:4.2.6.RELEASE] > =09... 164 common frames omitted > Caused by: org.apache.camel.RuntimeCamelException: java.lang.IllegalArgum= entException: SpanCollector must be specified on: org.apache.camel.zipkin.Z= ipkinTracer@6d0e72f8 > =09at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(Object= Helper.java:1690) ~[camel-core-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] > =09at org.apache.camel.zipkin.ZipkinTracer.init(ZipkinTracer.java:133) ~[= camel-zipkin-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] > =09at org.apache.camel.zipkin.starter.ZipkinAutoConfiguration.zipkinEvent= Notifier(ZipkinAutoConfiguration.java:59) ~[camel-zipkin-starter-2.18-SNAPS= HOT.jar!/:2.18-SNAPSHOT] > =09at org.apache.camel.zipkin.starter.ZipkinAutoConfiguration$$EnhancerBy= SpringCGLIB$$6227270b.CGLIB$zipkinEventNotifier$0() ~[camel-zipk= in-starter-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] > =09at org.apache.camel.zipkin.starter.ZipkinAutoConfiguration$$EnhancerBy= SpringCGLIB$$6227270b$$FastClassBySpringCGLIB$$95cb7a49.invoke()= ~[camel-zipkin-starter-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] > =09at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy= .java:228) ~[spring-core-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.springframework.context.annotation.ConfigurationClassEnhancer$B= eanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356) ~[sprin= g-context-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] > =09at org.apache.camel.zipkin.starter.ZipkinAutoConfiguration$$EnhancerBy= SpringCGLIB$$6227270b.zipkinEventNotifier() ~[camel-zipkin-start= er-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.= 8.0_91] > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:62) ~[na:1.8.0_91] > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:43) ~[na:1.8.0_91] > =09at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_91] > =09at org.springframework.beans.factory.support.SimpleInstantiationStrate= gy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.2.6.R= ELEASE.jar!/:4.2.6.RELEASE] > =09... 165 common frames omitted > Caused by: java.lang.IllegalArgumentException: SpanCollector must be spec= ified on: org.apache.camel.zipkin.ZipkinTracer@6d0e72f8 > =09at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:327) ~= [camel-core-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] > =09at org.apache.camel.zipkin.ZipkinTracer.doStart(ZipkinTracer.java:325)= ~[camel-zipkin-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] > =09at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:6= 1) ~[camel-core-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] > =09at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java= :75) ~[camel-core-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] > =09at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamel= Context.java:1277) ~[camel-core-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] > =09at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelCo= ntext.java:1237) ~[camel-core-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] > =09at org.apache.camel.zipkin.ZipkinTracer.init(ZipkinTracer.java:131) ~[= camel-zipkin-2.18-SNAPSHOT.jar!/:2.18-SNAPSHOT] > =09... 176 common frames omitted > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)