ESB - Execute Route with cTalendJob (Studio OK / Runtime NOK)

Highlighted
Four Stars

ESB - Execute Route with cTalendJob (Studio OK / Runtime NOK)

Hi,

 

I developed a Route with TALEND Studio 6.5.1. This route get a message in ActiveMQ ant after it calls ctalendJob. This route and Job run perfectly in studio. However, when I executed this route in Runtime, I get this error: Do you know the issue ? 

 

java.lang.RuntimeException: Job execution failure - details see stderr. at zpmc.zjmc_di_out_v01_000_baconsumemsgppcc2prett_app2epp_1_0.ZJMC_DI_OUT_V01_000_BAConsumeMsgPPCC2PRETT_APP2EPP$1.runSingleUseJob(ZJMC_DI_OUT_V01_000_BAConsumeMsgPPCC2PRETT_APP2EPP._V01_000_BAConsumeMsgPPCC2PRETTICKET01_ZJMC_DI_OUT_V01_000_BAConsumeMsgPPCC2PRETT_APP2EPP:1.1.0.SNAPSHOT] at org.talend.camel.TalendProducer.invokeTalendJob(TalendProducer.java:206) [204:camel-talendjob:6.5.1] at org.talend.camel.TalendProducer.process(TalendProducer.java:122) [204:camel-talendjob:6.5.1] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) [233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:145) [233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) [233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468) [233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197) [233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.Pipeline.process(Pipeline.java:121) [233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.Pipeline.process(Pipeline.java:83) [233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197) [233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109) [233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:112) [237Smiley Surprisedrg.apache.camel.camel-jms:2.17.6] at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:555) [266Smiley Surprisedrg.apache.servicemix.bundles.spring-jms:3.2.18.R at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:515) [266Smiley Surprisedrg.apache.servicemix.bundles.spring-jms:3.2.18.REL at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:485) [266Smiley Surprisedrg.apache.servicemix.bundles.spring-jms:3.2.18. at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325) [266Smiley Surprisedrg.apache.servicemix.bundles.sp at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263) [266Smiley Surprisedrg.apache.servicemix.bundles.spri at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1103) [266Smiley Surprisedrg.apache.servicemix.bu1] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1095) [266Smiley Surprisedrg.apache.servicemiASE_1] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:992) [266Smiley Surprisedrg.apache.servicemix.bundles.spring at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] 2018-08-08 09:20:58,155 | WARN | PPCC2PRETTICKET] | EndpointMessageListener | 233 - org.apache.camel.camel-core - 2.17.6 | Execution of JMS message listener failed. Caused by: [org.on - java.lang.RuntimeException: Job execution failure - details see stderr. ] org.apache.camel.RuntimeCamelException: java.lang.RuntimeException: Job execution failure - details see stderr. at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1690) [233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.component.jms.EndpointMessageListener$EndpointMessageListenerAsyncCallback.done(EndpointMessageListener.java:195) [237Smiley Surprisedrg.apache.camel.camel-jms:2.17.6] at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:116) [237Smiley Surprisedrg.apache.camel.camel-jms:2.17.6] at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:555) [266Smiley Surprisedrg.apache.servicemix.bundles.spring-jms:3.2.18.R at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:515) [266Smiley Surprisedrg.apache.servicemix.bundles.spring-jms:3.2.18.REL at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:485) [266Smiley Surprisedrg.apache.servicemix.bundles.spring-jms:3.2.18. at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325) [266Smiley Surprisedrg.apache.servicemix.bundles.sp at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263) [266Smiley Surprisedrg.apache.servicemix.bundles.spri at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1103) [266Smiley Surprisedrg.apache.servicemix.bu1] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1095) [266Smiley Surprisedrg.apache.servicemiASE_1] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:992) [266Smiley Surprisedrg.apache.servicemix.bundles.spring at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] Caused by: java.lang.RuntimeException: Job execution failure - details see stderr. at zpmc.zjmc_di_out_v01_000_baconsumemsgppcc2prett_app2epp_1_0.ZJMC_DI_OUT_V01_000_BAConsumeMsgPPCC2PRETT_APP2EPP$1.runSingleUseJob(ZJMC_DI_OUT_V01_000_BAConsumeMsgPPCC2PRETT_APP2EPP. at org.talend.camel.TalendProducer.invokeTalendJob(TalendProducer.java:206) ~[204:camel-talendjob:6.5.1] at org.talend.camel.TalendProducer.process(TalendProducer.java:122) ~[204:camel-talendjob:6.5.1] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:145) ~[233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) ~[233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468) ~[233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197) ~[233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.Pipeline.process(Pipeline.java:121) ~[233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.Pipeline.process(Pipeline.java:83) ~[233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197) ~[233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109) ~[233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) ~[233Smiley Surprisedrg.apache.camel.camel-core:2.17.6] at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:112) ~[237Smiley Surprisedrg.apache.camel.camel-jms:2.17.6]

 

Moderator

Re: ESB - Execute Route with cTalendJob (Studio OK / Runtime NOK)

Hello,

Here is a response from your another topic:https://community.talend.com/t5/Deployment/ESB-Execute-Route-with-cTalendJob-Studio-OK-Runtime-NOK/m....

Please stick to one topic so that we can pay individule attention to your issue.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read