<?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: How to exit job from tPreJob? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200432#M2920</link>
    <description>Hi,&lt;BR /&gt;thaks for the answer. We tried your solution. Unfortunately, our JBoss-server shuts unexpectedly down now. (We need to deploy the job as a web service). This solution is not really a step forward for us! What else can we do?&lt;BR /&gt;/tomte</description>
    <pubDate>Wed, 27 Jun 2012 11:38:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-06-27T11:38:46Z</dc:date>
    <item>
      <title>How to exit job from tPreJob?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200430#M2918</link>
      <description>We have a job that performs some preparation/configuration in a tPreJob prior to the main part of a job. In case of errors in the tPreJob, we use tDie to stop the job. Unfortunately, the job doesn't die and the main part of the job still executes. How can we make sure the job dies in a tPreJob?&lt;BR /&gt;/tomte</description>
      <pubDate>Wed, 27 Jun 2012 10:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200430#M2918</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-27T10:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit job from tPreJob?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200431#M2919</link>
      <description>Hi&lt;BR /&gt;It is because the tPrejob_1Process() method and the tJava_1Process() are called separately in the runJobInTOS() method.&lt;BR /&gt;They are in two try-catch-finally blocks.&lt;BR /&gt;The solution is to select the "Exit JVM immediately" option in tDie-&amp;gt;Advanced Settings.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 27 Jun 2012 10:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200431#M2919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-27T10:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit job from tPreJob?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200432#M2920</link>
      <description>Hi,&lt;BR /&gt;thaks for the answer. We tried your solution. Unfortunately, our JBoss-server shuts unexpectedly down now. (We need to deploy the job as a web service). This solution is not really a step forward for us! What else can we do?&lt;BR /&gt;/tomte</description>
      <pubDate>Wed, 27 Jun 2012 11:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200432#M2920</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-27T11:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit job from tPreJob?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200433#M2921</link>
      <description>Hi
&lt;BR /&gt;Sorry. I didn't know you wanted to deploy it on JBoss.
&lt;BR /&gt;It seems the code System.exit(4) makes JBoss shut down.
&lt;BR /&gt;Now another workaround is in the main part you might link some components with tDie by using the Run-if trigger.
&lt;BR /&gt;Modify the if condition: ((Integer)globalMap.get("tDie_1_DIE_CODE"))==4.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 28 Jun 2012 02:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200433#M2921</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-28T02:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit job from tPreJob?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200434#M2922</link>
      <description>Hi TalendJoda,&lt;BR /&gt;unfortunately, our cool vendor doesn't support higher versions of JBoss.&lt;BR /&gt;/tomte</description>
      <pubDate>Thu, 28 Jun 2012 15:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200434#M2922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-28T15:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit job from tPreJob?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200435#M2923</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Hi&lt;BR /&gt;It is because the tPrejob_1Process() method and the tJava_1Process() are called separately in the runJobInTOS() method.&lt;BR /&gt;They are in two try-catch-finally blocks.&lt;BR /&gt;The solution is to select the "Exit JVM immediately" option in tDie-&amp;gt;Advanced Settings.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Thanks. It worked.</description>
      <pubDate>Tue, 12 Feb 2013 10:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200435#M2923</guid>
      <dc:creator>josephmundadan</dc:creator>
      <dc:date>2013-02-12T10:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit job from tPreJob?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200436#M2924</link>
      <description>How can we accomplish this via the talend data mapper?</description>
      <pubDate>Thu, 03 Mar 2016 15:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200436#M2924</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-03-03T15:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit job from tPreJob?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200437#M2925</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me it doesn't work because i want to execute the tPostJob even tDie quit tPreJob.&lt;/P&gt;&lt;P&gt;The only solution i found is to put a component (tWarn or tJava) starting the job an linking it to the real start with an if link (condition : no error message, for example)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 15:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-exit-job-from-tPreJob/m-p/2200437#M2925</guid>
      <dc:creator>philippert</dc:creator>
      <dc:date>2018-06-28T15:30:36Z</dc:date>
    </item>
  </channel>
</rss>

