<?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: [Amazon](600001) The server closed the connection in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Amazon-600001-The-server-closed-the-connection/m-p/2213174#M10531</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;It seems that the server terminated abnormally before or while processing the request.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Mon, 02 Sep 2019 08:03:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-02T08:03:19Z</dc:date>
    <item>
      <title>[Amazon](600001) The server closed the connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Amazon-600001-The-server-closed-the-connection/m-p/2213173#M10530</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to get huge amount of data from Redshift to Mysql. the query usually will runs for more than 24 hours. however i am getting the error "[Amazon](600001) The server closed the connection"&lt;/P&gt;
&lt;P&gt;Please suggest how to resolve the issue&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Amazon-600001-The-server-closed-the-connection/m-p/2213173#M10530</guid>
      <dc:creator>param123</dc:creator>
      <dc:date>2024-11-16T04:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: [Amazon](600001) The server closed the connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Amazon-600001-The-server-closed-the-connection/m-p/2213174#M10531</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;It seems that the server terminated abnormally before or while processing the request.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 08:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Amazon-600001-The-server-closed-the-connection/m-p/2213174#M10531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-02T08:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: [Amazon](600001) The server closed the connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Amazon-600001-The-server-closed-the-connection/m-p/2213175#M10532</link>
      <description>&lt;P&gt;1、&amp;nbsp;I think talend should support jdbc pool，this is will keep connection alive； In talend runtime environment, it looks like support jdbc pool,but I never try it.We run talend shell in our linux server,and schedule by control-m or azkaban.&lt;BR /&gt;2、I met the same problem,and I use java script ,run thread to keep connection alive,Talend flow and java script as below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="talend1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9c7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127762iBE917B8369D7D05B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9c7.png" alt="0683p000009M9c7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;new Thread(new Runnable() {
            @Override
            public void run() {
            while(true){
            	java.sql.PreparedStatement pst = null;
            	java.sql.ResultSet rSet = null;
            	try {
            		System.out.println(new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new java.util.Date()) + "----keep connection alive----");
            		String sqlStringC = " SELECT 'x' ";
					pst = ((java.sql.Connection) globalMap.get("conn_tDBConnection_1")).prepareStatement(sqlStringC);
					rSet = pst.executeQuery();
                    Thread.sleep(60000);
                } catch (Exception e) {
                    e.printStackTrace();
                }finally{
                	if(rSet != null){
						try {
							rSet.close();
						} catch (Exception e) {
							e.printStackTrace();
						}
					}
					if(pst != null){
						try {
							pst.close();
						} catch (Exception e) {
							e.printStackTrace();
						}
					}
                }

	           }
            }
        }).start();

&lt;/PRE&gt; 
&lt;P&gt;3、also，you can contact your DBA,change database system parameters,but this is not a good idea,it will bring other database problems.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 03:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Amazon-600001-The-server-closed-the-connection/m-p/2213175#M10532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-01T03:22:45Z</dc:date>
    </item>
  </channel>
</rss>

