<?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: Using an external file in the cloud in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317396#M87845</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;				java.util.Properties atnParamsPrope_tDBConnection_1 = new java.util.Properties();&lt;/P&gt;&lt;P&gt;				atnParamsPrope_tDBConnection_1.put("user", dbUser_tDBConnection_1);&lt;/P&gt;&lt;P&gt;				atnParamsPrope_tDBConnection_1.put("password", dbPwd_tDBConnection_1);&lt;/P&gt;&lt;P&gt;				if ("javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.keyStore=" + context.wallet != null&lt;/P&gt;&lt;P&gt;						&amp;amp;&amp;amp; !"\"\"".equals("javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.keyStore=" + context.wallet)&lt;/P&gt;&lt;P&gt;						&amp;amp;&amp;amp; !"".equals("javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.keyStore=" + context.wallet)) {&lt;/P&gt;&lt;P&gt;					atnParamsPrope_tDBConnection_1.load(&lt;/P&gt;&lt;P&gt;							&lt;B&gt;new java.io.ByteArrayInputStream("javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.keyStore="&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;									+ context.wallet.replace("&amp;amp;", "\n").getBytes()));&lt;/B&gt;&lt;/P&gt;&lt;P&gt;				}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;				conn_tDBConnection_1 = java.sql.DriverManager.getConnection(url_tDBConnection_1,&lt;/P&gt;&lt;P&gt;						atnParamsPrope_tDBConnection_1);&lt;/P&gt;&lt;P&gt;				log.debug("tDBConnection_1 - Connection to '" + url_tDBConnection_1 + "' has succeeded.");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2022 17:20:31 GMT</pubDate>
    <dc:creator>RVeitch_84</dc:creator>
    <dc:date>2022-08-12T17:20:31Z</dc:date>
    <item>
      <title>Using an external file in the cloud</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317390#M87839</link>
      <description>&lt;P&gt;Looking for some help in configuring an external resource file in Talend cloud so my job can access it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the summary, I have a job that runs fine locally using Studio and a wallet file saved locally on my C:\ drive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to now run this job in the cloud, I have added the file in the Management console but need help in defining that in my job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the context variable that I am using locally which works fine:&lt;/P&gt;&lt;P&gt;javax.net.ssl.trustStoreType=SSO&amp;amp;javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.trustStore=&lt;B&gt;&lt;I&gt;C:/Talend/wallet_nsaw_sb/cwallet.sso&lt;/I&gt;&lt;/B&gt;&amp;amp;javax.net.ssl.keyStore=&lt;B&gt;&lt;I&gt;C:/Talend/wallet_nsaw_sb/cwallet.sso&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here is my external resource file that I uploaded to the management console.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000UwLX7AAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150474iDFD0657AC6C152CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000UwLX7AAN.png" alt="0695b00000UwLX7AAN.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now I am trying to understand on how to set the cloud file, ADW_wallet_sb in my string.&lt;/P&gt;&lt;P&gt;javax.net.ssl.trustStoreType=SSO&amp;amp;javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.trustStore=&lt;B&gt;???&lt;/B&gt;&amp;amp;javax.net.ssl.keyStore=&lt;B&gt;&lt;I&gt;???&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;for any help.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317390#M87839</guid>
      <dc:creator>RVeitch_84</dc:creator>
      <dc:date>2024-11-15T22:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using an external file in the cloud</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317391#M87840</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;To use an resource file in TMC, you should define the name of context variable in studio like this:&lt;/P&gt;&lt;P&gt;resource_file_resourceName&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;resource_file_adw_wallet_sb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, you can use the context variable in the filed like:&lt;/P&gt;&lt;P&gt;"javax.net.ssl.trustStoreType=SSO&amp;amp;javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.trustStore="+context.resource_file_adw_wallet_sb+"&amp;amp;javax.net.ssl.keyStore="+context.resource_file_adw_wallet_sb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 03:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317391#M87840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-11T03:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using an external file in the cloud</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317392#M87841</link>
      <description>&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply, I tried the format that you suggested and still have the error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000UwSwYAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139812i5FFA695FEBDFA2E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000UwSwYAAV.png" alt="0695b00000UwSwYAAV.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See my db connection :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000UwSwsAAF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156483i5CE0AFE6F9E49B9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000UwSwsAAF.png" alt="0695b00000UwSwsAAF.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 12:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317392#M87841</guid>
      <dc:creator>RVeitch_84</dc:creator>
      <dc:date>2022-08-11T12:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using an external file in the cloud</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317393#M87842</link>
      <description>&lt;P&gt;Make sure the Job works fine in studio, before you publish it to Talend Cloud. Maybe the error is caused by the char '-' in resource name, try to rename the resource and context variable without '-'.&lt;/P&gt;&lt;P&gt;Let me know if it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 01:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317393#M87842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-12T01:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using an external file in the cloud</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317394#M87843</link>
      <description>&lt;P&gt;I'm testing in Studio, and I tried renaming the resouce without the "_" and I still have the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Uwb7KAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155069i06F69F3331FF7D64/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Uwb7KAAR.png" alt="0695b00000Uwb7KAAR.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See my DB connection:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Uwb7tAAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130678iCB8DE33A18A02C91/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Uwb7tAAB.png" alt="0695b00000Uwb7tAAB.png" /&gt;&lt;/span&gt;I added a tJava at the start of the job to print out the context.wallet.  this is what I got?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;resource file =&lt;B&gt; C:\Talend-Studio-20211109_1610-V8.0.1\workspace\.repositories\1347947789\main\TALENDJOBS\poms\jobs\process\Netsuite\Square\cloud_square_payments_adw_1.0\src\main\ext-resources\talendjobs\cloud_square_payments_adw_1_0\resources\cwallet_0.1.sso&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have any other questions.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 15:33:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317394#M87843</guid>
      <dc:creator>RVeitch_84</dc:creator>
      <dc:date>2022-08-12T15:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using an external file in the cloud</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317395#M87844</link>
      <description>&lt;P&gt;@Robert Veitch​&amp;nbsp;, the context variable should follow the format: resource_file_resourceName, eg: resource_file_wallet&lt;/P&gt;&lt;P&gt;It is a compilation error, open the Job code and see which lines has the error.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 17:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317395#M87844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-12T17:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using an external file in the cloud</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317396#M87845</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;				java.util.Properties atnParamsPrope_tDBConnection_1 = new java.util.Properties();&lt;/P&gt;&lt;P&gt;				atnParamsPrope_tDBConnection_1.put("user", dbUser_tDBConnection_1);&lt;/P&gt;&lt;P&gt;				atnParamsPrope_tDBConnection_1.put("password", dbPwd_tDBConnection_1);&lt;/P&gt;&lt;P&gt;				if ("javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.keyStore=" + context.wallet != null&lt;/P&gt;&lt;P&gt;						&amp;amp;&amp;amp; !"\"\"".equals("javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.keyStore=" + context.wallet)&lt;/P&gt;&lt;P&gt;						&amp;amp;&amp;amp; !"".equals("javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.keyStore=" + context.wallet)) {&lt;/P&gt;&lt;P&gt;					atnParamsPrope_tDBConnection_1.load(&lt;/P&gt;&lt;P&gt;							&lt;B&gt;new java.io.ByteArrayInputStream("javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.keyStore="&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;									+ context.wallet.replace("&amp;amp;", "\n").getBytes()));&lt;/B&gt;&lt;/P&gt;&lt;P&gt;				}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;				conn_tDBConnection_1 = java.sql.DriverManager.getConnection(url_tDBConnection_1,&lt;/P&gt;&lt;P&gt;						atnParamsPrope_tDBConnection_1);&lt;/P&gt;&lt;P&gt;				log.debug("tDBConnection_1 - Connection to '" + url_tDBConnection_1 + "' has succeeded.");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 17:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-an-external-file-in-the-cloud/m-p/2317396#M87845</guid>
      <dc:creator>RVeitch_84</dc:creator>
      <dc:date>2022-08-12T17:20:31Z</dc:date>
    </item>
  </channel>
</rss>

