![]() Previous |
You can add connections to your favorite JVMs so that you always have them available in the JVM Browser.
To add a new JVM connection:
Click the Create a new custom JVM connection button on top of the JVM Browser.
Alternatively, open the File menu, select Connect, then select Create a new connection and click Next.
In the New Connection Wizard, enter the host name and port number to connect to, and specify the connection name.
If you want to test the connection and verify that you have entered the correct values, click Test Connection.
If necessary, specify the user name and password for authentication, and select Store credentials in settings file to encrypt them using a master password. For more information, see Storing Credentials in Settings File.
Click Finish to end the custom connection setup or Next to select a tool to connect to the JVM.
The wizard tests the connection. If the test is successful, the next screen appears.
(Optional) If you clicked Next at the previous step, choose one of the various listed actions for the new connection, such as Start JMX Console or Start Flight Recording.
Click Finish.
Storing Credentials in Settings File
When you create a new connection, you can specify a user name and password to authenticate the connection. You can store the credentials in a settings file and encrypt it by using a master password.
If you have chosen to store the credentials, the JMC client will prompt to enter the master password when you create the connection. When you restart the JMC client, you must enter the master password to open the connection.