The Talend Runtime container is based on Apache Karaf. Karaf Wrapper (for service wrapper) makes it possible to install the Talend Runtime container as a service.
To install Talend Runtime as a service, you first have to install the wrapper, which is an optional feature:
Installing the wrapper
Browse to the bin folder of the Talend Runtime installation directory, then launch the container by executing the trun.bat file in Administrator mode.
To install the wrapper feature, type:
karaf@trun> feature:install wrapper
Once installed, wrapper feature will provide
wrapper:installnew command in the trun, which allows you to install Talend Runtime as a service.
To install the service, type in the following command:
Alternatively, to register the container as a service in automatic start mode, simply type:
karaf@trun> wrapper:install -s AUTO_START -n TALEND-CONTAINER -d Talend-Container -D "Talend Container Service"
TALEND-CONTAINERis the name of the service,
Talend-Containeris the display name of the service and
"Talend Container Service"is the description of the service.
The wrapper files are installed, you now have to install the Talend Runtime service.
In the following procedure,
TALEND-CONTAINER is the name of the service and
is only given as an example.
Installing the service
Open a CMD window in Administrator mode.
Browse to the bin folder of the Talend Runtime installation directory, then type in the following command:
The Talend Runtime service is created and can be viewed by selecting Control Panel > Administrative Tools > Services in the Start menu of Windows.
You can then run the
net start "TALEND-CONTAINER" and
stop "TALEND-CONTAINER" commands to manage the service.
To remove the service, type in the following command in the command window: