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: 
tmichel
Contributor
Contributor

JAR dependency in cTalendJob not included when deploying route.

I have a route that calls a a job with cTalendJob. This job uses a tMomOutput and for that I have to use a tLibaryLoad to load hawtbuf-1.11.jar to solve a dependency issue.

The route works perfectly from my Studio but when I deploy it on our Linux DEV environment, I get the following error :

INFO | jvm 1 | 2025/03/19 11:29:05 | org.apache.activemq.ConnectionFailedException: The JMS connection has failed: Unexpected error occurred: java.lang.NoClassDefFoundError: org/fusesource/hawtbuf/UTF8Buffer

It seems like my hawtbuf jar is not being deployed correctly.

What I tried that didn't work

  1. Adding the library in my route with a cConfig and setting the route dependency to bundle it :
    tmichel_0-1742382626759.png
    tmichel_1-1742382761575.png

     

  2. Editing pom.xml by going to Project Settings > Build > Maven > Setup custom scripts by folder > Route Design > Routes > Create Maven files and adding the following values
    <dependencies>
        <dependency>
            <groupId>org.fusesource.hawtbuf</groupId>
            <artifactId>hawtbuf</artifactId>
            <version>1.11</version>
        </dependency>
    </dependencies>

Whenever I deploy my Route, the route jar doesn't contain the the hawtbuf jar, neither does the featured-job jar.

Anyone has an idea on how to include my dependency ? 

 

Thanks ! 

 

Labels (2)
1 Solution

Accepted Solutions
tmichel
Contributor
Contributor
Author

To solve my issue I created a new routine where I added my jar to the routine libraries.

tmichel_0-1742394850897.png

tmichel_1-1742395090759.png

I added this routine as code dependency to the job called by the route : 

tmichel_2-1742395415099.png

tmichel_3-1742395500786.png

 

 

It's not a state of the art solution but it works well.

 

 

View solution in original post

1 Reply
tmichel
Contributor
Contributor
Author

To solve my issue I created a new routine where I added my jar to the routine libraries.

tmichel_0-1742394850897.png

tmichel_1-1742395090759.png

I added this routine as code dependency to the job called by the route : 

tmichel_2-1742395415099.png

tmichel_3-1742395500786.png

 

 

It's not a state of the art solution but it works well.