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 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
    • 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 similar to:

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

 

Version history
Revision #:
2 of 2
Last update:
‎06-16-2017 10:17 AM
Updated by:
 
Labels (1)
Tags (1)