<?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: Issue with JAR files when using a custom component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363523#M127394</link>
    <description>In case of having trouble with jars in user components: 
&lt;BR /&gt;It depends on the way how to get the studio your component. 
&lt;BR /&gt;In case you use the Component designer perspective and use the function Push Component to Palette: I this case: use this function more than once, I do not know why but only once does not deploy the jars not correctly. 
&lt;BR /&gt;At first find your component in the user component folder. 
&lt;BR /&gt;You can put your component also be hand in this folder and in this case open the Preferences-&amp;gt;Talend-&amp;gt;Components and click on Apply. Now the components from this folder will be copied and the Generation Engine starts again. This works only once. If you want to do this a second time you have to restart the studio. 
&lt;BR /&gt;In case of studio does not "want" your jar, please close studio, delete the file ComponentCache.javacache in the configuration sub dir in your studio and start studio again. This delete causes a rescan of all libraries and mostly they find now your jars also.</description>
    <pubDate>Wed, 14 Aug 2013 22:03:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-14T22:03:44Z</dc:date>
    <item>
      <title>Issue with JAR files when using a custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363518#M127389</link>
      <description>Hi we've developed a component to create online credit card payments (using payzen PSP solution)
&lt;BR /&gt;see 
&lt;A href="http://talendforge.org/exchange/index.php?eid=391&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1" target="_blank" rel="nofollow noopener noreferrer"&gt;http://talendforge.org/exchange/index.php?eid=391&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1&lt;/A&gt;
&lt;BR /&gt; in this component we have some Jar files they are described in the xml file 
&lt;BR /&gt;pCreateMailOffer_java.xml
&lt;BR /&gt; &amp;lt;CODEGENERATION&amp;gt; 
&lt;BR /&gt; &amp;lt;IMPORTS&amp;gt; 
&lt;BR /&gt; &amp;lt;IMPORT MODULE="PayementOfferV1a.jar" NAME="WSV3" REQUIRED="true"/&amp;gt; 
&lt;BR /&gt; &amp;lt;IMPORT MODULE="Signature.jar" NAME="Signature" REQUIRED="true"/&amp;gt; 
&lt;BR /&gt; &amp;lt;/IMPORTS&amp;gt; 
&lt;BR /&gt; &amp;lt;/CODEGENERATION&amp;gt; 
&lt;BR /&gt;and the Jar files are in the component zip
&lt;BR /&gt;when running the jobs 
&lt;BR /&gt;see example 
&lt;A href="http://code.google.com/p/payzen-components-for-talend/wiki/pCreateMailOffer_Exemple" target="_blank" rel="nofollow noopener noreferrer"&gt;http://code.google.com/p/payzen-components-for-talend/wiki/pCreateMailOffer_Exemple&lt;/A&gt;
&lt;BR /&gt;There is an error unless the jar are copied in the \TOS-Win32-r63143-V4.2.2\lib\java\ directory 
&lt;BR /&gt;Did I miss something in my component design ?</description>
      <pubDate>Sat, 16 Nov 2024 12:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363518#M127389</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with JAR files when using a custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363519#M127390</link>
      <description>Hi 
&lt;BR /&gt;Sorry for delay, don't know you have fixed the problem?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 05 Sep 2011 02:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363519#M127390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-05T02:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with JAR files when using a custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363520#M127391</link>
      <description>Hello, I had the exact same issue with custom developed components. 
&lt;BR /&gt;Sometimes the jars are not copied automatically, it's probably a bug, the workaround is to copy them manually in the lib/java directory. 
&lt;BR /&gt;Moreover I am quite sure they are NOT copied if you create a new version of your jar with the same name an d the old one is already in the lib/java... the old file is not replaced. 
&lt;BR /&gt;I detected this at least in Linux, some colleagues installed the same component in windows and apparently the jar was copied for them. 
&lt;BR /&gt;We should probably open a bug in Jira for this</description>
      <pubDate>Mon, 05 Sep 2011 06:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363520#M127391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-05T06:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with JAR files when using a custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363521#M127392</link>
      <description>Hello,&lt;BR /&gt;I strarti coding talend components. Can you please tell me or show example about the import of jar into the component. I am using Talend 5.2.2 and i lost so many time to achieve. &lt;BR /&gt; &lt;BR /&gt;Regards &lt;BR /&gt;Jruf.</description>
      <pubDate>Wed, 07 Aug 2013 13:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363521#M127392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-07T13:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with JAR files when using a custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363522#M127393</link>
      <description>Hi Jruf 
&lt;BR /&gt;Put the jars in the component folder, and then declare the import in the XML descriptor file for example, tFileInputExcel_java.xml 
&lt;BR /&gt; 
&lt;PRE&gt;	&amp;lt;CODEGENERATION&amp;gt;&lt;BR /&gt;		&amp;lt;IMPORTS&amp;gt;&lt;BR /&gt;			&amp;lt;IMPORT NAME="Java_Excel" MODULE="jxl.jar" UrlPath="platform:/plugin/org.talend.libraries.jexcel/lib/jxl.jar" REQUIRED_IF="(VERSION_2007 == 'false')" /&amp;gt;&lt;BR /&gt;			&amp;lt;IMPORT NAME="dom4j" MODULE="dom4j-1.6.1.jar" UrlPath="platform:/plugin/org.talend.libraries.dom4j-jaxen/lib/dom4j-1.6.1.jar" REQUIRED_IF="(VERSION_2007 == 'true')" /&amp;gt;&lt;BR /&gt;			&amp;lt;IMPORT NAME="geronimo-stax-api" MODULE="geronimo-stax-api_1.0_spec-1.0.jar" UrlPath="platform:/plugin/org.talend.libraries.apache.axis2/lib/geronimo-stax-api_1.0_spec-1.0.jar" REQUIRED_IF="(VERSION_2007 == 'true')" /&amp;gt;&lt;BR /&gt;			&amp;lt;IMPORT NAME="log4j" MODULE="log4j-1.2.15.jar" UrlPath="platform:/base/plugins/org.apache.log4j_1.2.15.v201012070815.jar" REQUIRED_IF="(VERSION_2007 == 'true')" BundleID="" /&amp;gt;&lt;BR /&gt;			&amp;lt;IMPORT NAME="poi" MODULE="poi-3.8-20120913_modified_talend.jar" UrlPath="platform:/plugin/org.talend.libraries.excel/lib/poi-3.8-20120913_modified_talend.jar" REQUIRED_IF="(VERSION_2007 == 'true')" /&amp;gt;&lt;BR /&gt;			&amp;lt;IMPORT NAME="poi-ooxml" MODULE="poi-ooxml-3.8-20121127_modified_talend.jar" UrlPath="platform:/plugin/org.talend.libraries.excel/lib/poi-ooxml-3.8-20121127_modified_talend.jar" REQUIRED_IF="(VERSION_2007 == 'true')" /&amp;gt;&lt;BR /&gt;			&amp;lt;IMPORT NAME="poi-ooxml-schemas" MODULE="poi-ooxml-schemas-3.8-20120326.jar" UrlPath="platform:/plugin/org.talend.libraries.excel/lib/poi-ooxml-schemas-3.8-20120326.jar" REQUIRED_IF="(VERSION_2007 == 'true')" /&amp;gt;&lt;BR /&gt;			&amp;lt;IMPORT NAME="poi-scratchpad" MODULE="poi-scratchpad-3.8-20120326.jar" UrlPath="platform:/plugin/org.talend.libraries.excel/lib/poi-scratchpad-3.8-20120326.jar" REQUIRED_IF="(VERSION_2007 == 'true')" /&amp;gt;&lt;BR /&gt;			&amp;lt;IMPORT NAME="xmlbeans" MODULE="xmlbeans-2.3.0.jar" UrlPath="platform:/plugin/org.talend.libraries.apache.xml/lib/xmlbeans-2.3.0.jar" REQUIRED_IF="(VERSION_2007 == 'true')" /&amp;gt;&lt;BR /&gt;			&amp;lt;IMPORT NAME="simpleexcel" MODULE="simpleexcel.jar" UrlPath="platform:/plugin/org.talend.libraries.excel/lib/simpleexcel.jar" REQUIRED_IF="(VERSION_2007 == 'true') AND GENERATION_MODE == 'EVENT_MODE')" /&amp;gt;&lt;BR /&gt;		&amp;lt;/IMPORTS&amp;gt;&lt;BR /&gt;	&amp;lt;/CODEGENERATION&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 12 Aug 2013 02:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363522#M127393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-12T02:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with JAR files when using a custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363523#M127394</link>
      <description>In case of having trouble with jars in user components: 
&lt;BR /&gt;It depends on the way how to get the studio your component. 
&lt;BR /&gt;In case you use the Component designer perspective and use the function Push Component to Palette: I this case: use this function more than once, I do not know why but only once does not deploy the jars not correctly. 
&lt;BR /&gt;At first find your component in the user component folder. 
&lt;BR /&gt;You can put your component also be hand in this folder and in this case open the Preferences-&amp;gt;Talend-&amp;gt;Components and click on Apply. Now the components from this folder will be copied and the Generation Engine starts again. This works only once. If you want to do this a second time you have to restart the studio. 
&lt;BR /&gt;In case of studio does not "want" your jar, please close studio, delete the file ComponentCache.javacache in the configuration sub dir in your studio and start studio again. This delete causes a rescan of all libraries and mostly they find now your jars also.</description>
      <pubDate>Wed, 14 Aug 2013 22:03:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363523#M127394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-14T22:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with JAR files when using a custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363524#M127395</link>
      <description>&lt;FONT size="1"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Hi&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;B&gt;&lt;FONT size="1"&gt;&lt;FONT color="#333333"&gt;jlolling&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, sans-serif"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;,
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, sans-serif"&gt;I am new to Talend Open Studio, just I have downloaded &lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="'Segoe UI', sans-serif"&gt;Version: 5.6.0M1(Build id: r118307-20140604-0708)&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, sans-serif"&gt;, and I tried to build a simple Java custom component import with custom logic Test.jar.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, sans-serif"&gt;I copied tReplace and &amp;nbsp;import Test.Jar, tried to create object &amp;nbsp;for our custom class like com.org.TestCls t=new com.org.TestCls()&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;&amp;nbsp;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, sans-serif"&gt;When run job with tReplace component, getting below error &lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;I&gt;&lt;FONT color="maroon"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;xecution failed : Failed to generate code.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/I&gt;
&lt;BR /&gt;
&lt;I&gt;&lt;FONT color="maroon"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/I&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, sans-serif"&gt;I have tried adding a tLibraryLoad node with the jar specified in the basic settings &lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Not &amp;nbsp;working &amp;nbsp;kindly help me &lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;&amp;nbsp;</description>
      <pubDate>Mon, 19 Oct 2015 15:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-JAR-files-when-using-a-custom-component/m-p/2363524#M127395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-19T15:49:28Z</dc:date>
    </item>
  </channel>
</rss>

