Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
fsutara1643876961
Contributor II
Contributor II

tSqoopImport success when running in Studio but error when running in TAC

we are currently using talend administration center version 7.2 on ms windows server. when we develop the workflow, we use the tsqoopimport component. we successfully ran it through the studio, but failed while running it in TAC. the error that appears is like this:

org.apache.sqoop.orm.CompilationManager - It seems as though you are running sqoop with a JRE.

we think the error is because the tomcat webserver uses jvm with jre. like the following:

C:\Program Files\Java\jre1.8.0_201\bin\server\jvm.dll

0695b00000YDLeEAAX.png

we have already configured the java_home pointing to the jdk folder

how to implement jvm with jdk against tomcat webserver?

Labels (2)
1 Solution

Accepted Solutions
fsutara1643876961
Contributor II
Contributor II
Author

solved by change some configuration

1. if using talend runtime, open [TalendPath]\runtime\etc\talend-runtime-7.2.1-wrapper.conf. edit set.default.JAVA_HOME parameter to jdk path

and also

open [TalendPath]\runtime\etc\org.talend.remote.jobserver.server.cfg. edit org.talend.remote.jobserver.commons.config.JobServerConfiguration.JOB_LAUNCHER_PATH to jdk java.exe path

 

2. if using talend job server in another server, open [TalendPath]\jobserver\agent\conf\TalendJobServer.properties. edit org.talend.remote.jobserver.commons.config.JobServerConfiguration.JOB_LAUNCHER_PATH to jdk java.exe path

View solution in original post

5 Replies
Anonymous
Not applicable

Hi

When the job is running on TAC, the job is deployed to the machine where the Jobserver is installed and executed there, make sure you have installed JDK on that machine and set the JAVA_HOME variable which is pointing to the JDK path.

 

Regards

Shong

fsutara1643876961
Contributor II
Contributor II
Author

we have set JAVA_HOME and restart OS. error still same.

 

fyi, we run the job with job server built-in TAC. no using standalone job server

Anonymous
Not applicable

Hi

There is no a built-in Job Server, ​ before you add a task, you must have installed a Job sever and add an execution server in the Servers page, refer to the documentation page.

When you add a task, you are required to select an execution server.

 

Regards

Shong

 

fsutara1643876961
Contributor II
Contributor II
Author

What?you say no a built-in job server? Of course, we added an execution server before. We use execution server in the same server that mean builtin with tac.

 

We develop using studio, publish to nexus, deploy a task

 

Sorry, Your answer like means we are a new talend user.

fsutara1643876961
Contributor II
Contributor II
Author

solved by change some configuration

1. if using talend runtime, open [TalendPath]\runtime\etc\talend-runtime-7.2.1-wrapper.conf. edit set.default.JAVA_HOME parameter to jdk path

and also

open [TalendPath]\runtime\etc\org.talend.remote.jobserver.server.cfg. edit org.talend.remote.jobserver.commons.config.JobServerConfiguration.JOB_LAUNCHER_PATH to jdk java.exe path

 

2. if using talend job server in another server, open [TalendPath]\jobserver\agent\conf\TalendJobServer.properties. edit org.talend.remote.jobserver.commons.config.JobServerConfiguration.JOB_LAUNCHER_PATH to jdk java.exe path