<?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: tlogcatcher is not been called when SFTP connection in subjob fails. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tlogcatcher-is-not-been-called-when-SFTP-connection-in-subjob/m-p/2257898#M39862</link>
    <description>&lt;P&gt;Hi Ragu,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply. Actually SFTP connection failure is throwing "java.net.ConnectException". There was a problem with MySql component which was stopping the mysql update and an email option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Wed, 17 Oct 2018 13:08:17 GMT</pubDate>
    <dc:creator>ramnn</dc:creator>
    <dc:date>2018-10-17T13:08:17Z</dc:date>
    <item>
      <title>tlogcatcher is not been called when SFTP connection in subjob fails.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tlogcatcher-is-not-been-called-when-SFTP-connection-in-subjob/m-p/2257896#M39860</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;My use case is as follows.&lt;BR /&gt;&lt;BR /&gt;1. Main job - This will call 2 subjobs&lt;BR /&gt;2. Subjob - I am doing file transfer in my 2nd subjob. I got sftp connection (ConnectException) when trying to connect to SFTP server. My job got tLogCatcher in my subjob but that was not been called in this error scenario.&lt;BR /&gt;&lt;BR /&gt;Note: I have unchecked "Die on Error" from all the components and checked "Catch Java Exception", "Catch tDie", "Catch tWarn" and "Catch tActionFailure" in tLogCatcher.&lt;BR /&gt;&lt;BR /&gt;I have attached my main and sub job.&lt;BR /&gt;&lt;BR /&gt;Please help!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 16:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tlogcatcher-is-not-been-called-when-SFTP-connection-in-subjob/m-p/2257896#M39860</guid>
      <dc:creator>ramnn</dc:creator>
      <dc:date>2018-10-12T16:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: tlogcatcher is not been called when SFTP connection in subjob fails.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tlogcatcher-is-not-been-called-when-SFTP-connection-in-subjob/m-p/2257897#M39861</link>
      <description>&lt;P&gt;Ram,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The appropriate way&amp;nbsp;to&amp;nbsp;handle error is to&amp;nbsp;connect the SFTP component to&amp;nbsp;a tDie or tWarn using onComponentError.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SFTP failure is not a java exception. You have also unchecked the "Die on error" in the component. So to cauch the error, it needs to be connected&amp;nbsp;with onComponentOK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please use tWarn and tDie where ever you wanted to handle the error with a return code greater than 0.&amp;nbsp; You can also use tJava component and use system.exit(1);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ragu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Oct 2018 07:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tlogcatcher-is-not-been-called-when-SFTP-connection-in-subjob/m-p/2257897#M39861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-13T07:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: tlogcatcher is not been called when SFTP connection in subjob fails.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tlogcatcher-is-not-been-called-when-SFTP-connection-in-subjob/m-p/2257898#M39862</link>
      <description>&lt;P&gt;Hi Ragu,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply. Actually SFTP connection failure is throwing "java.net.ConnectException". There was a problem with MySql component which was stopping the mysql update and an email option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 13:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tlogcatcher-is-not-been-called-when-SFTP-connection-in-subjob/m-p/2257898#M39862</guid>
      <dc:creator>ramnn</dc:creator>
      <dc:date>2018-10-17T13:08:17Z</dc:date>
    </item>
  </channel>
</rss>

