<?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 Error when using independent process to run subjob with Talend ESB in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341857#M109777</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;Whenever I use an independent process to run a subjob I get the following error "cannot find main method in talend job"&lt;BR /&gt;If I run the job directly from Talend open studio for ESB it works fine. However once I export as OSGI bundle and deploy in an ESB runtime server I get the above error.&lt;BR /&gt;Any advise on what I might be doing wrong?&lt;BR /&gt;Please help.&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 11:11:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:11:50Z</dc:date>
    <item>
      <title>Error when using independent process to run subjob with Talend ESB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341857#M109777</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Whenever I use an independent process to run a subjob I get the following error "cannot find main method in talend job"&lt;BR /&gt;If I run the job directly from Talend open studio for ESB it works fine. However once I export as OSGI bundle and deploy in an ESB runtime server I get the above error.&lt;BR /&gt;Any advise on what I might be doing wrong?&lt;BR /&gt;Please help.&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341857#M109777</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using independent process to run subjob with Talend ESB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341858#M109778</link>
      <description>Apologies, the actual error is "could not find or load main class talendJobClass"</description>
      <pubDate>Wed, 03 Jun 2015 20:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341858#M109778</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-03T20:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using independent process to run subjob with Talend ESB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341859#M109779</link>
      <description>Hi,
&lt;BR /&gt;What does your ESB job look like? Is there any more error message in tesb.log file? 
&lt;BR /&gt;On which official version did you get that?
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 04 Jun 2015 09:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341859#M109779</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-04T09:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using independent process to run subjob with Talend ESB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341860#M109780</link>
      <description>Hi,&lt;BR /&gt;After some research, it seemed the challenge was with the ESB runtime in use. I saw I had to deactivate a userCache properties but I couldnt locate said property in any of the property files in the server.&lt;BR /&gt;Due to time constraints, I decided to build the job as a standaloneJob instead; executing it via a .BAT file. This worked without any issues just like it did on on the studio.&lt;BR /&gt;I'm open to further suggestions or recommendations though. Anything for optimal performance and best practices.&lt;BR /&gt;Thanks,</description>
      <pubDate>Fri, 05 Jun 2015 12:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341860#M109780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-05T12:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using independent process to run subjob with Talend ESB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341861#M109781</link>
      <description>I am curious as to why you are running a Talend Job inside Apache Karaf (or the runtime)? The Karaf (amongst other things) basically allows you to use the same JVM for all of your artefacts. This means that they essentially share the same memory. In the Enterprise Edition, the runtime is charged (or at least was last time I was connected to a sale) to the cpus and memory. Why waste that memory and the cpus on a batch job? 
&lt;BR /&gt;Also, the " 
&lt;I&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;Use an independent process to run subjob"&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/I&gt;option is basically for memory issues. Putting the subjob in a different process will get it to spawn a new JVM. This makes no sense in Apache Karaf.&amp;nbsp; 
&lt;BR /&gt;If you have the Enterprise Edition, I would suggest running your DI Jobs on a Jobserver and putting only your services and routes in the ESB Runtime. If you are using the Open Source Edition, I would suggest using the cron tab (Linux) or a scheduler (Windows) to start your batch (DI) Jobs, and use the ESB Runtime to run just services and routes.&amp;nbsp;</description>
      <pubDate>Fri, 05 Jun 2015 12:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341861#M109781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-05T12:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using independent process to run subjob with Talend ESB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341862#M109782</link>
      <description>I have been facing the exact same problem at runtime in Karaf. It turns out that it is not possible to check "run as an independent job" in subjobs when job will be run in Karaf.&amp;nbsp;&lt;BR /&gt;Wouldn't it be better be handled at build time and not rely on user to make sure all subjobs are unchecked ?&lt;BR /&gt;This option should not raise an exception in Karaf, it should just have no effect, imho.</description>
      <pubDate>Wed, 03 Aug 2016 16:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-when-using-independent-process-to-run-subjob-with-Talend/m-p/2341862#M109782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-03T16:06:19Z</dc:date>
    </item>
  </channel>
</rss>

