
Using JConsole
The
<!- – The JSR 160
...
<!- – The JSR 160
Prerequisites for Connecting JConsole to Application Server
The JConsole setup has two parts: a server end and a client end. For this example, the Enterprise Server domain is installed on a machine called appserver.sun.com, which is a powerful Solaris server. This is the server end.
The client end also has an installation of Enterprise Server. Let us assume that the client end is a Windows machine with Java SE 6.0 and Enterprise Server installed.
Note – The Enterprise Server installation is needed on the client end only when your Enterprise Server domain has security enabled on the remote machine (the default for cluster and enterprise profiles). If you just want to administer an Enterprise Server developer profile domain on the Solaris machine above, you do not need the Enterprise Server installation on this client machine.
If the server and client ends are on the same machine, you can use localhost to specify the host name.
▼Connecting JConsole to Application Server
This procedure describes connecting JConsole to Enterprise Server without security enabled on the JMX Connector. By default, security is not enabled on Enterprise Server for the developer profile.
1Start the domain on appserver.sun.com.
2Start JConsole by running JDK_HOME/bin/jconsole.
Chapter 18 • Monitoring Components and Services | 211 |