<?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: Invalid state, the Connection object is closed. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Invalid-state-the-Connection-object-is/m-p/2272979#M50106</link>
    <description>Can you try with lesser number of rows?</description>
    <pubDate>Thu, 10 Feb 2011 14:36:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-02-10T14:36:38Z</dc:date>
    <item>
      <title>java.sql.SQLException: Invalid state, the Connection object is closed.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Invalid-state-the-Connection-object-is/m-p/2272978#M50105</link>
      <description>Hello, 
&lt;BR /&gt;I have a job which runs absolutely fine when run from TOS. However, when I export and run the batch job I generally see this exception being thrown. 
&lt;BR /&gt;I have looked through the forums and seen a few people having reported this issue, but I am not sure why it works fine from TOS, but not when running the exported code. 
&lt;BR /&gt;Does anyone have any suggestions as to what might cause this ? 
&lt;BR /&gt;Environment is: 
&lt;BR /&gt;Windows XP(64 bit) 
&lt;BR /&gt;MS Sql Server 2008 (Express) 
&lt;BR /&gt;It seems to be related to the size of the xml file being parsed. The export job works fine when tMSSqlOutput_2 is processing &amp;lt; 2000 rows, but not when handling 12,000 rows. 
&lt;BR /&gt;Any help appreciated. Thanks. 
&lt;BR /&gt;The screen shot shows the result of running from TOS 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;C:\xmlPosition_0.1\xmlPosition&amp;gt;xmlPosition_run 
&lt;BR /&gt;C:\xmlPosition_0.1\xmlPosition&amp;gt;C: 
&lt;BR /&gt;C:\xmlPosition_0.1\xmlPosition&amp;gt;cd C:\xmlPosition_0.1\xmlPosition\ 
&lt;BR /&gt;C:\xmlPosition_0.1\xmlPosition&amp;gt;java -Xms256M -Xmx1024M -cp classpath.jar; dwh.xm 
&lt;BR /&gt;lposition_0_1.xmlPosition --context=dev 
&lt;BR /&gt;I/O Error: Connection reset by peer: socket write error 
&lt;BR /&gt;Exception in component tMSSqlOutput_2 
&lt;BR /&gt;java.sql.SQLException: Invalid state, the Connection object is closed. 
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.TdsCore.checkOpen(TdsCore.java:452) 
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.TdsCore.clearResponseQueue(TdsCore.java:727 
&lt;BR /&gt;) 
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.JtdsStatement.initialize(JtdsStatement.java 
&lt;BR /&gt;:645) 
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.JtdsStatement.executeBatch(JtdsStatement.ja 
&lt;BR /&gt;va:908) 
&lt;BR /&gt; at dwh.xmlposition_0_1.xmlPosition.tFileInputXML_4Process(xmlPosition.ja 
&lt;BR /&gt;va:23012) 
&lt;BR /&gt; at dwh.xmlposition_0_1.xmlPosition.tFileInputXML_5Process(xmlPosition.ja 
&lt;BR /&gt;va:14246) 
&lt;BR /&gt; at dwh.xmlposition_0_1.xmlPosition.tFileInputXML_2Process(xmlPosition.ja 
&lt;BR /&gt;va:7318) 
&lt;BR /&gt; at dwh.xmlposition_0_1.xmlPosition.tFixedFlowInput_1Process(xmlPosition. 
&lt;BR /&gt;java:2502) 
&lt;BR /&gt; at dwh.xmlposition_0_1.xmlPosition.tMSSqlConnection_1Process(xmlPosition 
&lt;BR /&gt;.java:682) 
&lt;BR /&gt; at dwh.xmlposition_0_1.xmlPosition.runJobInTOS(xmlPosition.java:24148) 
&lt;BR /&gt; at dwh.xmlposition_0_1.xmlPosition.main(xmlPosition.java:23916) 
&lt;BR /&gt;C:\xmlPosition_0.1\xmlPosition&amp;gt;</description>
      <pubDate>Sat, 16 Nov 2024 13:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Invalid-state-the-Connection-object-is/m-p/2272978#M50105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.SQLException: Invalid state, the Connection object is closed.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Invalid-state-the-Connection-object-is/m-p/2272979#M50106</link>
      <description>Can you try with lesser number of rows?</description>
      <pubDate>Thu, 10 Feb 2011 14:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-SQLException-Invalid-state-the-Connection-object-is/m-p/2272979#M50106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-10T14:36:38Z</dc:date>
    </item>
  </channel>
</rss>

