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 Windows 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 clicking the trun.bat file in Administrator mode.
To install the wrapper feature, simply type:
karaf@trun> feature:install wrapper
Once installed, wrapper feature will provide
wrapper:install
new command in the trun, which allows you to install Talend Runtime as a service.To install the service, type in the following command:
karaf@trun> wrapper:install
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"
where
TALEND-CONTAINER
is the name of the service,Talend-Container
is 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.
Note
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:
TALEND-CONTAINER-service install
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 net stop
"TALEND-CONTAINER"
commands to manage the service.
To remove the service, type in the following command in the command window:
TALEND-CONTAINER-service.bat remove