This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.

Configuring local JMX connection to Liberty

You can access the local Java™ Management Extensions (JMX) connector on Liberty. The local connector is enabled through the Liberty feature localConnector-1.0.

About this task

The local connector is enabled through the Liberty feature localConnector-1.0. Access through the local connector is protected by the policy implemented by the SDK in use. Currently the SDKs require that the client runs on the same host as Liberty, and under the same user ID.

Note: An application deployed on Liberty has unrestricted access to its MBeanServer directory.

The following section describes how to configure and access the local connector on Liberty.

Procedure

  1. Enable the local connector by using the following code in the server.xml file.
    <featureManager>
         <feature>localConnector-1.0</feature>
    </featureManager>
  2. Access the local connector by using the JConsole tool or JMX client that is installed on the same host.
    • For the JConsole tool, select the local process ws-server.jar defaultServer from the connection panel then click Connect.
    • For the JMX client, see Working with JMX MBeans on Liberty.

Icon that indicates the type of topic Task topic



Timestamp icon Last updated: Tuesday, 12 December 2017
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=twlp_admin_localconnector
File name: twlp_admin_localconnector.html