Skip to main content Skip to complementary content

Enabling remote JMX access in Talend Runtime

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!