Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

deploy route kar file into Talend 6.0.1 runtime, not working

I have a route listening on a JMS queue, it works when it runs in Talend Studio. When I deploy the kar file by putting n the \runtime\deploy folder, I can see, from the runtime client that the route is active, but it is not picking up the message published to the queue, am I missing something regarding the deployment?
Thanks

Labels (2)
4 Replies
Anonymous
Not applicable
Author

Deployment wise it looks fine. Do you see the number of consumers on the queue on the JMS side? Do you see any errors in tesb.log? 

Did you stop your route on Studio? This might also be the case that the route running on Studio is consuming the messages on the queue.

Thanks,
Anonymous
Not applicable
Author

I do see there is one consumer for the queue, the one in my studio is stopped, where the error log might be?

Thanks
Anonymous
Not applicable
Author

actually the following exception might be the root of the cause of the failure, I download the Apache log4j-1.2.17.jar that contains the missing class, and put this jar file in the folder \runtime\lib, then restarted the Talend runtime service, and still complains. Where the jar should be placed?

------------------------------
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/BasicConfigurator
at org.courtine.talend.log4j.TalendLog4JConfigurator.configureLog4J(TalendLog4JConfigurator.java:36)
at eai_service_lookup.lookupproduct_0_1.LookupProduct.tInitLog4J_1Process(LookupProduct.java:11505)
at eai_service_lookup.lookupproduct_0_1.LookupProduct.tPrejob_1Process(LookupProduct.java:11426)
at eai_service_lookup.lookupproduct_0_1.LookupProduct.runJobInTOS(LookupProduct.java:11830)
at org.talend.camel.TalendProducer.invokeTalendJob(TalendProducer.java:109)[138:camel-talendjob:6.0.1]
at org.talend.camel.TalendProducer.process(TalendProducer.java:65)[138:camel-talendjob:6.0.1]
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(A
Anonymous
Not applicable
Author

I see where the issue is.

My route calls a job that uses the log4j components (tLog4J) which requires the class in log4j-1.2.16.jar file came with this log4j custom components. During exporting the job as the osgi bundle jar file, this log4j-1.2.16.jar file is included. But when exporting ("build route") the route to the kar file, the job's jar file does not contains this log4j lib anymore. I am not sure if it misses any other libs.
Is this a "feature" of route exporting? should I export and deploy the job and route separately?