One Star

Issue with generating/compiling Job on TAC Job Conductor

Hello,
I am new to the forums and am hoping to find a quick solution to the problem.
I have the server installed on Ubuntu and the JAVA/JVM versions are same between studio and server. The correct PATH variable values are present on the server. ojdbc6.jar is present in the <TomcatPath>/webapps/org.talend.administrator/WEB-INF/lib folder. I have restarted the server several times after making these changes but I keep getting the same error as below. Is there a separate cmdline setting I need to worry about? The job can be compiled and run from Studio. Thanks in advance.
ava.lang.RuntimeException: org.talend.designer.runprocess.ProcessorException: org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "Job_DE_UPC_test" has a compile errors, please fix and export again.
Error Line: 1944
Detail Message: oracle.jdbc cannot be resolved to a type
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.
at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:160)
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(Thread.java:745)
Caused by: org.talend.designer.runprocess.ProcessorException: org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "Job_DE_UPC_test" has a compile errors, please fix and export again.
Error Line: 1944
Detail Message: oracle.jdbc cannot be resolved to a type
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.
at org.talend.commandline.util.JobHandler.export(JobHandler.java:229)
at org.talend.commandline.command.execute.BuildJobExecuteCommand.execute(BuildJobExecuteCommand.java:143)
at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:158)
... 7 more
Caused by: org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "Job_DE_UPC_test" has a compile errors, please fix and export again.
Error Line: 1944
Detail Message: oracle.jdbc cannot be resolved to a type
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.
at org.talend.designer.runprocess.JobErrorsChecker.checkLastGenerationHasCompilationError(JobErrorsChecker.java:293)
at org.talend.commandline.util.JobHandler.export(JobHandler.java:221)
... 9 more
7 REPLIES
Moderator

Re: Issue with generating/compiling Job on TAC Job Conductor

Hi,
Could you please indicate on which build version you got this issue?
Are your studio and server on the different machine? 
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: Issue with generating/compiling Job on TAC Job Conductor

Talend Server is 6.0.1 and Studio 6.0.1
; And yes, the Studio is on a Windows machine and Server is on Linux Ubuntu and different machines.
Thanks in advance for your help!
Moderator

Re: Issue with generating/compiling Job on TAC Job Conductor

Hi,
Did you set same java environment for Windows machine and Linux Ubuntu? What's JDK version you are using?
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: Issue with generating/compiling Job on TAC Job Conductor

We are having the same problem with execution jobs under Job conductor. Its related to the "missing" oracle.jdbc jar. Everything was set properly. Any particular action has to be done to be able to generate the job?
Moderator

Re: Issue with generating/compiling Job on TAC Job Conductor

Hi wfull,
Are your studio and server (TAC, commandline)on the different machine? 
It looks like on your Commandline the Oracle driver jar (ojdbc7.jar) is missing. Are you using talend subscription solution 6.x?
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: Issue with generating/compiling Job on TAC Job Conductor

Studio is used in a diff machine as CommandLine. Should I copy the JAR file manually!? What is the right process?
Moderator

Re: Issue with generating/compiling Job on TAC Job Conductor

Hi,
Starting from version 6.0, Talend Studio integrates with Maven. The way copying your libraries from studio to the commandline folder manully may cause some potential issue.(There are some rules for naming  external libraries in maven). 
You'd better do it by auto.
Could you please follow up these steps to sync up these  external libraries with commandline?
1: Open a remote project from studio (make sure that your SVN/ Nexus is running well at the same time)
2: Install your required external libraries by using Module view(Window-->Show View-->Talend-->Modules)
In this way, SVN/ Nexus will sync up your required external libraries automatically and then commandline will get them from .m2 repository to deploy your job.
Please take a look at my screenshots and let us know if it works.
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.