Enabling remote JMX access in Talend Runtime - 8.0

Talend Installation Guide

Version
8.0
Language
English
Operating system
Linux
Subscription type
Subscription
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend LogServer
Talend MDM Server
Talend MDM Web UI
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
Installation and Upgrade
Last publication date
2022-10-30
Available in...

Data Fabric

Data Services Platform

ESB

MDM Platform

Real-Time Big Data Platform

For security reasons, remote access to the Talend Runtime Container is restricted. By default, remote JMX access and SSH access is only possible from localhost (IP address 127.0.0.1) and the Talend Administration Center can not connect to the Talend Runtime on a different host.

In order for the Talend Runtime to be accessible to the Talend Administration Center, remote JMX access must be enabled. This can be done in one of the following ways.

Procedure

  1. Edit the <RuntimeContainerPath>/etc/org.apache.karaf.management.cfg file and set the following values.
    rmiRegistryHost = 0.0.0.0
    rmiServerHost = 0.0.0.0
  2. Set the following OS environment variables before starting the Talend Runtime (or set them in the setenv.sh file):
    export ORG_APACHE_KARAF_MANAGEMENT_RMIREGISTRYHOST=0.0.0.0 
    export ORG_APACHE_KARAF_MANAGEMENT_RMISERVERHOST=0.0.0.0
    You can set the values of rmiRegistryHost and rmiServerHost to either 0.0.0.0 or 127.0.0.1. Any other value like hostname or IP address of the network interface does not work.
    • 0.0.0.0: Access succeeds through localhost (127.0.0.1) and remote network interfaces. In Talend Administration Center, setting the value of the host to either localhost or 127.0.0.1 only works for the Talend Runtime on the same host. If the value of the Host field is set to the hostname or IP address of the host, then it can be accessed locally or remotely.
    • 127.0.0.1: Access succeeds only through localhost (127.0.0.1) for the Talend Runtime on the same host as Talend Administration Center. In Talend Administration Center, the value of the host must be localhost or 127.0.0.1. The hostname or remote IP address does not work as access is restricted to localhost.