<?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 Talend - Snowflake and MySQL tSetKeystore issue in Talend Cloud</title>
    <link>https://community.qlik.com/t5/Talend-Cloud/Talend-Snowflake-and-MySQL-tSetKeystore-issue/m-p/2511907#M383</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;In Talend Cloud, I have a job with a connection to two databases:&lt;/P&gt;
&lt;OL class="[&amp;amp;:not(:last-child)_ul]:pb-1 [&amp;amp;:not(:last-child)_ol]:pb-1 list-decimal space-y-1.5 pl-7"&gt;
&lt;LI class="whitespace-normal break-words"&gt;Snowflake connection using key pair authentication&lt;/LI&gt;
&lt;LI class="whitespace-normal break-words"&gt;MySQL connection using user and password authentication&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;Technical details:&lt;/P&gt;
&lt;UL class="[&amp;amp;:not(:last-child)_ul]:pb-1 [&amp;amp;:not(:last-child)_ol]:pb-1 list-disc space-y-1.5 pl-7"&gt;
&lt;LI class="whitespace-normal break-words"&gt;I'm using a tSetKeystore component to store the private key file in the prejob&lt;/LI&gt;
&lt;LI class="whitespace-normal break-words"&gt;The current configuration causes connection issues when components are ordered as: tSetKeystore -&amp;gt; tDBConnection (Snowflake) -&amp;gt; tDBConnection (MySQL)&lt;/LI&gt;
&lt;LI class="whitespace-normal break-words"&gt;When I change the order to: tDBConnection (MySQL) -&amp;gt; tSetKeystore -&amp;gt; tDBConnection (Snowflake) The job works successfully.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;My hypothesis is that the tSetKeystore component modifies JVM parameters, which interferes with the MySQL connection. To validate this:&lt;/P&gt;
&lt;UL class="[&amp;amp;:not(:last-child)_ul]:pb-1 [&amp;amp;:not(:last-child)_ol]:pb-1 list-disc space-y-1.5 pl-7"&gt;
&lt;LI class="whitespace-normal break-words"&gt;If I isolate the connections in separate subjobs, the connection fails&lt;/LI&gt;
&lt;LI class="whitespace-normal break-words"&gt;Clicking "Use an independent process to run subJob" resolves the issue by resetting JVM parameters&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;Questions:&lt;/P&gt;
&lt;OL class="[&amp;amp;:not(:last-child)_ul]:pb-1 [&amp;amp;:not(:last-child)_ol]:pb-1 list-decimal space-y-1.5 pl-7"&gt;
&lt;LI class="whitespace-normal break-words"&gt;Can you provide a solid explanation for why JVM parameters affect the MySQL connection?&lt;/LI&gt;
&lt;LI class="whitespace-normal break-words"&gt;Is there a clean way to launch the job without changing the component order?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;The current workaround is suboptimal, as it would require establishing a MySQL connection at the job's beginning, potentially maintaining an unnecessary long-running database connection.&lt;/P&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;Would you like me to make any further modifications to the request?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2025 15:03:19 GMT</pubDate>
    <dc:creator>LisaHourmand</dc:creator>
    <dc:date>2025-03-27T15:03:19Z</dc:date>
    <item>
      <title>Talend - Snowflake and MySQL tSetKeystore issue</title>
      <link>https://community.qlik.com/t5/Talend-Cloud/Talend-Snowflake-and-MySQL-tSetKeystore-issue/m-p/2511907#M383</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;In Talend Cloud, I have a job with a connection to two databases:&lt;/P&gt;
&lt;OL class="[&amp;amp;:not(:last-child)_ul]:pb-1 [&amp;amp;:not(:last-child)_ol]:pb-1 list-decimal space-y-1.5 pl-7"&gt;
&lt;LI class="whitespace-normal break-words"&gt;Snowflake connection using key pair authentication&lt;/LI&gt;
&lt;LI class="whitespace-normal break-words"&gt;MySQL connection using user and password authentication&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;Technical details:&lt;/P&gt;
&lt;UL class="[&amp;amp;:not(:last-child)_ul]:pb-1 [&amp;amp;:not(:last-child)_ol]:pb-1 list-disc space-y-1.5 pl-7"&gt;
&lt;LI class="whitespace-normal break-words"&gt;I'm using a tSetKeystore component to store the private key file in the prejob&lt;/LI&gt;
&lt;LI class="whitespace-normal break-words"&gt;The current configuration causes connection issues when components are ordered as: tSetKeystore -&amp;gt; tDBConnection (Snowflake) -&amp;gt; tDBConnection (MySQL)&lt;/LI&gt;
&lt;LI class="whitespace-normal break-words"&gt;When I change the order to: tDBConnection (MySQL) -&amp;gt; tSetKeystore -&amp;gt; tDBConnection (Snowflake) The job works successfully.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;My hypothesis is that the tSetKeystore component modifies JVM parameters, which interferes with the MySQL connection. To validate this:&lt;/P&gt;
&lt;UL class="[&amp;amp;:not(:last-child)_ul]:pb-1 [&amp;amp;:not(:last-child)_ol]:pb-1 list-disc space-y-1.5 pl-7"&gt;
&lt;LI class="whitespace-normal break-words"&gt;If I isolate the connections in separate subjobs, the connection fails&lt;/LI&gt;
&lt;LI class="whitespace-normal break-words"&gt;Clicking "Use an independent process to run subJob" resolves the issue by resetting JVM parameters&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;Questions:&lt;/P&gt;
&lt;OL class="[&amp;amp;:not(:last-child)_ul]:pb-1 [&amp;amp;:not(:last-child)_ol]:pb-1 list-decimal space-y-1.5 pl-7"&gt;
&lt;LI class="whitespace-normal break-words"&gt;Can you provide a solid explanation for why JVM parameters affect the MySQL connection?&lt;/LI&gt;
&lt;LI class="whitespace-normal break-words"&gt;Is there a clean way to launch the job without changing the component order?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;The current workaround is suboptimal, as it would require establishing a MySQL connection at the job's beginning, potentially maintaining an unnecessary long-running database connection.&lt;/P&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;Would you like me to make any further modifications to the request?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 15:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Cloud/Talend-Snowflake-and-MySQL-tSetKeystore-issue/m-p/2511907#M383</guid>
      <dc:creator>LisaHourmand</dc:creator>
      <dc:date>2025-03-27T15:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Talend - Snowflake and MySQL tSetKeystore issue</title>
      <link>https://community.qlik.com/t5/Talend-Cloud/Talend-Snowflake-and-MySQL-tSetKeystore-issue/m-p/2512478#M387</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/333256"&gt;@LisaHourmand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;My guess is that since &lt;STRONG&gt;tSetKeyStore&lt;/STRONG&gt; sets values for &lt;STRONG&gt;javax.net.ssl&lt;/STRONG&gt; properties, it affects the components that follow.&lt;/P&gt;&lt;P class=""&gt;Most recent MySQL versions use SSL connections by default.&lt;/P&gt;&lt;P class=""&gt;Since the Java SSL environment has been modified, the MySQL JDBC driver &lt;STRONG&gt;inherits&lt;/STRONG&gt; these changes from &lt;STRONG&gt;tSetKeyStore&lt;/STRONG&gt;, which can impact the connection.&lt;/P&gt;&lt;P class=""&gt;If possible, try adding the following parameter to the &lt;STRONG&gt;Additional Parameters&lt;/STRONG&gt; section:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;useSSL=false&lt;/LI-CODE&gt;&lt;P class=""&gt;This will disable SSL if your connection allows it.&lt;/P&gt;&lt;P class=""&gt;Have a great day!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Quentin&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 08:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Cloud/Talend-Snowflake-and-MySQL-tSetKeystore-issue/m-p/2512478#M387</guid>
      <dc:creator>quentin-vigne</dc:creator>
      <dc:date>2025-04-01T08:26:48Z</dc:date>
    </item>
  </channel>
</rss>

