<?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: java.sql.SQLException: Closed Connection in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207836#M7314</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Since you have specified that that you are using the SQL developer from same desktop, the connection should work fine for Talend also since both are using Java based engines. Remove all the other parameters and connect exactly like you are connecting in SQL Developer.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could you please also check whether you are using tOracleCommit somewhere with close connection option as selected?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 718px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzxF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155696iDBEE3AECEA87550F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzxF.png" alt="0683p000009LzxF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Another topic I would recommend is not to&amp;nbsp;connect 20+ tables to one tmap. This is against Talend coding and best practices. Please use 2-3 lookups in each stage and pass the result set to next tmap (use multiple tmap if required). This will ensure easy debugging if an issue is coming and also better code readability within tmap.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Sep 2018 20:10:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-20T20:10:06Z</dc:date>
    <item>
      <title>java.sql.SQLException: Closed Connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207833#M7311</link>
      <description>&lt;P&gt;Hello Folks,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am getting following error for only one job. As remedy I tried following options but issue persists. I am able to ping the ip address of Db. I am able to connect the DB using sql developer.&lt;/P&gt; 
&lt;P&gt;Remedy:&lt;/P&gt; 
&lt;P&gt;1. Used tDBConnection, used existing option in every tDBInput component.&lt;/P&gt; 
&lt;P&gt;2. Ojdbc14.jar was used for Oracle 10.&lt;/P&gt; 
&lt;P&gt;3. Kept the "-Djava.security.egd=file:/dev/../dev/urandom" in Use specific JVM argument at advanced settings of run tab.&lt;/P&gt; 
&lt;P&gt;4. Updated the java.security file with&amp;nbsp;&lt;SPAN&gt;"-Djava.security.egd=file:/dev/../dev/urandom" and rebooted the server.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Exception in component tOracleInput_1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.sql.SQLException: Closed Connection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;thanks in advance&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Crteja&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 16:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207833#M7311</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T16:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Closed Connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207834#M7312</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please specify which Talend product you are using and also the version?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; If you could share the job screen shot and the screen shot of the Oracle connection component (after masking the sensitive data), it would help in more analysis of the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 18:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207834#M7312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T18:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Closed Connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207835#M7313</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am using Talend Data Integration 7.0.1 version. Required screen shots are attached.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtSl"&gt;DB Connection.GIF&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lte3"&gt;JOb.GIF&lt;/A&gt;</description>
      <pubDate>Thu, 20 Sep 2018 19:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207835#M7313</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T19:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Closed Connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207836#M7314</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Since you have specified that that you are using the SQL developer from same desktop, the connection should work fine for Talend also since both are using Java based engines. Remove all the other parameters and connect exactly like you are connecting in SQL Developer.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could you please also check whether you are using tOracleCommit somewhere with close connection option as selected?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 718px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzxF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155696iDBEE3AECEA87550F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzxF.png" alt="0683p000009LzxF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Another topic I would recommend is not to&amp;nbsp;connect 20+ tables to one tmap. This is against Talend coding and best practices. Please use 2-3 lookups in each stage and pass the result set to next tmap (use multiple tmap if required). This will ensure easy debugging if an issue is coming and also better code readability within tmap.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 20:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207836#M7314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T20:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Closed Connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207837#M7315</link>
      <description>&lt;P&gt;Thanks Nikhil,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am still facing the same issue though I changed the design as you suggested. Can you think is there any way I can get rid out of the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached the new job design screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Crteja&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtyL"&gt;job.GIF&lt;/A&gt;</description>
      <pubDate>Tue, 02 Oct 2018 16:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207837#M7315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-02T16:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Closed Connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207838#M7316</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Apologies for the delay in reply as I was on vacation. Could you please verify whether you are able to connect when you are giving the DB details directly to tOracleInput and tOracleOutput components (instead of going through a tOracleConnect)?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If its urgent, I would suggest you to raise a Talend support ticket so that they can check the issue remotely and can resolve it quickly.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 07:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Closed-Connection/m-p/2207838#M7316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-04T07:24:09Z</dc:date>
    </item>
  </channel>
</rss>

