<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do you run Talend ESB as a service on Red Hat Linux 7 ? in Installing and Upgrading</title>
    <link>https://community.qlik.com/t5/Installing-and-Upgrading/How-do-you-run-Talend-ESB-as-a-service-on-Red-Hat-Linux-7/m-p/2382579#M4382</link>
    <description>&lt;P&gt;When installing Talend 7.1.1 (or 6.5.1) on Linux using the Talend Installer, it does not set up Karaf (the container) as a service to automatically run when the server starts up.&lt;/P&gt; 
&lt;P&gt;Instead, you have to either go to /opt/Talend-7.1.1/esb/container/bin and run "trun" to get the Karaf console, which when you exit it, stops the container. Or you could execute "start" which runs it in the background.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now, I cannot find any documentation on how to run Talend ESB as a service.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I did find documentation on how to run the Talend Runtime as a service, and this is apparently the equivalent to the container folder is Talend ESB.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So I have followed the documentation for installing Talend Runtime as a service: &lt;A href="https://help.talend.com/reader/Vf4kncNeAlVQT~Kv9TVUVQ/og1ve0spgsY1a9aENpWoww" target="_self" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/Vf4kncNeAlVQT~Kv9TVUVQ/og1ve0spgsY1a9aENpWoww&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now, in the documentation under CentOS/RedHat 7, the Talend-Container.service file created doesn't use any of the wrapper files created in the steps above it? Why is this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And then, when actually starting the service using:&lt;/P&gt; 
&lt;PRE&gt;systemctl start Talend-Container.service&lt;/PRE&gt; 
&lt;P&gt;It starts up "trun", and then it simply exits it because trun doesn't run in the background.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My question is, how do I get Talend ESB to run as a service on Red Hat 7, and is the documentation provided above incorrect ?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:26:03 GMT</pubDate>
    <dc:creator>dleerob</dc:creator>
    <dc:date>2024-11-16T06:26:03Z</dc:date>
    <item>
      <title>How do you run Talend ESB as a service on Red Hat Linux 7 ?</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/How-do-you-run-Talend-ESB-as-a-service-on-Red-Hat-Linux-7/m-p/2382579#M4382</link>
      <description>&lt;P&gt;When installing Talend 7.1.1 (or 6.5.1) on Linux using the Talend Installer, it does not set up Karaf (the container) as a service to automatically run when the server starts up.&lt;/P&gt; 
&lt;P&gt;Instead, you have to either go to /opt/Talend-7.1.1/esb/container/bin and run "trun" to get the Karaf console, which when you exit it, stops the container. Or you could execute "start" which runs it in the background.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now, I cannot find any documentation on how to run Talend ESB as a service.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I did find documentation on how to run the Talend Runtime as a service, and this is apparently the equivalent to the container folder is Talend ESB.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So I have followed the documentation for installing Talend Runtime as a service: &lt;A href="https://help.talend.com/reader/Vf4kncNeAlVQT~Kv9TVUVQ/og1ve0spgsY1a9aENpWoww" target="_self" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/Vf4kncNeAlVQT~Kv9TVUVQ/og1ve0spgsY1a9aENpWoww&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now, in the documentation under CentOS/RedHat 7, the Talend-Container.service file created doesn't use any of the wrapper files created in the steps above it? Why is this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And then, when actually starting the service using:&lt;/P&gt; 
&lt;PRE&gt;systemctl start Talend-Container.service&lt;/PRE&gt; 
&lt;P&gt;It starts up "trun", and then it simply exits it because trun doesn't run in the background.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My question is, how do I get Talend ESB to run as a service on Red Hat 7, and is the documentation provided above incorrect ?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/How-do-you-run-Talend-ESB-as-a-service-on-Red-Hat-Linux-7/m-p/2382579#M4382</guid>
      <dc:creator>dleerob</dc:creator>
      <dc:date>2024-11-16T06:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do you run Talend ESB as a service on Red Hat Linux 7 ?</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/How-do-you-run-Talend-ESB-as-a-service-on-Red-Hat-Linux-7/m-p/2382580#M4383</link>
      <description>&lt;P&gt;So I figured out how to install the Talend ESB service. My documentation below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instructions to run Talend Runtime as a service found here: &lt;A href="https://help.talend.com/reader/Vf4kncNeAlVQT~Kv9TVUVQ/Ug09Mfojeso_Kvf9S9ZfrA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/Vf4kncNeAlVQT~Kv9TVUVQ/Ug09Mfojeso_Kvf9S9ZfrA&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, this documentation is inaccurate in that it tells us to create a file "/etc/systemd/system/Talend-Container.service" which is pointing to "trun" and not using the service wrapper at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead, follow these steps:&lt;/P&gt;
&lt;OL&gt;
 &lt;LI&gt;Execute: &lt;EM&gt;sudo /opt/Talend-7.1.1/esb/container/bin/trun&lt;/EM&gt;&lt;/LI&gt;
 &lt;LI&gt;In the Karaf console, type: &lt;EM&gt;feature:install wrapper&lt;/EM&gt;&lt;/LI&gt;
 &lt;LI&gt;In the Karaf console, type: wrapper:install -s AUTO_START -n TalendESB -d TalendESB -D "Talend ESB"&lt;/LI&gt;
 &lt;LI&gt;Press Ctrl+D or type "halt" and press enter to exit the Karaf console.&lt;/LI&gt;
 &lt;LI&gt;Edit "/opt/Talend-7.1.1/esb/container/bin/TalendESB-service" and change &lt;EM&gt;JAVA_HOME="null"&lt;/EM&gt; to &lt;EM&gt;JAVA_HOME="/usr/lib/jvm/zulu-8"&lt;/EM&gt;&lt;/LI&gt;
 &lt;LI&gt;Edit "/opt/Talend-7.1.1/esb/container/etc/TalendESB-wrapper.conf" and change &lt;EM&gt;set.default.JAVA_HOME=null &lt;/EM&gt;​to&amp;nbsp;&lt;EM&gt;set.default.JAVA_HOME=/usr/lib/jvm/zulu-8&lt;/EM&gt;&lt;/LI&gt;
 &lt;LI&gt;Execute: &lt;EM&gt;sudo systemctl enable /opt/Talend-7.1.1/esb/container/bin/TalendESB.service&lt;/EM&gt;&lt;/LI&gt;
 &lt;LI&gt;​To see that the service is enabled which means it will run at system startup, execute: &lt;EM&gt;sudo systemctl list-unit-files | grep TalendESB&lt;/EM&gt;&lt;/LI&gt;
 &lt;LI&gt;Start the service by executing: &lt;EM&gt;sudo systemctl start TalendESB&lt;/EM&gt;&lt;/LI&gt;
 &lt;LI&gt;Double check that the service is running by executing: &lt;EM&gt;sudo systemctl list-units --type=service | grep TalendESB&lt;/EM&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, although the above works for me, I am still wondering if the Talend documentation is incorrect ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 13:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/How-do-you-run-Talend-ESB-as-a-service-on-Red-Hat-Linux-7/m-p/2382580#M4383</guid>
      <dc:creator>dleerob</dc:creator>
      <dc:date>2019-03-05T13:47:04Z</dc:date>
    </item>
  </channel>
</rss>

