<?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: Communications Exception has occurred in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233836#M23391</link>
    <description>Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect&lt;BR /&gt;Missed that. I think you need to reuse your connections.</description>
    <pubDate>Thu, 09 Aug 2012 16:15:56 GMT</pubDate>
    <dc:creator>janhess</dc:creator>
    <dc:date>2012-08-09T16:15:56Z</dc:date>
    <item>
      <title>Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233832#M23387</link>
      <description>I'm running a job which has a sub job. It just process 15000 of rows first into the child table. Child table's primary key is a foreign key of master table. So I have to insert data into master table after the data is available in child table. 
&lt;BR /&gt;This exception occurs when the job starts processing the master table after 1000 rows.... don't know what is that... 
&lt;BR /&gt;--------------------------------------------------------------------------------------------------------------------------------- 
&lt;BR /&gt;Exception in component tMysqlInput_4 
&lt;BR /&gt;com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure 
&lt;BR /&gt;The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 
&lt;BR /&gt; at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
&lt;BR /&gt; at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 
&lt;BR /&gt; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 
&lt;BR /&gt; at java.lang.reflect.Constructor.newInstance(Unknown Source) 
&lt;BR /&gt; at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) 
&lt;BR /&gt; at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1118) 
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.&amp;lt;init&amp;gt;(MysqlIO.java:343) 
&lt;BR /&gt; at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2308) 
&lt;BR /&gt; at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122) 
&lt;BR /&gt; at com.mysql.jdbc.ConnectionImpl.&amp;lt;init&amp;gt;(ConnectionImpl.java:774) 
&lt;BR /&gt; at com.mysql.jdbc.JDBC4Connection.&amp;lt;init&amp;gt;(JDBC4Connection.java:49) 
&lt;BR /&gt; at sun.reflect.GeneratedConstructorAccessor5.newInstance(Unknown Source) 
&lt;BR /&gt; disconnected 
&lt;BR /&gt; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 
&lt;BR /&gt; at java.lang.reflect.Constructor.newInstance(Unknown Source) 
&lt;BR /&gt; at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) 
&lt;BR /&gt; at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375) 
&lt;BR /&gt; at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:289) 
&lt;BR /&gt; at java.sql.DriverManager.getConnection(Unknown Source) 
&lt;BR /&gt; at java.sql.DriverManager.getConnection(Unknown Source) 
&lt;BR /&gt; at talentbase.dw_job_test_0_1.DW_Job_Test.tMysqlInput_4Process(DW_Job_Test.java:3495) 
&lt;BR /&gt; at talentbase.dw_job_test_0_1.DW_Job_Test.tMysqlInput_3Process(DW_Job_Test.java:2500) 
&lt;BR /&gt; at talentbase.dw_job_test_0_1.DW_Job_Test.tMysqlInput_1Process(DW_Job_Test.java:1707) 
&lt;BR /&gt; at talentbase.dw_job_test_0_1.DW_Job_Test.runJobInTOS(DW_Job_Test.java:3805) 
&lt;BR /&gt; at talentbase.dw_job_test_0_1.DW_Job_Test.main(DW_Job_Test.java:3663) 
&lt;BR /&gt;Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect 
&lt;BR /&gt; at java.net.DualStackPlainSocketImpl.connect0(Native Method) 
&lt;BR /&gt; at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) 
&lt;BR /&gt; at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 
&lt;BR /&gt; at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 
&lt;BR /&gt; at java.net.AbstractPlainSocketImpl.connect(Unknown Source) 
&lt;BR /&gt; at java.net.PlainSocketImpl.connect(Unknown Source) 
&lt;BR /&gt; at java.net.SocksSocketImpl.connect(Unknown Source) 
&lt;BR /&gt; at java.net.Socket.connect(Unknown Source) 
&lt;BR /&gt; at java.net.Socket.connect(Unknown Source) 
&lt;BR /&gt; at java.net.Socket.&amp;lt;init&amp;gt;(Unknown Source) 
&lt;BR /&gt; at java.net.Socket.&amp;lt;init&amp;gt;(Unknown Source) 
&lt;BR /&gt; at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256) 
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.&amp;lt;init&amp;gt;(MysqlIO.java:292) 
&lt;BR /&gt; ... 17 more 
&lt;BR /&gt;Job DW_Job_Test ended at 10:49 09/08/2012.</description>
      <pubDate>Thu, 09 Aug 2012 10:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233832#M23387</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-09T10:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233833#M23388</link>
      <description>please see the screenshot of job for more details...</description>
      <pubDate>Thu, 09 Aug 2012 14:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233833#M23388</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-09T14:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233834#M23389</link>
      <description>It's a permissions problem. You probably don't have insert/update permission on the table and it's failing at the first commit.</description>
      <pubDate>Thu, 09 Aug 2012 15:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233834#M23389</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-08-09T15:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233835#M23390</link>
      <description>but if i run the lower subjob separately, it works just fine without any problems and i can see the insertions in the table.</description>
      <pubDate>Thu, 09 Aug 2012 15:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233835#M23390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-09T15:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233836#M23391</link>
      <description>Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect&lt;BR /&gt;Missed that. I think you need to reuse your connections.</description>
      <pubDate>Thu, 09 Aug 2012 16:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233836#M23391</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-08-09T16:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233837#M23392</link>
      <description>Hi 
&lt;BR /&gt;Do you create DB connection on each DB component or use an existing connection? About the load module on tMap, load once or reload each row? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 10 Aug 2012 02:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233837#M23392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-10T02:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233838#M23393</link>
      <description>Hi,
&lt;BR /&gt;I'm using only input components which have their own DB settings and that's it, no other connection is there.
&lt;BR /&gt;tMap settings have "Relaod at each row", because in near future i would have to deal with millions of rows for lookup. that's why using that. 
&lt;BR /&gt;check out the screenshot</description>
      <pubDate>Fri, 10 Aug 2012 07:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233838#M23393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-10T07:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233839#M23394</link>
      <description>anyone there?</description>
      <pubDate>Mon, 13 Aug 2012 08:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233839#M23394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-13T08:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233840#M23395</link>
      <description>In your tMap use following setting and try, hopefully your requirements are straight forward and this should be fine for you.
&lt;BR /&gt;---------
&lt;BR /&gt;Lookup Model : Load Once
&lt;BR /&gt;Match Model : All rows
&lt;BR /&gt;Join Model : Inner Join
&lt;BR /&gt;If that doesn't work, try to use tMysqlConnection for your all your table input output objects.
&lt;BR /&gt;--
&lt;BR /&gt;Regards,
&lt;BR /&gt;Vinod</description>
      <pubDate>Mon, 13 Aug 2012 09:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233840#M23395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-13T09:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233841#M23396</link>
      <description>Thanks. &lt;BR /&gt;I'm using Global Variable within tMap, which is being used to make the query and cannot be available if tMap is set to Load Once</description>
      <pubDate>Mon, 13 Aug 2012 09:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233841#M23396</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-13T09:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233842#M23397</link>
      <description>Can you please check if you are using tMysqlInput/tMysqlOutput connection instead of tMysqlConnection?&lt;BR /&gt;Reason being when you open connection with tMysqlInput/tMysqlOutput in that case each time that component is called the connection will be opened and will be closed later. So from your job you are looking up a table on each row that means for each main flow input row your  lookup table connection will be made and your entire table will be loaded and later connection will be closed(I presume for connection close part). So I would suggest you to drag an tMysqlConnection component on the job and initialize all the connections with tMysqlConnection.&lt;BR /&gt;--&lt;BR /&gt;Regards,&lt;BR /&gt;Vinod</description>
      <pubDate>Mon, 13 Aug 2012 09:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233842#M23397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-13T09:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233843#M23398</link>
      <description>Thank you very much for the good explaination.&lt;BR /&gt;Have just added tMySqlConnection.. but still getting the same error message. Please check the screenshot if that's how you meant the connection should be placed?</description>
      <pubDate>Mon, 13 Aug 2012 10:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233843#M23398</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-13T10:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233844#M23399</link>
      <description>Yes that is how I meant it to be.&lt;BR /&gt;Inside "dim_pageview" can you check if it is reusing that connection object or not?&lt;BR /&gt;If not then set "Use existing connection" for all the database components. &lt;BR /&gt;--&lt;BR /&gt;Regards,&lt;BR /&gt;Vinod</description>
      <pubDate>Mon, 13 Aug 2012 10:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233844#M23399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-13T10:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Communications Exception has occurred</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233845#M23400</link>
      <description>same thing has happened again... can i send you the job?</description>
      <pubDate>Mon, 13 Aug 2012 12:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Communications-Exception-has-occurred/m-p/2233845#M23400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-13T12:27:38Z</dc:date>
    </item>
  </channel>
</rss>

