<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JAR dependency in cTalendJob not included when deploying route. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/JAR-dependency-in-cTalendJob-not-included-when-deploying-route/m-p/2510691#M143306</link>
    <description>&lt;P&gt;To solve my issue I created a new routine where I added my jar to the routine libraries.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmichel_0-1742394850897.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178779iF8FE159AD8F80842/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmichel_0-1742394850897.png" alt="tmichel_0-1742394850897.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmichel_1-1742395090759.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178780iBA97D96695A820C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmichel_1-1742395090759.png" alt="tmichel_1-1742395090759.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I added this routine as code dependency to the job called by the route :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmichel_2-1742395415099.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178781iAEE3AF8F238D1547/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmichel_2-1742395415099.png" alt="tmichel_2-1742395415099.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmichel_3-1742395500786.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178782i1D3EF669A816AB5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmichel_3-1742395500786.png" alt="tmichel_3-1742395500786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not a state of the art solution but it works well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 14:46:59 GMT</pubDate>
    <dc:creator>tmichel</dc:creator>
    <dc:date>2025-03-19T14:46:59Z</dc:date>
    <item>
      <title>JAR dependency in cTalendJob not included when deploying route.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JAR-dependency-in-cTalendJob-not-included-when-deploying-route/m-p/2510658#M143305</link>
      <description>&lt;P&gt;I have a route that calls a a job with &lt;STRONG&gt;cTalendJob&lt;/STRONG&gt;. This job uses a &lt;STRONG&gt;tMomOutput&lt;/STRONG&gt; and for that I have to use a &lt;STRONG&gt;tLibaryLoad&lt;/STRONG&gt; to load &lt;FONT face="courier new,courier" color="#339966"&gt;hawtbuf-1.11.jar&lt;/FONT&gt; to solve a dependency issue.&lt;/P&gt;&lt;P&gt;The route works perfectly from my Studio but when I deploy it on our Linux DEV environment, I get the following error :&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3" color="#FF0000"&gt;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&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It seems like my hawtbuf jar is not being deployed correctly.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;What I tried that didn't work&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Adding the library in my route with a cConfig and setting the route dependency to bundle it :&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmichel_0-1742382626759.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178770i3E8780884D7A3B9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmichel_0-1742382626759.png" alt="tmichel_0-1742382626759.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmichel_1-1742382761575.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178771iE6827378368D4866/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmichel_1-1742382761575.png" alt="tmichel_1-1742382761575.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Editing pom.xml by going to &lt;FONT face="courier new,courier" color="#339966"&gt;Project Settings &amp;gt; Build &amp;gt; Maven &amp;gt; Setup custom scripts by folder &amp;gt; Route Design &amp;gt; Routes &amp;gt; Create Maven files&lt;/FONT&gt; and adding the following values&lt;BR /&gt;&lt;PRE&gt;&amp;lt;dependencies&amp;gt;
    &amp;lt;dependency&amp;gt;
        &amp;lt;groupId&amp;gt;org.fusesource.hawtbuf&amp;lt;/groupId&amp;gt;
        &amp;lt;artifactId&amp;gt;hawtbuf&amp;lt;/artifactId&amp;gt;
        &amp;lt;version&amp;gt;1.11&amp;lt;/version&amp;gt;
    &amp;lt;/dependency&amp;gt;
&amp;lt;/dependencies&amp;gt;&lt;/PRE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Whenever I deploy my Route, the route jar doesn't contain the the hawtbuf jar, neither does the featured-job jar.&lt;/P&gt;&lt;P&gt;Anyone has an idea on how to include my dependency ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 11:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JAR-dependency-in-cTalendJob-not-included-when-deploying-route/m-p/2510658#M143305</guid>
      <dc:creator>tmichel</dc:creator>
      <dc:date>2025-03-19T11:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: JAR dependency in cTalendJob not included when deploying route.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JAR-dependency-in-cTalendJob-not-included-when-deploying-route/m-p/2510691#M143306</link>
      <description>&lt;P&gt;To solve my issue I created a new routine where I added my jar to the routine libraries.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmichel_0-1742394850897.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178779iF8FE159AD8F80842/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmichel_0-1742394850897.png" alt="tmichel_0-1742394850897.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmichel_1-1742395090759.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178780iBA97D96695A820C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmichel_1-1742395090759.png" alt="tmichel_1-1742395090759.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I added this routine as code dependency to the job called by the route :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmichel_2-1742395415099.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178781iAEE3AF8F238D1547/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmichel_2-1742395415099.png" alt="tmichel_2-1742395415099.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmichel_3-1742395500786.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178782i1D3EF669A816AB5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmichel_3-1742395500786.png" alt="tmichel_3-1742395500786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not a state of the art solution but it works well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 14:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JAR-dependency-in-cTalendJob-not-included-when-deploying-route/m-p/2510691#M143306</guid>
      <dc:creator>tmichel</dc:creator>
      <dc:date>2025-03-19T14:46:59Z</dc:date>
    </item>
  </channel>
</rss>

