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

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

Error with component tRunJob java.lang.RuntimeException

Hi,
I'm designing two jobs, a parent job and a son job.
In my parent job called JobConductor i have only one tRunJob component like the first image, in the son job called analisisEstados i have two components, a tInformixInput and tFileOutputExcel like second image.
When I execute the job in TDQ 4.1.3 it works fine, but the problem is when I try to run in Talend Integration Suite Administration Center in Job Conductor I get this error:
Exception in component tRunJob_1
java.lang.RuntimeException: Child job return 1. It doesn't terminate normally.
java.lang.NoClassDefFoundError: integracion3r3/analisisestados_0_1/analisisEstados
Caused by: java.lang.ClassNotFoundException: integracion3r3.analisisestados_0_1.analisisEstados
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)
Could not find the main class: integracion3r3.analisisestados_0_1.analisisEstados. Program will exit.
Exception in thread "main"
at integracion3r3.jobconductor_0_1.JobConductor.tRunJob_1Process(JobConductor.java:615)
at integracion3r3.jobconductor_0_1.JobConductor.runJobInTOS(JobConductor.java:5229)
disconnected
at integracion3r3.jobconductor_0_1.JobConductor.main(JobConductor.java:5064)
Data truncation: Data too long for column 'message' at row 1
Someone can help me to solve the problem or tell me what i'm doing bad????
thanks. Regards.
Labels (3)
2 Replies
Anonymous
Not applicable
Author

Hi,
You have selected for your tRunJob the option: Use an independant process to run subjob.
If you use that option, then the child job is executing in another jvm, and because of that, then the main job is not able to find the child job to execute!
Uncheck that option, regenerate your job, and you should be fine.
Anonymous
Not applicable
Author

You have the reason.
I tried and it works fine.
Thanks.
Regards.