jconsole attache sun glassfish

To Set Up JConsole Connectivity

This procedure describes how to connect JConsole to Enterprise Server. Security is not enabled on the JMX Connector.

   1.

      Start the domain.

      For instructions, see To Start a Domain (or Server).
   2.

      Start JConsole using this format: JDK_HOME/bin/jconsole

      For example:

      /usr/java/bin/jconsole

      The JConsole Connect to Agent window is displayed.
   3.

      Click the Remote tab and type the host name and port.
   4.

      Click Connect.
   5.

      In the Remote Process text box, specify the JMX Service URL.

      For example:

     service:jmx:rmi:///jndi/rmi://localhost:8686/jmxrmi

      Note –

      Another host name can be substituted for localhost. The default port number (8686) could change if the jmx-connector configuration has been modified.
   6.

      Click Connect.

      In the JConsole window you will see all your MBeans, JVM information, and so on, in various tabs.

你可能感兴趣的:(jvm,jdk,Security,sun,Glassfish)