<?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: Use of External Library in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Use-of-External-Library/m-p/2196700#M742</link>
    <description>Bug raised. 
&lt;A href="https://jira.talendforge.org/browse/TDI-23583" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-23583&lt;/A&gt;.</description>
    <pubDate>Wed, 07 Nov 2012 12:15:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-07T12:15:34Z</dc:date>
    <item>
      <title>Use of External Library</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-of-External-Library/m-p/2196696#M738</link>
      <description>TIS 5.1.2 
&lt;BR /&gt;I have a custom routine that uses an external library (commons-codec-1.7.jar). I used "Edit Routine Libraries" to define the library dependency. The routine works fine when called from a job. 
&lt;BR /&gt;However, when I use it in another job that also contains a tWebServiceInput component, my routine fails: 
&lt;BR /&gt;Exception in thread "main" java.lang.Error: java.lang.VerifyError: (class: org/apache/commons/codec/binary/Base64InputStream, method: &amp;lt;init&amp;gt; signature: (Ljava/io/InputStream;ZI[B)V) Incompatible argument to function 
&lt;BR /&gt;I've established that: 
&lt;BR /&gt;1. The tWebServiceInput component uses commons-codec-1.3.jar. (See &amp;lt;studio&amp;gt;\plugins\org.talend.designer.components.localprovider_5.1.2.r90681\components\tWebServiceInput\tWebServiceInput_java.xml) 
&lt;BR /&gt;2. When running the job with the web service component, the class path includes first the 1.3 jar, then the 1.7 jar. 
&lt;BR /&gt;3. When running the job without the web service component, the class path includes only the 1.7 jar. 
&lt;BR /&gt;4. My job is presumably failing because the routine is being "forced" to use the 1.3 jar. 
&lt;BR /&gt;How do I overcome the need for different components in the same job to have a dependency on a different version of a library?</description>
      <pubDate>Mon, 05 Nov 2012 12:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-of-External-Library/m-p/2196696#M738</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-05T12:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Use of External Library</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-of-External-Library/m-p/2196697#M739</link>
      <description>Hi 
&lt;BR /&gt;This can be a solution to get your job works, but it is not a better way for fixing this issue completely, export the job script, edit the job script (.bat/.sh) and move 1.7 jar before 1.3 jar, execute the job by executing this job script.</description>
      <pubDate>Tue, 06 Nov 2012 11:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-of-External-Library/m-p/2196697#M739</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-06T11:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use of External Library</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-of-External-Library/m-p/2196698#M740</link>
      <description>Hi Shong, 
&lt;BR /&gt;Well, yes, modifying the class path in the built job allows my routine to run successfully - 1.7 jar used as designed. However: 
&lt;BR /&gt;1. The tWebServiceInput component has been designed to run with 1.3 and presumanly now it is being forced to use 1.7. There is a high probability of failure on a piece of the web service functionality now. 
&lt;BR /&gt;2. I cannot use this workaround to run the job in the studio. 
&lt;BR /&gt;I'm sure there is the potential for similar conflicts to exist on other components - many components in Talend use different versions of the codec; if components which use different versions of the codec are used in the same job hierarchy and there has been a change of functionailty/method signature in the codec on a used method, then the same error will arise. 
&lt;BR /&gt;I think we have a Talend bug here?</description>
      <pubDate>Tue, 06 Nov 2012 13:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-of-External-Library/m-p/2196698#M740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-06T13:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Use of External Library</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-of-External-Library/m-p/2196699#M741</link>
      <description>Hi
&lt;BR /&gt;Yes, report a bug on our bugtracker, please, our developer from R&amp;amp;D team will take a look at it, confirm it as a bug or suggest a better solution.
&lt;BR /&gt;Thank you!
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 06 Nov 2012 14:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-of-External-Library/m-p/2196699#M741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-06T14:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Use of External Library</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-of-External-Library/m-p/2196700#M742</link>
      <description>Bug raised. 
&lt;A href="https://jira.talendforge.org/browse/TDI-23583" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-23583&lt;/A&gt;.</description>
      <pubDate>Wed, 07 Nov 2012 12:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-of-External-Library/m-p/2196700#M742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-07T12:15:34Z</dc:date>
    </item>
  </channel>
</rss>

