#1 2011-04-12 00:58:56

Yash
Guest

Export job does not export user defined function - Running from Consol

Tags: [bug, console]

Hi I'm using TOS 4.1.1.r50363 and the export job does not export user defined functions. I did an export job and selected all checkboxes (including user defined functions and Export Dependencies) but still the User Defined Function is not found when I run from console.

I get the following error


C:\Documents and Settings\yranadiv\Desktop\TwitterFetch_0.1\TwitterFetch>Twitter
Fetch_run.bat

C:\Documents and Settings\yranadiv\Desktop\TwitterFetch_0.1\TwitterFetch>C:

C:\Documents and Settings\yranadiv\Desktop\TwitterFetch_0.1\TwitterFetch>cd C:\D
ocuments and Settings\yranadiv\Desktop\TwitterFetch_0.1\TwitterFetch\

C:\Documents and Settings\yranadiv\Desktop\TwitterFetch_0.1\TwitterFetch>java -X
ms256M -Xmx1024M -cp classpath.jar; portfolio.twitterfetch_0_1.TwitterFetch --co
ntext=Default
Exception in thread "main" java.lang.Error: java.lang.Error: java.lang.NoClassDe
fFoundError: routines/NLRB
        at portfolio.twitterfetch_0_1.TwitterFetch.tLibraryLoad_1Process(Twitter
Fetch.java:590)
        at portfolio.twitterfetch_0_1.TwitterFetch.runJobInTOS(TwitterFetch.java
:5351)
        at portfolio.twitterfetch_0_1.TwitterFetch.main(TwitterFetch.java:5242)
Caused by: java.lang.Error: java.lang.NoClassDefFoundError: routines/NLRB
        at portfolio.twitterfetch_0_1.TwitterFetch.tFileInputDelimited_1Process(
TwitterFetch.java:4843)
        at portfolio.twitterfetch_0_1.TwitterFetch.tLibraryLoad_1Process(Twitter
Fetch.java:582)
        ... 2 more
Caused by: java.lang.NoClassDefFoundError: routines/NLRB
        at portfolio.twitterfetch_0_1.TwitterFetch.tFileInputDelimited_1Process(
TwitterFetch.java:4294)
        ... 3 more
Caused by: java.lang.ClassNotFoundException: routines.NLRB
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 4 more

#2 2011-04-12 01:03:40

Yash
Guest

Re: Export job does not export user defined function - Running from Consol

As an update to the previous message, I am able to run the job from Talend with No problem.  I use routines.NLRB.nameofthefunction(). Here my routine name is NLRB.

#3 2011-10-19 16:27:35

Tonkov
Guest

Re: Export job does not export user defined function - Running from Consol

I have the same problem. Anyone can help us?

#4 2012-04-23 17:16:44

Deepak Narayan
Guest

Re: Export job does not export user defined function - Running from Consol

I face the same problem too, when I select several talendjobs for export. I have no trouble when I individually select jobs, export and run. But as you can imagine, this will be difficult if I have several jobs to export.

Please help!

#5 2012-04-27 14:30:46

shong
Talend team
Registered: 2007-08-29
Posts: 10299
Website

Re: Export job does not export user defined function - Running from Consol

Deepak Narayan wrote:

I face the same problem too, when I select several talendjobs for export. I have no trouble when I individually select jobs, export and run. But as you can imagine, this will be difficult if I have several jobs to export.

Please help!

Hi
Which version are you using? I remember there was a bug on older version. Do you test it again on the latest version 5.0.2? If the problem still exists, please upload a screenshot of the setting panel of export.

Best regards
Shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

Board footer

Powered by FluxBB