Show Table of Contents
2.3. Manually Importing a JVM Resource
As Section 2.1, “Required JVM Configuration for Discovery” describes, there are only two connection configurations that can be used for a Java process for it to be discovered automatically by the agent. Specifically, those two connection settings both use a Sun management API, for remoting or for attach.
Any Java process can be imported into the inventory manually, even if it does not use the expected configuration for autodiscovery, as long as it enables JMX remoting in a supported form, meaning Sun or IBM remoting.
Note
The JVM instance has to be running for the resource to be discovered and imported.
- Click the Inventory tab in the top menu.
- Select the platform resource.
- Click the Inventory tab of the platform.
- Click the Import button in the bottom of the Inventory tab, and select the JMX server resource type.
- Select the type of JVM, and set all of the connection properties correctly, depending on the type of JVM selected.

- Fill in the connection information for the JVM. This varies depending on the JVM type, but it includes options like a URL and port, directory paths for client libraries, directory paths for classes, and login credentials.

- Click the to import the instance.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.