<?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: java.lang.NoClassDefFoundError - Autonomous unix Job fails in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348902#M115954</link>
    <description>Hi Sabrina 
&lt;BR /&gt;I only get this error on Unix and I get it every time, regardless which project I try. 
&lt;BR /&gt;The weird thing is, when I open the systemRoutines.jar file, I do see the mentioned class (see attached file 'Capture.JPG') 
&lt;BR /&gt;The contents of the unix shell are as follows: 
&lt;BR /&gt;cd `dirname $0` 
&lt;BR /&gt; ROOT_PATH=`pwd` 
&lt;BR /&gt; java -Xms256M -Xmx1024M -cp $ROOT_PATH/../lib/dom4j-1.6.1.jar:$ROOT_PATH/../lib/talendcsv.jar:$ROOT_PATH/../lib/talend_file_enhanced_20070724.jar:$ROOT_PATH:$ROOT_PATH/../lib/systemRoutines.jar:$ROOT_PATH/../lib/userRoutines.jar::.:$ROOT_PATH/exportdemo_0_1.jar: bdma_sftp.exportdemo_0_1.ExportDemo --context=Default "$@" 
&lt;BR /&gt;Is there nobody experiencing the same problem out there? 
&lt;BR /&gt;As a workaround, I turned to running the job on one of our windows servers for now, but in the end they all should be able to run on unix. 
&lt;BR /&gt;Thanks 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEFa.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157303i0A4655C78AE81042/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEFa.jpg" alt="0683p000009MEFa.jpg" /&gt;&lt;/span&gt;</description>
    <pubDate>Tue, 02 Apr 2013 06:18:06 GMT</pubDate>
    <dc:creator>diazsmiedts</dc:creator>
    <dc:date>2013-04-02T06:18:06Z</dc:date>
    <item>
      <title>java.lang.NoClassDefFoundError - Autonomous unix Job fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348898#M115950</link>
      <description>I created a small ETL job (connect to sFTP server, find files and download locally, using contexts for different environmenst) in Talend Open Studio for Data Integration version 5.2.1. 
&lt;BR /&gt;The job works flawlessy in the Open Studio GUI so I exported it to run on unix (using export to autonomous job with the "All" option). 
&lt;BR /&gt;When I run the job on unix, it never executes at all. I always receive the error 
&lt;BR /&gt;Exception in thread "main" java.lang.NoClassDefFoundError: routines/system/api/TalendJob 
&lt;BR /&gt; at java.lang.ClassLoader.defineClass1(Native Method) 
&lt;BR /&gt; at java.lang.ClassLoader.defineClass(ClassLoader.java:621) 
&lt;BR /&gt; at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) 
&lt;BR /&gt; at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) 
&lt;BR /&gt; at java.net.URLClassLoader.access$100(URLClassLoader.java:56) 
&lt;BR /&gt; at java.net.URLClassLoader$1.run(URLClassLoader.java:195) 
&lt;BR /&gt; at java.security.AccessController.doPrivileged(Native Method) 
&lt;BR /&gt; at java.net.URLClassLoader.findClass(URLClassLoader.java:188) 
&lt;BR /&gt; at java.lang.ClassLoader.loadClass(ClassLoader.java:307) 
&lt;BR /&gt; at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) 
&lt;BR /&gt; at java.lang.ClassLoader.loadClass(ClassLoader.java:252) 
&lt;BR /&gt; at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) 
&lt;BR /&gt; 
&lt;BR /&gt;Running the same job from within Windows (locally on my Windows 7 machine), it runs successfully. 
&lt;BR /&gt;I downloaded the very latest OPenStudio 5.2.2 and tried the same thing, to no avail. I still don't succeed in running the standalone job, as it seems to have some issues with locating the different src JARs. I tried changing the shell file, building in 1.5 and 1.6, all of this did not help at all. 
&lt;BR /&gt;So, has anyone encountered the same issue recently, using openstudio 5.2.1 or 5.2.2? 
&lt;BR /&gt;Please advice 
&lt;BR /&gt;Thank you</description>
      <pubDate>Fri, 29 Mar 2013 09:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348898#M115950</guid>
      <dc:creator>diazsmiedts</dc:creator>
      <dc:date>2013-03-29T09:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError - Autonomous unix Job fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348899#M115951</link>
      <description>Hi, &lt;BR /&gt;If the job in studio works well, I think the work flow is Fine. Perhaps something wrong with the export. Have you seen the KB article on Talend Help Center &lt;A href="https://help.talend.com/search/all?query=Exporting+a+Job+script+and+executing+it+outside+of+Talend+Studio&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;Exporting a Job script and executing it outside of Talend Studio&lt;/A&gt;?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 29 Mar 2013 09:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348899#M115951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-29T09:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError - Autonomous unix Job fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348900#M115952</link>
      <description>Thanks Sabrina, I just finished all the steps in the KB, to make sure I didn't make any mistakes in my own ETL project, but I get the same error in this ExportDemo project. 
&lt;BR /&gt;On Unix it doesn't work and returns the same error message:
&lt;BR /&gt;Exception in thread "main" java.lang.NoClassDefFoundError: routines/system/api/TalendJob
&lt;BR /&gt; at java.lang.ClassLoader.defineClass1(Native Method)
&lt;BR /&gt; at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
&lt;BR /&gt; at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
&lt;BR /&gt; at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
&lt;BR /&gt; at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
&lt;BR /&gt; at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
&lt;BR /&gt; at java.security.AccessController.doPrivileged(Native Method)
&lt;BR /&gt; at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
&lt;BR /&gt; at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
&lt;BR /&gt; at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
&lt;BR /&gt; at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
&lt;BR /&gt; at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)</description>
      <pubDate>Fri, 29 Mar 2013 12:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348900#M115952</guid>
      <dc:creator>diazsmiedts</dc:creator>
      <dc:date>2013-03-29T12:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError - Autonomous unix Job fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348901#M115953</link>
      <description>Hi, 
&lt;BR /&gt;Usually, the systemRoutine.jar should have included this class when you export your job successfully. All the jobs have this error or this error only occur in your ExportDemo project?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 01 Apr 2013 07:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348901#M115953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-01T07:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError - Autonomous unix Job fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348902#M115954</link>
      <description>Hi Sabrina 
&lt;BR /&gt;I only get this error on Unix and I get it every time, regardless which project I try. 
&lt;BR /&gt;The weird thing is, when I open the systemRoutines.jar file, I do see the mentioned class (see attached file 'Capture.JPG') 
&lt;BR /&gt;The contents of the unix shell are as follows: 
&lt;BR /&gt;cd `dirname $0` 
&lt;BR /&gt; ROOT_PATH=`pwd` 
&lt;BR /&gt; java -Xms256M -Xmx1024M -cp $ROOT_PATH/../lib/dom4j-1.6.1.jar:$ROOT_PATH/../lib/talendcsv.jar:$ROOT_PATH/../lib/talend_file_enhanced_20070724.jar:$ROOT_PATH:$ROOT_PATH/../lib/systemRoutines.jar:$ROOT_PATH/../lib/userRoutines.jar::.:$ROOT_PATH/exportdemo_0_1.jar: bdma_sftp.exportdemo_0_1.ExportDemo --context=Default "$@" 
&lt;BR /&gt;Is there nobody experiencing the same problem out there? 
&lt;BR /&gt;As a workaround, I turned to running the job on one of our windows servers for now, but in the end they all should be able to run on unix. 
&lt;BR /&gt;Thanks 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEFa.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157303i0A4655C78AE81042/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEFa.jpg" alt="0683p000009MEFa.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 02 Apr 2013 06:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348902#M115954</guid>
      <dc:creator>diazsmiedts</dc:creator>
      <dc:date>2013-04-02T06:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError - Autonomous unix Job fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348903#M115955</link>
      <description>Hi, &lt;BR /&gt;I have seen your contents of the unix shell, and it seems everything is fine without problem. You can replace ROOT_PATH with the current directory of bat/sh and then execute the java command  by manually.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 02 Apr 2013 08:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348903#M115955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-02T08:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError - Autonomous unix Job fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348904#M115956</link>
      <description>Hi&lt;BR /&gt;I tried replacing lots of stuff in the unix shell, using wildcards, full paths, variabele paths, environment variables, whatnot.. but none of those changes resolved my problem. &lt;BR /&gt;For the time being I'll be using the windows batch launcher, but if anybody else comes across the same issue, I would value there input as well. &lt;BR /&gt;Thanks for your help thusfar!&lt;BR /&gt;kind regards&lt;BR /&gt;Diaz</description>
      <pubDate>Wed, 03 Apr 2013 07:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348904#M115956</guid>
      <dc:creator>diazsmiedts</dc:creator>
      <dc:date>2013-04-03T07:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError - Autonomous unix Job fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348905#M115957</link>
      <description>Hi, 
&lt;BR /&gt;I have made a testing (Talend open studio for Data Integration 5.2.2 r99271)for your case on Linux, everything is good. In addition, I don't find any related bug on 
&lt;A href="https://jira.talendforge.org/secure/Dashboard.jspa" target="_blank" rel="nofollow noopener noreferrer"&gt;talend jira&lt;/A&gt;.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 03 Apr 2013 11:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348905#M115957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-03T11:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError - Autonomous unix Job fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348906#M115958</link>
      <description>Hi, 
&lt;BR /&gt;I have the same problem in Linux , NullPointer exception when work in Autonomous Job, but run in GUI all times is OK. 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards</description>
      <pubDate>Wed, 04 Dec 2013 14:15:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348906#M115958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-04T14:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError - Autonomous unix Job fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348907#M115959</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I have the same problem in Linux , NullPointer exception when work in Autonomous Job, but run in GUI all times is OK.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Is it working with your Window? Have you follow up document 
&lt;A href="https://help.talend.com/search/all?query=How+to+build+Jobs&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:How to build Jobs&lt;/A&gt; to build your .sh file in Linux? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 09 Dec 2013 06:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348907#M115959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-09T06:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError - Autonomous unix Job fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348908#M115960</link>
      <description>I've just had this same issue.&amp;nbsp; It turns out the 'lib' folder needs to be copied to the new root folder location when moving the job to a different location after unzipping it.&amp;nbsp; Best option is to unzip the job where you want to deploy as the lib folder is part of the zip which prevents this issue in the first place. 
&lt;BR /&gt;Hope this helps anyone else who comes up against this issue...</description>
      <pubDate>Fri, 17 Oct 2014 04:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348908#M115960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-17T04:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError - Autonomous unix Job fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348909#M115961</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri"&gt;Can we consider this issue as resolved?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri"&gt;Sabrina&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 17 Oct 2014 08:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NoClassDefFoundError-Autonomous-unix-Job-fails/m-p/2348909#M115961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-17T08:15:08Z</dc:date>
    </item>
  </channel>
</rss>

