Job execution on a remote server loses the OS env variables

Overview

A Job executed on a remote server does not retrieve the OS environment variables whereas the same environment variables are retrieved when the same Job is executed in the Studio.

Environment

No specific environment information.

Symptoms/Description

Run a Job remotely on a Job server using a tSystem component with the following setup command  "cmd /c set" on Windows or "env" on Linux.
The job doesn't output the system environment settings when the Job is run on a remote Job server.

Resolution

Check the following file jobserver\agent\conf\TalendJobServer.properties and make sure the setting is like:

org.talend.remote.jobserver.commons.config.JobServerConfiguration.JOB_LAUNCHER_PATH=

 

Version History
Revision #:
1 of 1
Last update:
‎05-11-2017 09:01 PM
Updated by:
 
Labels (1)
Contributors