Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Export POJO Script - Created jar file is empty

Hi,
The job runs fine from Talend Studio. When exported as POJO (refer screen shot below) the contents of the jar file are empty 😞 and hence the job cant run.
I am using Talend Open Studio 2.3.1.r11699
I seem to be forgetting something. Pls help !
Best Regards
Rao
0683p000009MBud.png 0683p000009MBk0.png
Labels (3)
9 Replies
Anonymous
Not applicable
Author

Hello
After exporting the POJO script, then extract the zip file to the current folder.
1)You can click on the .bat file to run the job directly.
2)Launch the command line and run the job, go to the correct folder where the .bat file locate.
In you case, I think the file path should be:
C:\temp\SetupTING_0.1\SetupTING_0.1\SetupTING>SetupTING_run.bat

Best regards

shong
Anonymous
Not applicable
Author

Hi,
I too get the same error. While doing the export job script.
Anonymous
Not applicable
Author

Hi,
I too get the same error. While doing the export job script.
Anonymous
Not applicable
Author

Anonymous
Not applicable
Author

Helllo Velu
I can export the job script and the job works fine with TOS2.3.1 on windows xp.
What's about your work environment?
Best regards
shong
Anonymous
Not applicable
Author

Shong / Vaiko, Thanks.
1) I did run the job from the dir where .bat file is located.
2) The problem is cos there are no class files in the .jar file. Pls refer the dos command output I had enclosed.
3) I added a similar job to the TalendSamples Project and when I export POJO, the jar file does have the necessary classes.
4) Based on Vaiko's post referal, I believe the problem will get resolved if we export and reimport the items. That looks more like a workaround to me.
5) My environment is
Talend 2.3.1r11699
Java 1.5.0_06
Best Regards, Rao
Anonymous
Not applicable
Author

Hi there,
I have the exact same issue.
I tried ti export, change workspace, resinstall. I still can't export my jobs (that are running xorrectly wihtin TOS) i keep on getting empty jars. :mad:
Moreover, when i try to import my jobs (a workaround i found on a thread) it's not working see below a sample of the workspace/.medatada/.log
!ENTRY org.talend.libraries 1 0 2008-06-27 15:54:31.439
!MESSAGE 2008-06-27 15:54:31,439 INFO org.talend.repository.localprovider.imports.ImportItemUtil - Cannot import item Db Connections GW3-Talend 0.1 -> unknow task(s)

Talend
Version: 2.4.0
Build id: r14858-20080606-1850
Java version "1.6.0_06"
Anonymous
Not applicable
Author

Anonymous
Not applicable
Author

Happiness can be as simple as a job exported and working as expected.
That's a uncommon monday ! 0683p000009MACJ.png
Many thanks Vaiko for pointing this bug reference.
The workaround was as simple as renaming my job's workspace that indeed contained a hyphen.
Thanks to talend team as well for this great tool, keep up the good work.