<?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 Rest route throwing error java.io.IOException: stream is closed in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293380#M66359</link>
    <description>&lt;P&gt;I am creating a Rest Route. It is a simple route which takes Request and get the response from endpoint which is located on Swagger. I have used build in &lt;B&gt;Meta Data&lt;/B&gt; &lt;B&gt;Rest API definition&lt;/B&gt; to add my Api. Now when I am trying to call the Endpoint using Soap UI it throws Error &lt;B&gt;java.io.IOException: stream is closed. I&lt;/B&gt;don't understand what is the reason behind this error. Following screenshot contain full trace of Error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000PMSXgAAP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140009i8549ADA5AA5E8EAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000PMSXgAAP.png" alt="0695b00000PMSXgAAP.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can some one please guide me What is wrong why I am getting this error? Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edited:&lt;/P&gt;&lt;P&gt;Before I didn't added the response class "javax.ws.rs.core.Response" in tRest-2 now after adding class I got this error&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:05:37 GMT</pubDate>
    <dc:creator>user19</dc:creator>
    <dc:date>2024-11-15T23:05:37Z</dc:date>
    <item>
      <title>Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293380#M66359</link>
      <description>&lt;P&gt;I am creating a Rest Route. It is a simple route which takes Request and get the response from endpoint which is located on Swagger. I have used build in &lt;B&gt;Meta Data&lt;/B&gt; &lt;B&gt;Rest API definition&lt;/B&gt; to add my Api. Now when I am trying to call the Endpoint using Soap UI it throws Error &lt;B&gt;java.io.IOException: stream is closed. I&lt;/B&gt;don't understand what is the reason behind this error. Following screenshot contain full trace of Error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000PMSXgAAP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140009i8549ADA5AA5E8EAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000PMSXgAAP.png" alt="0695b00000PMSXgAAP.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can some one please guide me What is wrong why I am getting this error? Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edited:&lt;/P&gt;&lt;P&gt;Before I didn't added the response class "javax.ws.rs.core.Response" in tRest-2 now after adding class I got this error&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293380#M66359</guid>
      <dc:creator>user19</dc:creator>
      <dc:date>2024-11-15T23:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293381#M66360</link>
      <description>&lt;P&gt;Have you had this service running successfully at all? Can you show us the design and the configuration of your endpoint?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 22:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293381#M66360</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-24T22:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293382#M66361</link>
      <description>&lt;P&gt;@rhall I added the screenshots in Question. Yes service is running successfully at server side&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 07:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293382#M66361</guid>
      <dc:creator>user19</dc:creator>
      <dc:date>2022-03-25T07:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293383#M66362</link>
      <description>&lt;P&gt;hi @alya mobeen​&amp;nbsp;, wich JDK version are you  using ?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 08:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293383#M66362</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-03-25T08:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293384#M66363</link>
      <description>&lt;P&gt;@guenneguez jeremy​&amp;nbsp; jdk-11.0.8&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 08:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293384#M66363</guid>
      <dc:creator>user19</dc:creator>
      <dc:date>2022-03-25T08:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293385#M66364</link>
      <description>&lt;P&gt;and wich version of Talend are you using ? &lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 08:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293385#M66364</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-03-25T08:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293386#M66365</link>
      <description>&lt;P&gt;talend 7.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 08:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293386#M66365</guid>
      <dc:creator>user19</dc:creator>
      <dc:date>2022-03-25T08:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293387#M66366</link>
      <description>&lt;P&gt;I think for 7.3 JDK-8 is recommended, JDK-11 is for 8.0&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293387#M66366</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-03-25T09:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293388#M66367</link>
      <description>&lt;P&gt;but it never create problem before. So do you think this is the reason for error?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:08:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293388#M66367</guid>
      <dc:creator>user19</dc:creator>
      <dc:date>2022-03-25T09:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293389#M66368</link>
      <description>&lt;P&gt; javax.ws.rs.core&lt;/P&gt;&lt;P&gt; seems to be a deprecated since JDK 9&lt;/P&gt;&lt;P&gt;and removed in JDK 11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293389#M66368</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-03-25T09:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293390#M66369</link>
      <description>&lt;P&gt;In v7.3 Java 11 is recommended (https://help.talend.com/r/en-US/7.3/installation-guide-open-studio-for-esb-mac/compatible-java-environments). &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have just tried to emulate your experience here and was able to do so. I then played around and replaced the second cRest with a cHttp component set up as client rather than server. It worked. Can you give that a go?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 14:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293390#M66369</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-25T14:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293391#M66370</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;thank you for the response. I replaced it with cHHTp and it throw following error.&lt;/P&gt;&lt;P&gt;I am creating an existing service so do you think should I add some other component? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000PMTysAAH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142241iBFECF5164DB02F83/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000PMTysAAH.png" alt="0695b00000PMTysAAH.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000PMTynAAH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143243i4FFA40F9DD9A73D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000PMTynAAH.png" alt="0695b00000PMTynAAH.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 15:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293391#M66370</guid>
      <dc:creator>user19</dc:creator>
      <dc:date>2022-03-25T15:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293392#M66371</link>
      <description>&lt;P&gt;Unfortunately it can be quite difficult to work on services when you have no access to them yourself. I had to recreate a similar environment to what you showed and try a few things out. I realised that in my scenario, I could use a cHttp component (to replace the second cREST), so tried it and it worked. The Endpoint was created exactly the same way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done a bit of Googling about this issue. These are Apache Camel components, so it is always good to search for answers in that domain as well. It turns out that the marshalling of incoming data can cause a similar issue. So I ticked the "&lt;B&gt;Skip incoming data unmarshalling" tickbox on the second cREST component (which I've added back). This appears to solve it for me as well.&lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 15:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293392#M66371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-25T15:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rest route throwing error java.io.IOException: stream is closed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293393#M66372</link>
      <description>&lt;P&gt;@Richard Hall​&amp;nbsp;thanks it really worked.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 06:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-route-throwing-error-java-io-IOException-stream-is-closed/m-p/2293393#M66372</guid>
      <dc:creator>user19</dc:creator>
      <dc:date>2022-03-28T06:51:21Z</dc:date>
    </item>
  </channel>
</rss>

