Installing JobServer as a service - 6.4

Talend Data Services Platform Installation Guide for Windows

EnrichVersion
6.4
EnrichProdName
Talend Data Services Platform
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
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

To install JobServer as a service, proceed as follows:

Configuring the JobServer parameters

To configure the JobServer parameters that are passed to the Java application, you have to edit the last lines of the jsl_static64.ini file which indicate the path to different files (such as configuration files, .jar files and/or java libraries).

  • To do so, edit the parameters as shown below:

    params = 6
    param00 = -cp
    param01 = <JobServerPath>;<JobServerPath>\lib\jmxremote_optional.jar;
    <JobServerPath>\lib\log4j-X.X.XX.jar;<JobServerPath>\lib\commons-io-X.X.jar;
    <JobServerPath>\lib\jsl.jar
    param02 = -Djava.library.path=<JobServerPath>\jsysmon-XXXXXXXX\native\windows\
    param03 = -Dcom.sun.management.jmxremote
    param04 = -Dtalend_props=<JobServerPath>\conf\TalendJobServer.properties
    param05 = org.talend.remote.jobserver.service.WindowsJobServer

    where <JobServerPath> refers to the installation directory of the JobServer application and X to the version number of the packages. Note that if you installed your Studio using the installer, this path corresponds to <JobServerPath>/agent.

    Note

    Note that the first parameter indicated is named "param00" and not "param01", and that the use of quotes is not required around strings holding spaces. Note also that every parameter value of the command line must be indicated in a separate parameter.

Installing the service

  1. Open a CMD window in Administrator mode and browse to the conf directory of your JobServer installation directory.

  2. Execute the command:

    jsl_static64.exe -debug

  3. Stop execution by pressing Ctrl+C.

  4. In the CMD window, execute the following command 

    jsl_static64.exe -install

The Talend JobServer service is created and can be viewed by selecting Control Panel > Administrative Tools > Services in the Start Menu of Windows.

Note that, when shutting down or rebooting Windows, the JobServer service does not stop. In order to avoid issues during start-up, you need to stop the service before shutting down or rebooting your machine.

To remove the service you can enter the following command in the same command window:

jsl_static64.exe -remove