<?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: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269290#M47592</link>
    <description>Thanks janhess. 
&lt;BR /&gt;My process which takes time under 60 mins have no issues , comes out clean exit. 
&lt;BR /&gt;The ones run over 60-70 mins have this issue. 
&lt;BR /&gt;Checked both DEV and QA server for mysql parameters , they are same. 
&lt;BR /&gt;How can I Check " 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;If your program then fetches a bad connection from the connection-pool that causes the problem" ?&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Mon, 22 Feb 2016 18:47:03 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2016-02-22T18:47:03Z</dc:date>
    <item>
      <title>com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269286#M47588</link>
      <description>The issue is related to error “ 
&lt;FONT color="red"&gt;&lt;FONT size="2"&gt;&lt;FONT face="'Segoe UI', sans-serif"&gt;com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after statement closed&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;” 
&lt;BR /&gt;&amp;nbsp;In my job I am using a joblet in which I am using tMySQLOutput to write an entry into AUDIT_LOG table maintained in MySQL database. 
&lt;BR /&gt;&amp;nbsp;Overall the master job and intermediate subjobs calls the joblet for audit entries at different points within the JOB. 
&lt;BR /&gt;7 subjobs run in parallel (using tParallelize) and they all call the reusable Mysql joblet to insert entries into mysql database. 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt;Everything runs fine with data set 1/2/3 data in development environment. 
&lt;BR /&gt;&amp;nbsp;Now the problem is when we are running the same code (talend jobs) in QA server it works fine and exit fine only for set 1/2 but not 3. 
&lt;BR /&gt; 
&lt;BR /&gt;While running with set3 in QA environment , the job runs for 100-120 mins and then either ERROR out or just HANGS stating the error “ 
&lt;FONT color="red"&gt;&lt;FONT size="2"&gt;&lt;FONT face="'Segoe UI', sans-serif"&gt;com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after statement closed&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;” 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt;Set &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size of input file data &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Average Run Time of the job 
&lt;BR /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20 MB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20 mins 
&lt;BR /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50 MB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50 mins 
&lt;BR /&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 250 MB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 120 mins 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt;We have compared the wait_timeout parameters in both DEV and QA servers. 
&lt;BR /&gt;SHOW GLOBAL VARIABLES LIKE 'wait_timeout'; set to 28800 (8 hours) 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt;1. 
&lt;FONT size="1"&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;I am not sure if this issue is because of any settings differences between DEV/QA or we have a bug in our code. 
&lt;BR /&gt;2. 
&lt;FONT size="1"&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;Also how to check or change MySQL related settings from on talend side (not MySQL DB level) 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt;Any suggestions or help would be really helpful. 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;We have this job moving into PROD this week and because of this error everything is stand still.&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269286#M47588</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T10:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269287#M47589</link>
      <description>Thats why I hate joblets. Try to redesign your job with normal embedded jobs and take care every job running in parallel uses its own database connection.</description>
      <pubDate>Tue, 16 Feb 2016 23:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269287#M47589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-16T23:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269288#M47590</link>
      <description>Hi jlolling, 
&lt;BR /&gt;Thanks for getting back on this issue. 
&lt;BR /&gt;I am still having this issue. 
&lt;BR /&gt;I have tried writing using direct job components not via joblet but the problem only appears with larger dataset not with smaller dataset and that to in a specific server it seems , why ? Is there any JDBC parameters you can suggest I would try ? 
&lt;BR /&gt;When you said " 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;take care every job running in parallel uses its own database connection" , what do you mean by own database connection.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;My credentials are same , I am creating' tMySQLConn-&amp;gt;tMySQLOutput-&amp;gt;tMySQLClose' &amp;nbsp;in each subjobs , is that what you mean ?&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;This is issue is haunting me down day by day &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 22 Feb 2016 14:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269288#M47590</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-02-22T14:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269289#M47591</link>
      <description>Try googling it. 
&lt;BR /&gt;one suggestion is 
&lt;BR /&gt;MySQL implicitly closed the database connection because the connection has been 
&lt;B&gt;inactive for too long&lt;/B&gt; (34,247,052 milliseconds ? 9.5 hours). If your program then fetches a bad connection from the connection-pool that causes the problem 
&lt;BR /&gt;Perhaps your connection timeout on QA is set low. 
&lt;BR /&gt;Are you using a shared db connection? Should probably not.</description>
      <pubDate>Mon, 22 Feb 2016 14:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269289#M47591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-22T14:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269290#M47592</link>
      <description>Thanks janhess. 
&lt;BR /&gt;My process which takes time under 60 mins have no issues , comes out clean exit. 
&lt;BR /&gt;The ones run over 60-70 mins have this issue. 
&lt;BR /&gt;Checked both DEV and QA server for mysql parameters , they are same. 
&lt;BR /&gt;How can I Check " 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;If your program then fetches a bad connection from the connection-pool that causes the problem" ?&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 22 Feb 2016 18:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269290#M47592</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-02-22T18:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269291#M47593</link>
      <description>Hi jlloing, 
&lt;BR /&gt;I have 7 process running as inpendent subjob but controlled via tParalllize , 32GB RAM in linux box , 8 CORE CPU. 
&lt;BR /&gt;Any comments on deisign or risks ?</description>
      <pubDate>Tue, 23 Feb 2016 14:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269291#M47593</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-02-23T14:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269292#M47594</link>
      <description>I have found the root cause , not sure how to go around and fix it.
&lt;BR /&gt;In DEV:
&lt;BR /&gt;Job1-&amp;gt;Job2-&amp;gt;Job3 (Job1 calls Job2 calls Job3)
&lt;BR /&gt;Job 3 : runs 5 jobs using tParallelize and then on sychronize all -&amp;gt; do some mongodb operation -&amp;gt; print some message on console and then finaly come out of Job 3 and go to Job 2 and prints success.
&lt;BR /&gt;In QA
&lt;BR /&gt;Job1-&amp;gt;Job2-&amp;gt;Job3 (Job1 calls Job2 calls Job3)
&lt;BR /&gt;Job 3 : runs 5 jobs using tParallelize and then on sychronize all -&amp;gt; do some mongodb operation -&amp;gt; print some message on console and then **** DO NOT *** come out of Job 3 ****it just stays in last componenet of Job 3 doing NOTHING , HANGS******and&amp;nbsp;
&lt;BR /&gt;after few hours starts erroring out with absurd mongo/mysql errors.
&lt;BR /&gt;Any thoughts&amp;nbsp;
&lt;BR /&gt;1.how to forcefully come out of a job/componenet gracefully?
&lt;BR /&gt;2.how to forcefully come out of a job/componenet failing?</description>
      <pubDate>Wed, 24 Feb 2016 07:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/com-mysql-jdbc-exceptions-jdbc4/m-p/2269292#M47594</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-02-24T07:24:26Z</dc:date>
    </item>
  </channel>
</rss>

