<?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: Could not find or load main class, tRunJob - Use Dynamic Job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251833#M35657</link>
    <description>Hello all,
&lt;BR /&gt;I am using TOS 6.0 Big Data open studio and Tomcat 7
&lt;BR /&gt;In my job, I am using tRunJob component with 
&lt;BR /&gt;1. dynamic job checked
&lt;BR /&gt;2. context job input: The subjob name which I want to run
&lt;BR /&gt;3. Job input: Multi Select the list of the jobs
&lt;BR /&gt;When I run the job from studio is running properly.
&lt;BR /&gt;The error occurs when I build the Jobs as AXIS WebService (WAR), deploy it to Tomcat and trying to run the Job using 
&lt;BR /&gt;&lt;A href="http://localhost:8080/JOBS/services/Main_Job?method=runJob&amp;amp;arg1=--context_param%20subJobName=subJobName" target="_blank"&gt;http://localhost:8080/JOBS/services/Main_Job?method=runJob&amp;amp;arg1=--context_param%20subJobName=subJobName&lt;/A&gt;
&lt;BR /&gt;with&amp;nbsp; error
&lt;BR /&gt;Exception in component tRunJob_1
&lt;BR /&gt;java.lang.RuntimeException: Child job returns 1. It doesn't terminate normally.
&lt;BR /&gt;Error: Could not find or load main class myproject.main_job_0_1.SubJob
&lt;BR /&gt;However in the exploded war the jars exists under WEB-INF/lib/*.jar
&lt;BR /&gt;I know about the Limitation but the link for alternative solution doesn't work
&lt;BR /&gt;Any idea how to solve it?</description>
    <pubDate>Sat, 16 Nov 2024 10:48:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:48:47Z</dc:date>
    <item>
      <title>Error: Could not find or load main class, tRunJob - Use Dynamic Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251833#M35657</link>
      <description>Hello all,
&lt;BR /&gt;I am using TOS 6.0 Big Data open studio and Tomcat 7
&lt;BR /&gt;In my job, I am using tRunJob component with 
&lt;BR /&gt;1. dynamic job checked
&lt;BR /&gt;2. context job input: The subjob name which I want to run
&lt;BR /&gt;3. Job input: Multi Select the list of the jobs
&lt;BR /&gt;When I run the job from studio is running properly.
&lt;BR /&gt;The error occurs when I build the Jobs as AXIS WebService (WAR), deploy it to Tomcat and trying to run the Job using 
&lt;BR /&gt;&lt;A href="http://localhost:8080/JOBS/services/Main_Job?method=runJob&amp;amp;arg1=--context_param%20subJobName=subJobName" target="_blank"&gt;http://localhost:8080/JOBS/services/Main_Job?method=runJob&amp;amp;arg1=--context_param%20subJobName=subJobName&lt;/A&gt;
&lt;BR /&gt;with&amp;nbsp; error
&lt;BR /&gt;Exception in component tRunJob_1
&lt;BR /&gt;java.lang.RuntimeException: Child job returns 1. It doesn't terminate normally.
&lt;BR /&gt;Error: Could not find or load main class myproject.main_job_0_1.SubJob
&lt;BR /&gt;However in the exploded war the jars exists under WEB-INF/lib/*.jar
&lt;BR /&gt;I know about the Limitation but the link for alternative solution doesn't work
&lt;BR /&gt;Any idea how to solve it?</description>
      <pubDate>Sat, 16 Nov 2024 10:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251833#M35657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Could not find or load main class, tRunJob - Use Dynamic Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251834#M35658</link>
      <description>Hi,&lt;BR /&gt;The job should be Ok if you can execute it successfully in studio. &lt;BR /&gt;Have you checked out "Apply to children" option when you export your job as AXIS WebService (WAR)?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 16 Feb 2016 09:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251834#M35658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-16T09:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Could not find or load main class, tRunJob - Use Dynamic Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251835#M35659</link>
      <description>Yes I have checked "Apply to children" option.&lt;BR /&gt;Also in the documentation of tRunJob there is the following :&lt;BR /&gt;&lt;B&gt;"Limitation&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;The &lt;B&gt;Use dynamic job&lt;/B&gt; option of &lt;B&gt;tRunJob&lt;/B&gt; allows the main Job to call the child Job dynamically at runtime. &lt;BR /&gt;However, this option does not work if the child Job had been exported with the &lt;B&gt;Axis WebService (WAR)&lt;/B&gt; type, and been deployed to Tomcat as a web service.&lt;BR /&gt;For an alternative solution, see&amp;nbsp;&lt;A href="https://community.talend.com/see" target="_blank" rel="nofollow noopener noreferrer"&gt;link&lt;/A&gt; for details."&lt;BR /&gt;but the link for alternative solution doesn't work</description>
      <pubDate>Tue, 16 Feb 2016 09:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251835#M35659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-16T09:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Could not find or load main class, tRunJob - Use Dynamic Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251836#M35660</link>
      <description>Hi,
&lt;BR /&gt;How many child jobs do you want to call at run time? 
&lt;BR /&gt;Have you already checked the jira issue also:&amp;nbsp;
&lt;A href="https://jira.talendforge.org/browse/TDI-21348" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-21348&lt;/A&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 16 Feb 2016 09:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251836#M35660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-16T09:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Could not find or load main class, tRunJob - Use Dynamic Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251837#M35661</link>
      <description>Hi, 
&lt;BR /&gt;thank you for your reply. 
&lt;BR /&gt;In the component tRunJob in the Job list I have placed all the jobs I have designed (around 20 jobs) 
&lt;BR /&gt;and in the dynamic job I placed a parameter with the job name so it's one child-job every time according to the parameter. 
&lt;BR /&gt;I have checked the jira and also the documentation. As I understand something like this is not compatible. 
&lt;BR /&gt;Is there any alternative solution?</description>
      <pubDate>Tue, 16 Feb 2016 14:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251837#M35661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-16T14:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Could not find or load main class, tRunJob - Use Dynamic Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251838#M35662</link>
      <description>Hi,
&lt;BR /&gt;Feel free to create a workitem jira issue of DI project on Talend Bug Tracker.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 18 Feb 2016 07:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Could-not-find-or-load-main-class-tRunJob-Use-Dynamic-Job/m-p/2251838#M35662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-18T07:13:25Z</dc:date>
    </item>
  </channel>
</rss>

