Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
camel-corda error
Exception in thread "main" org.apache.camel.FailedToStartRouteException: Failed to start route route1 because of Route(route1)[From[direct:start] -> [To[corda://localhost:10...
at org.apache.camel.impl.engine.BaseRouteService.warmUp(BaseRouteService.java:131)
at org.apache.camel.impl.engine.AbstractCamelContext.doWarmUpRoutes(AbstractCamelContext.java:3098)
at org.apache.camel.impl.engine.AbstractCamelContext.safelyStartRouteServices(AbstractCamelContext.java:2993)
at org.apache.camel.impl.engine.AbstractCamelContext.doStartOrResumeRoutes(AbstractCamelContext.java:2782)
at org.apache.camel.impl.engine.AbstractCamelContext.doStartCamel(AbstractCamelContext.java:2598)
at org.apache.camel.impl.engine.AbstractCamelContext.lambda$doStart$2(AbstractCamelContext.java:2387)
at org.apache.camel.impl.engine.AbstractCamelContext.doWithDefinedClassLoader(AbstractCamelContext.java:2404)
at org.apache.camel.impl.engine.AbstractCamelContext.doStart(AbstractCamelContext.java:2385)
at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:97)
at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2296)
at org.apache.camel.main.Main.doStart(Main.java:117)
at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:97)
at org.apache.camel.main.MainSupport.run(MainSupport.java:196)
at org.apache.camel.main.MainSupport.run(MainSupport.java:593)
at CordaApp.main(CordaApp.java:19)
Caused by: org.apache.camel.RuntimeCamelException: ActiveMQSecurityException[errorType=SECURITY_EXCEPTION message=AMQ119031: Unable to validate user]
at org.apache.camel.RuntimeCamelException.wrapRuntimeException(RuntimeCamelException.java:68)
at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:103)
at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:71)
at org.apache.camel.processor.SendProcessor.doStart(SendProcessor.java:207)
at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:97)
at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:71)
at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:88)
at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:1269)
at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:55)
at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:71)
at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:88)
at org.apache.camel.processor.channel.DefaultChannel.doStart(DefaultChannel.java:131)
at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:97)
at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:71)
at org.apache.camel.support.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:76)
at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:97)
at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:71)
at org.apache.camel.impl.engine.BaseRouteService.startChildService(BaseRouteService.java:334)
at org.apache.camel.impl.engine.BaseRouteService.doWarmUp(BaseRouteService.java:181)
at org.apache.camel.impl.engine.BaseRouteService.warmUp(BaseRouteService.java:129)
... 14 more
Caused by: ActiveMQSecurityException[errorType=SECURITY_EXCEPTION message=AMQ119031: Unable to validate user]
at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:409)
at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:319)
at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:288)
at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:237)
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionChannel(ClientSessionFactoryImpl.java:1294)
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:670)
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:295)
at net.corda.client.rpc.internal.RPCClientProxyHandler.start(RPCClientProxyHandler.kt:201)
at net.corda.client.rpc.internal.RPCClient$start$1.invoke(RPCClient.kt:123)
at net.corda.client.rpc.internal.RPCClient$start$1.invoke(RPCClient.kt:86)
at net.corda.core.internal.InternalUtils.logElapsedTime(InternalUtils.kt:204)
at net.corda.core.internal.InternalUtils.logElapsedTime(InternalUtils.kt:196)
at net.corda.client.rpc.internal.RPCClient.start(RPCClient.kt:109)
at net.corda.client.rpc.CordaRPCClient.start(CordaRPCClient.kt:139)
at net.corda.client.rpc.CordaRPCClient.start(CordaRPCClient.kt:124)
at org.apache.camel.component.corda.CordaEndpoint.doStart(CordaEndpoint.java:85)
at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:97)
... 32 more
[ad #0 - CamelHangupInterceptor] MainSupport$HangupInterceptor INFO Received hang up - stopping the main instance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.