Error while running a job

One Star

Error while running a job

Hi, I'm trying to run a project on Talend and I get this error.

Démarrage du job myjob a 14:34 14/06/2016.
Erreur : impossible de trouver ou charger la classe principale project.myjob_0_1.myjob
[font=consolas, monaco, 'bitstream vera sans mono', 'courier new', courier, monospace]Job myjob terminé à 14:34 14/06/2016. [Code sortie=1][/font]


I made some researches and I found many topics dealing with this issue but none of the proposed solutions were reliable. Indeed my JDK is updated :

george@ubuntu:~/TOS_BD-20160510_1709-V6.2.0$ java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

so there is no reason the error come from this. 
Ideas ?

Moderator

Re: Error while running a job

Hi,
Have you already checked documents about:TalendHelpCenter:Compatible Java environments and TalendHelpCenter:Compatible Operating Systems to see if you are on a compatible platform?
Is there any more error message which is located in <Talend Studio installation path>/workspace/.metadata/.log?
 

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Error while running a job

I have got the recommended environnement. I have an ubuntu 14.04 64 bits and my java is the 1.8 one.
When I try to run my job thos lines appears in the log : 

!ENTRY org.talend.platform.logging 1 0 2016-06-15 10:04:47.242
!MESSAGE 2016-06-15 10:04:47,241 INFO  org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory  - Using NULL lifecycle mapping for MavenProject: org.talend.master.project:code.Master:6.2.0 @ /home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/pom.xml.
!ENTRY org.talend.platform.logging 1 0 2016-06-15 10:04:47.504
!MESSAGE 2016-06-15 10:04:47,504 INFO  org.talend.designer.core.runprocess.Processor  - Command line: /usr/lib/jvm/java-8-oracle/jre/bin/java -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp /home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/target/classes:.:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/json-lib-2.4-jdk15.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/mongo-java-driver-2.14.1.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/log4j-1.2.15.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/commons-beanutils-1.8.3.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/jboss-serialization.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/commons-lang-2.6.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/talendcsv.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/xom-1.2.7.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/mysql-connector-java-5.1.30-bin.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/dom4j-1.6.1.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/advancedPersistentLookupLib-1.0.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/trove.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/log4j-1.2.16.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/commons-collections-3.2.1.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/commons-logging-1.1.1.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/ezmorph-1.0.6.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/commons-collections-3.2.2.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/lib/jaxen-1.1.1.jar:/home/george/TOS_BD-20160510_1709-V6.2.0/workspace/.Java/libSmiley Tongueroject.job2_0_1.job2 --context=Default --stat_port=3604 "$@"
Moderator

Re: Error while running a job

Hi,
Did you install your v 6.2 completely?
Could you please re-install talend open studio for bigdata 6.2 to see if it works? Does this issue repro on other version(6.1)?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Error while running a job

K. I re-installed TOS 6.2 and now the job is apparently running. I did not think it could be an installation issue as I did not get any error during it.

Thank you
Moderator

Re: Error while running a job

Hi,
We suspected that the installation was not made completely.
Is it working well now? Feel free to let us know if there is any further help we can give.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Error while running a job

I think your guesses were right because now jobs are working just well. Thank you for your time !

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch