See
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstart...
Changes:
[dpalmer] [SWITCHYARD-1943] Upgraded Camel to 2.12.2; and fixed resulting issues
------------------------------------------
[...truncated 5462 lines...]
</filter>
<process ref="CONSUMER_INTERCEPT" id="process26"/>
<process ref="ADDRESSING" id="process27"/>
<process ref="TRANSACTION_HANDLER" id="process28"/>
<process ref="SECURITY_PROCESS" id="process29"/>
<process ref="GENERIC_POLICY" id="process30"/>
<process ref="VALIDATION" id="process31"/>
<process ref="TRANSFORMATION" id="process32"/>
<process ref="VALIDATION" id="process33"/>
<process ref="PROVIDER_INTERCEPT" id="process34"/>
<process ref="PROVIDER_CALLBACK" id="process35"/>
<process ref="PROVIDER_INTERCEPT" id="process36"/>
<process ref="SECURITY_CLEANUP" id="process37"/>
<process ref="TRANSACTION_HANDLER" id="process38"/>
<filter id="filter5">
<expressionDefinition/>
<process ref="VALIDATION" id="process39"/>
<process ref="TRANSFORMATION" id="process40"/>
<process ref="VALIDATION" id="process41"/>
</filter>
<doCatch id="doCatch2">
<process ref="ERROR_HANDLING" id="process44"/>
<process ref="PROVIDER_INTERCEPT"
id="process45"/>
<process ref="SECURITY_CLEANUP"
id="process46"/>
<process ref="TRANSACTION_HANDLER"
id="process47"/>
<filter id="filter6">
<expressionDefinition/>
<process ref="VALIDATION" id="process48"/>
<process ref="TRANSFORMATION"
id="process49"/>
<process ref="VALIDATION" id="process50"/>
</filter>
</doCatch>
<doFinally id="doFinally2">
<process ref="CONSUMER_INTERCEPT"
id="process42"/>
<process ref="CONSUMER_CALLBACK"
id="process43"/>
</doFinally>
</doTry>
</route>
</routes>
20:47:26,825 ERROR [org.switchyard.test.SwitchYardRunner] Error while test kit startup
org.switchyard.SwitchYardException: org.apache.camel.FailedToCreateRouteException: Failed
to create route
V1CamelNettyTcpBindingModel/SecuredGreetingService@_SecuredGreetingService_tcp_1#-1766359606:
Route[[From[netty:tcp://localhost:3939?ssl=true&needClientAu... because of Failed to
resolve endpoint:
netty://tcp://localhost:3939?allowDefaultCodec=false&keyStoreFile=%23keyStore&needClientAuth=true&passphrase=changeit&ssl=true&sync=true&trustStoreFile=%23trustStore
due to: No bean could be found in the registry for: changeit of type: java.lang.String
at
org.switchyard.component.camel.common.handler.InboundHandler.<init>(InboundHandler.java:69)
at
org.switchyard.component.camel.netty.deploy.CamelNettyInboundHandler.<init>(CamelNettyInboundHandler.java:30)
at
org.switchyard.component.camel.netty.deploy.CamelNettyActivator.createInboundHandler(CamelNettyActivator.java:27)
at
org.switchyard.component.camel.common.deploy.BaseBindingActivator.activateBinding(BaseBindingActivator.java:43)
at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:618)
at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)
at org.switchyard.test.SwitchYardTestKit.deploy(SwitchYardTestKit.java:757)
at org.switchyard.test.SwitchYardTestKit.start(SwitchYardTestKit.java:177)
at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:60)
at
org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:236)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:233)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:85)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route
V1CamelNettyTcpBindingModel/SecuredGreetingService@_SecuredGreetingService_tcp_1#-1766359606:
Route[[From[netty:tcp://localhost:3939?ssl=true&needClientAu... because of Failed to
resolve endpoint:
netty://tcp://localhost:3939?allowDefaultCodec=false&keyStoreFile=%23keyStore&needClientAuth=true&passphrase=changeit&ssl=true&sync=true&trustStoreFile=%23trustStore
due to: No bean could be found in the registry for: changeit of type: java.lang.String
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:176)
at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:722)
at
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1789)
at
org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:666)
at
org.apache.camel.impl.DefaultCamelContext.addRouteDefinition(DefaultCamelContext.java:671)
at
org.switchyard.component.camel.common.handler.InboundHandler.<init>(InboundHandler.java:67)
... 31 more
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
netty://tcp://localhost:3939?allowDefaultCodec=false&keyStoreFile=%23keyStore&needClientAuth=true&passphrase=changeit&ssl=true&sync=true&trustStoreFile=%23trustStore
due to: No bean could be found in the registry for: changeit of type: java.lang.String
at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:479)
at
org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:50)
at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:186)
at
org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108)
at
org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114)
at org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:72)
at org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:90)
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:851)
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:171)
... 36 more
Caused by: org.apache.camel.NoSuchBeanException: No bean could be found in the registry
for: changeit of type: java.lang.String
at org.apache.camel.util.CamelContextHelper.mandatoryLookup(CamelContextHelper.java:130)
at
org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:326)
at
org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:308)
at
org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:304)
at
org.apache.camel.component.netty.NettyConfiguration.parseURI(NettyConfiguration.java:145)
at
org.apache.camel.component.netty.NettyComponent.createEndpoint(NettyComponent.java:54)
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:91)
at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:461)
... 44 more
20:47:26,831 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.3 (CamelContext: camel-2) is shutting down
20:47:26,831 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful
shutdown 1 routes (timeout 30 seconds)
20:47:26,833 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route:
direct:{urn:switchyard-quickstart:camel-netty-binding:0.1.0}SecuredGreetingService
shutdown complete, was consuming from:
Endpoint[direct://%7Burn:switchyard-quickstart:camel-netty-binding:0.1.0%7DSecuredGreetingService]
20:47:26,835 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 1
routes completed in 0 seconds
20:47:26,851 INFO [org.apache.camel.impl.converter.DefaultTypeConverter]
TypeConverterRegistry utilization[attempts=1, hits=1, misses=0, failures=0]
mappings[total=192, misses=0]
20:47:26,854 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.3 (CamelContext: camel-2) is shutdown in 0.023 seconds. Uptime 1.634 seconds.
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1249)
at org.switchyard.component.test.mixins.cdi.CDIMixIn.uninitialize(CDIMixIn.java:245)
at org.switchyard.test.SwitchYardTestKit.cleanupMixIns(SwitchYardTestKit.java:810)
at org.switchyard.test.SwitchYardTestKit.cleanup(SwitchYardTestKit.java:186)
at
org.switchyard.test.SwitchYardRunner$TestLifecycleListener.testFinished(SwitchYardRunner.java:95)
at org.junit.runner.notification.RunNotifier$7.notifyListener(RunNotifier.java:145)
at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:41)
at org.junit.runner.notification.RunNotifier.fireTestFinished(RunNotifier.java:142)
at
org.junit.internal.runners.model.EachTestNotifier.fireTestFinished(EachTestNotifier.java:41)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:269)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:85)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 9.576 sec <<<
FAILURE!
Results :
Tests in error:
sendTextMessageThroughTcp(org.switchyard.quickstarts.camel.netty.binding.CamelNettyBindingTest)
sendTextMessageThroughUdp(org.switchyard.quickstarts.camel.netty.binding.CamelNettyBindingTest)
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] SwitchYard Quickstart: quickstarts ................ SUCCESS [4.996s]
[INFO] SwitchYard Quickstart: bean-service ............... SUCCESS [1:35.029s]
[INFO] SwitchYard Quickstart: bpel-jms-binding ........... SUCCESS [1:17.400s]
[INFO] SwitchYard Quickstart: bpel-loan-approval ......... SUCCESS [1:28.226s]
[INFO] SwitchYard Quickstart: bpel-say-hello ............. SUCCESS [1:00.286s]
[INFO] SwitchYard Quickstart: bpel-simple-correlation .... SUCCESS [1:04.645s]
[INFO] SwitchYard Quickstart: bpel-xts-subordinate-wsba .. SUCCESS [0.074s]
[INFO] SwitchYard Quickstart: bpel-xts-subordinate-wsba - bpel SUCCESS [3.898s]
[INFO] SwitchYard Quickstart: bpel-xts-subordinate-wsba - ws SUCCESS [1.979s]
[INFO] SwitchYard Quickstart: bpel-xts-wsat .............. SUCCESS [0.097s]
[INFO] SwitchYard Quickstart: bpel-xts-wsat - bpel ....... SUCCESS [2.425s]
[INFO] SwitchYard Quickstart: bpel-xts-wsat - ws ......... SUCCESS [1.796s]
[INFO] SwitchYard Quickstart: bpm-service ................ SUCCESS [1:46.396s]
[INFO] SwitchYard Quickstart: camel-binding .............. SUCCESS [11.674s]
[INFO] SwitchYard Quickstart: camel-jaxb ................. SUCCESS [27.704s]
[INFO] SwitchYard Quickstart: camel-amqp-binding ......... SUCCESS [21.275s]
[INFO] SwitchYard Quickstart: camel-ftp-binding .......... SUCCESS [29.177s]
[INFO] SwitchYard Quickstart: camel-jms-binding .......... SUCCESS [31.808s]
[INFO] SwitchYard Quickstart: camel-netty-binding ........ FAILURE [15.701s]
[INFO] SwitchYard Quickstart: camel-quartz-binding ....... SKIPPED
[INFO] SwitchYard Quickstart: camel-jpa-binding .......... SKIPPED
[INFO] SwitchYard Quickstart: camel-sql-binding .......... SKIPPED
[INFO] SwitchYard Quickstart: camel-mail-binding ......... SKIPPED
[INFO] SwitchYard Quickstart: camel-service .............. SKIPPED
[INFO] SwitchYard Quickstart: camel-soap-proxy ........... SKIPPED
[INFO] SwitchYard Quickstart: camel-bus-cdi .............. SKIPPED
[INFO] SwitchYard Quickstart: ear-deployment ............. SKIPPED
[INFO] SwitchYard Quickstart: ear-deployment - artifacts . SKIPPED
[INFO] SwitchYard Quickstart: ear-deployment - order-service SKIPPED
[INFO] SwitchYard Quickstart: ear-deployment - order-consumer SKIPPED
[INFO] SwitchYard Quickstart: ear-deployment - ear-assembly SKIPPED
[INFO] SwitchYard Quickstart: http-binding ............... SKIPPED
[INFO] SwitchYard Quickstart: remote-invoker ............. SKIPPED
[INFO] SwitchYard Quickstart: rest-binding ............... SKIPPED
[INFO] SwitchYard Quickstart: rules-camel-cbr ............ SKIPPED
[INFO] SwitchYard Quickstart: rules-interview ............ SKIPPED
[INFO] SwitchYard Quickstart: rules-interview-container .. SKIPPED
[INFO] SwitchYard Quickstart: rules-interview-dtable ..... SKIPPED
[INFO] SwitchYard Quickstart: soap-addressing ............ SKIPPED
[INFO] SwitchYard Quickstart: soap-attachment ............ SKIPPED
[INFO] SwitchYard Quickstart: soap-binding-rpc ........... SKIPPED
[INFO] SwitchYard Quickstart: soap-mtom .................. SKIPPED
[INFO] SwitchYard Quickstart: jca-inflow-hornetq ......... SKIPPED
[INFO] SwitchYard Quickstart: jca-outbound-hornetq ....... SKIPPED
[INFO] SwitchYard Quickstart: jca-inflow-activemq ........ SKIPPED
[INFO] SwitchYard Quickstart: jca-outbound-activemq ...... SKIPPED
[INFO] SwitchYard Quickstart: transform-jaxb ............. SKIPPED
[INFO] SwitchYard Quickstart: transform-json ............. SKIPPED
[INFO] SwitchYard Quickstart: transform-smooks ........... SKIPPED
[INFO] SwitchYard Quickstart: transform-xslt ............. SKIPPED
[INFO] SwitchYard Quickstart: validate-xml ............... SKIPPED
[INFO] Quickstart Demo : Help Desk ....................... SKIPPED
[INFO] Quickstart Demo : Orders .......................... SKIPPED
[INFO] Quickstart Demo : JEE Webapp Deployment ........... SKIPPED
[INFO] Quickstart Demo: Multiple Applications ............ SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Service Artifacts SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Order Service SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Order Consumer SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Web App .. SKIPPED
[INFO] Quickstart Demo : Security Policy : Basic Authentication (+SSL) SKIPPED
[INFO] Quickstart Demo : Security Policy : Basic Authentication (+SSL) with Propagation
SKIPPED
[INFO] Quickstart Demo : Security Policy : Certificate Authentication (+SSL) SKIPPED
[INFO] Quickstart Demo : Security Policy : SAML Assertion (+SSL) SKIPPED
[INFO] Quickstart Demo : Security Policy : WSS Signature+Encryption (+SSL) SKIPPED
[INFO] Quickstart Demo : Security Policy : WSS Username (+SSL) SKIPPED
[INFO] Quickstart Demo : Transaction Policy .............. SKIPPED
[INFO] Quickstart Demo: Cluster - Client ................. SKIPPED
[INFO] Quickstart Demo: Cluster - Credit Service ......... SKIPPED
[INFO] Quickstart Demo: Cluster - Dealer Service ......... SKIPPED
[INFO] Quickstart Demo: Cluster .......................... SKIPPED
[INFO] Quickstart Demo: Remote Transaction Propagation - Client SKIPPED
[INFO] Quickstart Demo: Remote Transaction Propagation - Credit Service SKIPPED
[INFO] Quickstart Demo: Remote Transaction Propagation - Dealer Service SKIPPED
[INFO] Quickstart Demo: Remote Transaction Propagation ... SKIPPED
[INFO] SwitchYard : Quickstarts Distribution Assembly .... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:56.265s
[INFO] Finished at: Fri Feb 14 20:47:27 EST 2014
[INFO] Final Memory: 172M/439M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test
(default-test) on project switchyard-camel-netty-binding: There are test failures.
[ERROR]
[ERROR] Please refer to
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstart...
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :switchyard-camel-netty-binding
Build step 'Invoke top-level Maven targets' marked build as failure