Configuring JobServers - 6.1

Talend Data Services Platform Installation Guide

Talend Data Services Platform
Installation and Upgrade
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend DQ Portal
Talend ESB
Talend Identity Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Project Audit
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio

Configuring the JVM (optional)

The JobServer application provided by Talend allows you to choose another JVM than the one used by default to launch your Jobs.

To change the Job launcher path, proceed as follows:

  1. Go to the directory <root>/conf/, where <root> is the JobServer path, and open the file to edit it.

  2. In the line dedicated to the Job launcher path, add the path to your java executable after the equal sign.

    # Set the executable path of the binary which will run the job, for example: /usr/bin/java/java or "c:\\Program Files\\Java\\bin\\java.exe"
    org.talend.remote.jobserver.commons.config.JobServerConfiguration.JOB_LAUNCHER_PATH=C:\Program Files\Java\jdk1.8.0_65\bin\java.exe


    The use of quotes is only necessary when your path contains spaces, as shown in the capture. Otherwise, type in the path without quotes.

  3. Save your changes and close the file.

The next time you launch JobServer, the java executable used will be the one you have previously set in the file.

Configuring the SSL Keystore (optional)

You are also able to choose another Keystore if needed.

To override the existing Keystore file, you have to:

  • generate a new Keystore with the utility tool called Keytool (Key and Certificate Management Tool);

  • set the new Keystore location;

  • enable the SSL Keystore at server side.

To generate a Keystore

  1. Open a command prompt and change directory to <root>/keystores where <root> is the JobServer path.

  2. Type in the following:

    keytool -genkey -keystore <myKeystoreName> -keyalg RSA

    where <myKeystoreName> refers to the name of the Keystore you are creating.

  3. Enter the password for your Keystore twice, then enter the other optional information, such as your name, the name of your organization, your state etc., if needed.

  4. Type in yes to confirm your information.

  5. Type in the password you have previously defined. The new Keystore file has been created in <root>/keystores.

To set the location of the new Keystore

To set the new Keystore location, you can either edit the JAVA_OPTS environment variable or edit the launching script (start_rs.bat) of the Jobserver.

  1. To edit the JAVA_OPTS environment variable, add:<myDirectory>/<myKeystore><myPassword>

    to your JAVA_OPTS environment variable, where <myDirectory> is the installation directory of your Keystore, <myKeystore> is the name of your Keystore and <myPassword> is the password you have previously defined for your Keystore.


    If you have not created the JAVA_OPTS environment variable yet, you have to create it before completing this procedure.


  2. To edit the launching script, open the start_rs.bat file (or on Linux) to edit it.

  3. As shown in the capture, add<myDirectory>/<myKeystore><myPassword>

    to the JVM arguments location, where <myDirectory> is the installation directory of your Keystore, <myKeystore> is the name of your Keystore and <myPassword> is the password you have previously defined for your Keystore.

To configure the Windows service

If you are on Windows, you need to edit a .ini file to take the generated Keystore into account during the creation of the server service.

  1. Open the following file to edit it:

    jsl.ini for 32-bit Windows users

    jsl_static64.ini for 64-bit Windows users