Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
<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 !
To solve my issue I created a new routine where I added my jar to the routine libraries.
I added this routine as code dependency to the job called by the route :
It's not a state of the art solution but it works well.
To solve my issue I created a new routine where I added my jar to the routine libraries.
I added this routine as code dependency to the job called by the route :
It's not a state of the art solution but it works well.