Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a recurrent issue happening randomly on a set of Remote Engines.
The Remote Engines are running fine, I can execute Jobs on any of them and then suddenly one o them starts showing the following error when I try to run a Task through TMC or a Job from Studio using Remote Target Exec.
Usually a restart does the trick but I'd like to find the root cause.
Has anyone ever experienced this kind of problem?
Execution failed :org.talend.remote.commons.exception.ClientServerException: java.net.ConnectException: Server unreachable XXX.XXX.XXX.XXX:8003, message: Connection refused: connect
[java.net.ConnectException: Server unreachable XXX.XXX.XXX.XXX:8003, message: Connection refused: connect]
Servidor de Prod: Checking ports...
Sending job 'JobName' to server (XXX.XXX.XXX.XXX:8004)...
File transfer completed.
Deploying job 'JobName' on server (XXX.XXX.XXX.XXX:8003)...
Running job 'JobName'...
Execution failed :org.talend.remote.commons.exception.ClientServerException: Remote server has encountered an error:
, messageType=SERVER_ERROR, idRequestResponsePair=null, message=java.io.IOException: Cannot run program "java" (in directory "/talend/Talend-RemoteEngine-V2.12.0/TalendJobServersFiles/repository/ProjectName_JobName_20230530_141012_JVN7T/JobName"): error=2, No such file or directory
[Remote server has encountered an error:
, messageType=SERVER_ERROR, idRequestResponsePair=null, message=java.io.IOException: Cannot run program "java" (in directory "/talend/Talend-RemoteEngine-V2.12.0/TalendJobServersFiles/repository/ProjectName_JobName_20230530_141012_JVN7T/JobName"): error=2, No such file or directory
Hello @Anselmo Peixoto ,
It's required to use the /usr/bin/java path for some talend jobs while running on RemoteEngine linux env.
The workaround is to create a symbolic link for the java executable at /usr/bin/java on the RemoteEngine vm by the below command like:
#ln -s <java_home directory>/bin/java /usr/bin/java
please refer to the article
Thanks
Aiming
Hello @Anselmo Peixoto ,
It's required to use the /usr/bin/java path for some talend jobs while running on RemoteEngine linux env.
The workaround is to create a symbolic link for the java executable at /usr/bin/java on the RemoteEngine vm by the below command like:
#ln -s <java_home directory>/bin/java /usr/bin/java
please refer to the article
Thanks
Aiming
Hello @Aiming Chen
I didn't expect this to work as the error message was different, and the error was happening to even the simplest job with no tParallelize component, but it did actually work.
Thank you.