tSendMail - compile issues when running on job conductor from project

One Star

tSendMail - compile issues when running on job conductor from project

Version Info:
Talend Enterprise Data Integration - 5.4.1 build r111943
Client Install on windows 7 enterprise 64 bit
Server install on windows server 2012 64 bit
JDK 1.7.0.55 on both machines.
Error info:
I have a simple job that sends a mail using the tSendMail component.
I can run the job using the designer tool without error, both on local machine and against the server via target exec.
I can also run the job using the conductor when it has been deployed as a zip file.
I encounter a compile error when I run the job directly from the project source. see below.
If i remove the tSendMail component from the job I can run it from the source without error.
I think the error could be related to the jar file "mail-1.4.jar" but I don't know where to look for it on the server.
Error message:
java.lang.RuntimeException: org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "mail_test" has compile errors, please fix and export again.
at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:148)
at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:31)
at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(CommandProcessorSwitch.java:161)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:70)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Unknown Source)
Caused by: org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "mail_test" has compile errors, please fix and export again.
at org.talend.designer.runprocess.JobErrorsChecker.checkLastGenerationHasCompilationError(JobErrorsChecker.java:267)
at org.talend.commandline.util.JobHandler.export(JobHandler.java:227)
at org.talend.commandline.command.execute.BuildJobExecuteCommand.execute(BuildJobExecuteCommand.java:93)
at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:146)
... 7 more
org.talend.gwtadministrator.client.module.dashboard.commandline.model.CommandLineBean.executeGroupCommand(CommandLineBean.java:250)
org.talend.administrator.scheduler.business.job.generate.JobGenerator.executeGroupCommand(JobGenerator.java:308)
org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:148)
org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:374)
org.talend.administrator.scheduler.business.ExecutionTaskHandler.runTaskUnit(ExecutionTaskHandler.java:918)
org.talend.administrator.scheduler.jobs.RemoteTaskExecution.executeRemoteJob(RemoteTaskExecution.java:351)
org.talend.administrator.scheduler.jobs.RemoteTaskExecution.execute(RemoteTaskExecution.java:192)
org.talend.administrator.scheduler.jobs.RemoteExecutionSwitcher.execute(RemoteExecutionSwitcher.java:50)
org.quartz.core.JobRunShell.run(JobRunShell.java:199)
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
Caused by: java.lang.RuntimeException: org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "mail_test" has compile errors, please fix and export again.
at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:148)
at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:31)
at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(CommandProcessorSwitch.java:161)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:70)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Unknown Source)
Caused by: org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "mail_test" has compile errors, please fix and export again.
at org.talend.designer.runprocess.JobErrorsChecker.checkLastGenerationHasCompilationError(JobErrorsChecker.java:267)
at org.talend.commandline.util.JobHandler.export(JobHandler.java:227)
at org.talend.commandline.command.execute.BuildJobExecuteCommand.execute(BuildJobExecuteCommand.java:93)
at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:146)
... 7 more
Moderator

Re: tSendMail - compile issues when running on job conductor from project

Hi,
I encounter a compile error when I run the job directly from the project source. see below.

Did you deploy your job as .zip file in studio(TalendHelpCenter:How to build Jobs) then put it into TAC directly instead of job .zip file generated by command line?
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: tSendMail - compile issues when running on job conductor from project

Thanks for the prompt reply.
I have not used the command line, I built the zip using the studio like in the tutorial you linked then uploaded it to the server as in your screen shot.
I've done a little more digging and found the directory on the server that the jobs are deployed to.
"C:\Talend\5.4.1\tac\archive\jobs\task_25"
Please see screen shot for reference. Note that only the zip deployment contains a lib folder with the necessary .jar files.
This leads me to believe that the jar files should already be located somewhere on the server but I can't find them anywhere. I can locate them on my local PC under the client install; "C:\Talend\5.4.1\studio\lib\java".
I have only installed the server software on the server machine, should have I installed the client also or could I have messed up the config in TAC?
I have configured the SVN within TAC for library but my understanding is that this is only for third party components.
I appreciate your help.
Moderator

Re: tSendMail - compile issues when running on job conductor from project

Hi,
We would suggest you to connect to the Support portal and log your request, so that our colleagues from support team can give you a remote assistance with priority, through the support cycle.
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: tSendMail - compile issues when running on job conductor from project

I don't seem to be able to access the support portal, I'm currently trialing the product, do I need a licensed product to access support?