<?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 How to use a resource file in a string for a db connection (Oracle) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-resource-file-in-a-string-for-a-db-connection/m-p/2317297#M87756</link>
    <description>&lt;P&gt;I have this dbConnection that works fine with a local wallet file defined as follows for the additional parameters value:&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;I would like to try and use a resource file in the above string like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;context.test+context.resource_file_wallet+context.test2+context.resource_file_wallet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;context.test=javax.net.ssl.trustStoreType=SSO&amp;amp;javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.trustSto=context.test2 =&amp;amp;javax.net.ssl.keyStore=&lt;/P&gt;&lt;P&gt;context.resource_file_wallet = the cwallet file that I added to the resource repo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am getting an error:&lt;/P&gt;&lt;P&gt;The constructor ByteArrayInputStream(String) is undefined&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is all in prep to move this job to a Cloud Engine...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:39:46 GMT</pubDate>
    <dc:creator>RVeitch_84</dc:creator>
    <dc:date>2024-11-15T22:39:46Z</dc:date>
    <item>
      <title>How to use a resource file in a string for a db connection (Oracle)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-resource-file-in-a-string-for-a-db-connection/m-p/2317297#M87756</link>
      <description>&lt;P&gt;I have this dbConnection that works fine with a local wallet file defined as follows for the additional parameters value:&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;I would like to try and use a resource file in the above string like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;context.test+context.resource_file_wallet+context.test2+context.resource_file_wallet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;context.test=javax.net.ssl.trustStoreType=SSO&amp;amp;javax.net.ssl.keyStoreType=SSO&amp;amp;javax.net.ssl.trustSto=context.test2 =&amp;amp;javax.net.ssl.keyStore=&lt;/P&gt;&lt;P&gt;context.resource_file_wallet = the cwallet file that I added to the resource repo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am getting an error:&lt;/P&gt;&lt;P&gt;The constructor ByteArrayInputStream(String) is undefined&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is all in prep to move this job to a Cloud Engine...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-resource-file-in-a-string-for-a-db-connection/m-p/2317297#M87756</guid>
      <dc:creator>RVeitch_84</dc:creator>
      <dc:date>2024-11-15T22:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a resource file in a string for a db connection (Oracle)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-resource-file-in-a-string-for-a-db-connection/m-p/2317298#M87757</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I have replied you in &lt;A href="https://community.talend.com/s/question/0D55b00007ekGFHCA2/using-an-external-file-in-the-cloud" alt="https://community.talend.com/s/question/0D55b00007ekGFHCA2/using-an-external-file-in-the-cloud" target="_blank"&gt;question&lt;/A&gt;.&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:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-resource-file-in-a-string-for-a-db-connection/m-p/2317298#M87757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-11T03:53:49Z</dc:date>
    </item>
  </channel>
</rss>

