<?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: tRunJob with UseDynamicJob option does not work within Karaf in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRunJob-with-UseDynamicJob-option-does-not-work-within-Karaf/m-p/2302270#M74276</link>
    <description>Hi Sabrina,&lt;BR /&gt;tRunJob runs fine in our environment (OGSI container Apache Karaf) with UseDynamicJob unchecked.&lt;BR /&gt;HOWEVER, Jobserver is a different component, part of Talend DI.&amp;nbsp;In contrary, we build the job as KAR (as it is triggered by a Camel route) and we run&amp;nbsp;it in the OSGI container Apache Karaf, shipped with Talend ESB. Karaf is not mentioned in this document.&lt;BR /&gt;I am not really aware about the technical&amp;nbsp;platform of DI's JobServer, but in terms of ESB's OSGI container, I guess that the problem might be either that&amp;nbsp;1/ UseDynamicJob option&amp;nbsp;work in a similar manner as UseIndependProcess option, or 2/ dynamic class loading, which is always harder in OSGI environment. But it is just&amp;nbsp;my theory...&lt;BR /&gt;Please advice.</description>
    <pubDate>Tue, 20 Oct 2015 08:47:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-20T08:47:20Z</dc:date>
    <item>
      <title>tRunJob with UseDynamicJob option does not work within Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRunJob-with-UseDynamicJob-option-does-not-work-within-Karaf/m-p/2302268#M74274</link>
      <description>We have created the following set of Camel routes and jobs in Talend OpenStudio ESB 5.6.2:
&lt;BR /&gt;[list=*]
&lt;BR /&gt;
&lt;LI&gt;Camel route: cTimer -&amp;gt; cTalendJob&lt;/LI&gt;
&lt;BR /&gt;
&lt;LI&gt;Talend Job: tRouteInput -&amp;gt; tRunJob (with use dynamic job option and reference to other two jobs)&lt;/LI&gt;
&lt;BR /&gt;
&lt;LI&gt;Other two Talend jobs to be called from the main job&lt;/LI&gt;
&lt;BR /&gt;Whereas this setup works well from Open Studio (both Run and Debug modes), it fails in Talend Runtime (Karaf) with the following error:
&lt;BR /&gt;
&lt;PRE&gt;Error: Could not find or load main class project_name.timer_dynamic_job2_0_1.Timer_Dynamic_Job2&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;BR /&gt;It seems that the dynamically-called class loaded by tRunJob cannot be instantiated in OGSI container, because it is not exported in OGSI manifest.
&lt;BR /&gt;Please help. Michal Bureš</description>
      <pubDate>Sat, 16 Nov 2024 10:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRunJob-with-UseDynamicJob-option-does-not-work-within-Karaf/m-p/2302268#M74274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: tRunJob with UseDynamicJob option does not work within Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRunJob-with-UseDynamicJob-option-does-not-work-within-Karaf/m-p/2302269#M74275</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Have you already checked component reference: https://help.talend.com/search/all?query=tRunJob&amp;amp;content-lang=en-US&lt;BR /&gt;&lt;BR /&gt;The &lt;B&gt;Use dynamic job&lt;/B&gt; option is not compatible with the Jobserver cache. Therefore, the execution may fail if you run a Job that contains &lt;B&gt;tRunjob&lt;/B&gt; with this check box selected in Talend Administration Center.&lt;BR /&gt;&lt;BR /&gt;Is it working when &lt;B&gt;Use dynamic job&lt;/B&gt; option is unchecked?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 20 Oct 2015 03:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRunJob-with-UseDynamicJob-option-does-not-work-within-Karaf/m-p/2302269#M74275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-20T03:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: tRunJob with UseDynamicJob option does not work within Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRunJob-with-UseDynamicJob-option-does-not-work-within-Karaf/m-p/2302270#M74276</link>
      <description>Hi Sabrina,&lt;BR /&gt;tRunJob runs fine in our environment (OGSI container Apache Karaf) with UseDynamicJob unchecked.&lt;BR /&gt;HOWEVER, Jobserver is a different component, part of Talend DI.&amp;nbsp;In contrary, we build the job as KAR (as it is triggered by a Camel route) and we run&amp;nbsp;it in the OSGI container Apache Karaf, shipped with Talend ESB. Karaf is not mentioned in this document.&lt;BR /&gt;I am not really aware about the technical&amp;nbsp;platform of DI's JobServer, but in terms of ESB's OSGI container, I guess that the problem might be either that&amp;nbsp;1/ UseDynamicJob option&amp;nbsp;work in a similar manner as UseIndependProcess option, or 2/ dynamic class loading, which is always harder in OSGI environment. But it is just&amp;nbsp;my theory...&lt;BR /&gt;Please advice.</description>
      <pubDate>Tue, 20 Oct 2015 08:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRunJob-with-UseDynamicJob-option-does-not-work-within-Karaf/m-p/2302270#M74276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-20T08:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: tRunJob with UseDynamicJob option does not work within Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRunJob-with-UseDynamicJob-option-does-not-work-within-Karaf/m-p/2302271#M74277</link>
      <description>Hello,
&lt;BR /&gt;Is there any workaround in order to launch a talend job embedding tRunJob with “Use dynamic job” thru the Talend Administration centre?&amp;nbsp;
&lt;BR /&gt;
&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 09 Feb 2017 09:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRunJob-with-UseDynamicJob-option-does-not-work-within-Karaf/m-p/2302271#M74277</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-09T09:15:57Z</dc:date>
    </item>
  </channel>
</rss>

