<?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 FileList Interation breaks shared DB connection after the first loop. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275210#M51652</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;after much searching, I can't seem to find a solution online to my problem.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a tFileList iterating through all .xml Files in a specific folder.&lt;/P&gt; 
&lt;P&gt;In step 1 each file is read and has certain values saved to my database. Then it continues will all the further steps for each file.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic1.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZkq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132365i9E684DC5263CA453/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZkq.png" alt="0683p000009MZkq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;This works fine for the first loop, but the once it starts the second loop around my shared DB connection doesn't work anymore.&lt;BR /&gt;This is my childjob.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic4.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaDd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155458i969D3526099DA251/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaDd.png" alt="0683p000009MaDd.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;This is my main DBConnection with shared DB connection name.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaGW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148426i97D105725A8178D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaGW.png" alt="0683p000009MaGW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;This is my child DBConnection, only using the shared DB connection.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic3.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaBy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148454i1D7B8E685E71B76D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaBy.png" alt="0683p000009MaBy.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;And of course my error code.&lt;/P&gt; 
&lt;PRE&gt;Exception in component tDBConnection_1 (i_interchange)
java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO)
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:832)
	at com.mysql.cj.jdbc.ConnectionImpl.&amp;lt;init&amp;gt;(ConnectionImpl.java:456)
	at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240)
	at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:207)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at routines.system.SharedDBConnection.getConnection(SharedDBConnection.java:70)
	at routines.system.SharedDBConnection.getDBConnection(SharedDBConnection.java:131)
	at dgw_poc.i_interchange_0_3.i_interchange.tDBConnection_1Process(i_interchange.java:416)
	at dgw_poc.i_interchange_0_3.i_interchange.runJobInTOS(i_interchange.java:2692)
	at dgw_poc.i_interchange_0_3.i_interchange.runJob(i_interchange.java:2536)
	at dgw_poc.i_main_0_3.i_main.tFileList_1Process(i_main.java:1549)
	at dgw_poc.i_main_0_3.i_main.tDBConnection_1Process(i_main.java:1098)
	at dgw_poc.i_main_0_3.i_main.tPrejob_1Process(i_main.java:936)
	at dgw_poc.i_main_0_3.i_main.runJobInTOS(i_main.java:4654)
	at dgw_poc.i_main_0_3.i_main.main(i_main.java:4506)&lt;/PRE&gt; 
&lt;P&gt;Does anyone have an idea how I can fix this?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:19:34 GMT</pubDate>
    <dc:creator>dshahan</dc:creator>
    <dc:date>2024-11-16T02:19:34Z</dc:date>
    <item>
      <title>FileList Interation breaks shared DB connection after the first loop.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275210#M51652</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;after much searching, I can't seem to find a solution online to my problem.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a tFileList iterating through all .xml Files in a specific folder.&lt;/P&gt; 
&lt;P&gt;In step 1 each file is read and has certain values saved to my database. Then it continues will all the further steps for each file.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic1.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZkq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132365i9E684DC5263CA453/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZkq.png" alt="0683p000009MZkq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;This works fine for the first loop, but the once it starts the second loop around my shared DB connection doesn't work anymore.&lt;BR /&gt;This is my childjob.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic4.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaDd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155458i969D3526099DA251/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaDd.png" alt="0683p000009MaDd.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;This is my main DBConnection with shared DB connection name.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaGW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148426i97D105725A8178D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaGW.png" alt="0683p000009MaGW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;This is my child DBConnection, only using the shared DB connection.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic3.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaBy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148454i1D7B8E685E71B76D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaBy.png" alt="0683p000009MaBy.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;And of course my error code.&lt;/P&gt; 
&lt;PRE&gt;Exception in component tDBConnection_1 (i_interchange)
java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO)
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:832)
	at com.mysql.cj.jdbc.ConnectionImpl.&amp;lt;init&amp;gt;(ConnectionImpl.java:456)
	at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240)
	at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:207)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at routines.system.SharedDBConnection.getConnection(SharedDBConnection.java:70)
	at routines.system.SharedDBConnection.getDBConnection(SharedDBConnection.java:131)
	at dgw_poc.i_interchange_0_3.i_interchange.tDBConnection_1Process(i_interchange.java:416)
	at dgw_poc.i_interchange_0_3.i_interchange.runJobInTOS(i_interchange.java:2692)
	at dgw_poc.i_interchange_0_3.i_interchange.runJob(i_interchange.java:2536)
	at dgw_poc.i_main_0_3.i_main.tFileList_1Process(i_main.java:1549)
	at dgw_poc.i_main_0_3.i_main.tDBConnection_1Process(i_main.java:1098)
	at dgw_poc.i_main_0_3.i_main.tPrejob_1Process(i_main.java:936)
	at dgw_poc.i_main_0_3.i_main.runJobInTOS(i_main.java:4654)
	at dgw_poc.i_main_0_3.i_main.main(i_main.java:4506)&lt;/PRE&gt; 
&lt;P&gt;Does anyone have an idea how I can fix this?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275210#M51652</guid>
      <dc:creator>dshahan</dc:creator>
      <dc:date>2024-11-16T02:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: FileList Interation breaks shared DB connection after the first loop.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275211#M51653</link>
      <description>Hi
&lt;BR /&gt;Which version of studio are you using? We need to make some testing and check if it was a bug. 
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 27 May 2020 03:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275211#M51653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-27T03:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: FileList Interation breaks shared DB connection after the first loop.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275212#M51654</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am using Talend Open Studio for Data Integration version 7.2.1.20190620_1446&lt;/P&gt; 
&lt;P&gt;I am not sure if this helps at all:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic5.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaH5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155783i98B471F4BAFD709B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaH5.png" alt="0683p000009MaH5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 08:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275212#M51654</guid>
      <dc:creator>dshahan</dc:creator>
      <dc:date>2020-05-27T08:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: FileList Interation breaks shared DB connection after the first loop.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275213#M51655</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LRBKAA4"&gt;@dshahan&lt;/A&gt;&amp;nbsp;, have you configured specified in the below link.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/article/ka03p0000006EaTAAU" target="_blank"&gt;https://community.talend.com/t5/Migration-Configuration-and/Sharing-a-database-connection-between-a-parent-Job-and-a-child/ta-p/21706&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 08:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275213#M51655</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-27T08:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: FileList Interation breaks shared DB connection after the first loop.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275214#M51656</link>
      <description>&lt;P&gt;Yes I have, as seen here:&lt;BR /&gt;tDBConnection in Parentjob:&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaHP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139882iF2940535833A25BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaHP.png" alt="0683p000009MaHP.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;tDBConnection in Childjob:&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic3.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaHU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157947i3295048A3DA6A8DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaHU.png" alt="0683p000009MaHU.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;The only difference is that I am using tDBConnection instead of tMySQLConnection. I will try it out with the MySQL specific component.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 08:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275214#M51656</guid>
      <dc:creator>dshahan</dc:creator>
      <dc:date>2020-05-27T08:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: FileList Interation breaks shared DB connection after the first loop.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275215#M51657</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LRBKAA4"&gt;@dshahan&lt;/A&gt;, do not give port ,password and additional jdbc parameters in subjob of tDBConnection and check&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 08:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275215#M51657</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-27T08:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: FileList Interation breaks shared DB connection after the first loop.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275216#M51658</link>
      <description>&lt;P&gt;I have discovered my error. In each loop I am commiting to the DB (which is fine sofar). But in the tDBCommit component, I had the box checked called "Close Connection". No wonder my connection only worked for the first loop.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic6.PNG" style="width: 265px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaHj.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128162i7C6B28CA4C9DC67B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaHj.png" alt="0683p000009MaHj.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic7.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaHo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146469iD2CC5431D501B15C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaHo.png" alt="0683p000009MaHo.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you &lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt; for the help finding the error &lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.qlik.com/" alt="Smiley Happy" title="Smiley Happy" /&gt; Have a great day.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 09:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/FileList-Interation-breaks-shared-DB-connection-after-the-first/m-p/2275216#M51658</guid>
      <dc:creator>dshahan</dc:creator>
      <dc:date>2020-05-27T09:09:35Z</dc:date>
    </item>
  </channel>
</rss>

