JMX Console

The JMX Console is for advanced administration of an active server. Once your application server is running, access this console in a browser at this URL: http://<localhost name>:8080/jmx-console. See Troubleshooting with JMX Console for a brief summary of messages you can look for.

You must log in to access the console. The default login is admin, with password dorado. You can configure these passwords and the default role in the files described below. The first file is this:

\oware\jboss-3.2.7\server\oware\deploy\jmx-console.war\WEB-INF\classes\jmx-console-roles.properties

Sample contents:

# A sample roles.properties file for use with the UsersRolesLoginModule

admin=JBossAdmin

The second file is this:

\oware\jboss-3.0.8\server\oware\deploy\jmx-console.war\WEB-INF\classes\jmx-console-users.properties

Its contents:

# A sample users.properties file for use with the UsersRolesLoginModule

admin=admin.

Once enter the URL, the console appears.

Figure 20-1  JMX Console

You can filter the classes in the field below the server name. Enter your filter (and wildcards), and click the Apply Filter button. For example oware* retrieves all classes that begin with oware.

The console has links to application server classes you can use the browser to tune. After you click a link to a class, a list of its attributes and operations appears. The far right column in the attributes listed describes them. If you want to use a method in the listed object, put parameters in the appropriate fields and click Invoke to activate it.

The console lists the following types of classes:

• JMImplementation

• jboss

• jboss.admin

• jboss.cache

• jboss.deployment

• jboss.ejb

• jboss.j2ee

• jboss.jca

• jboss.jdbc

• jboss.jmx

• jboss.management.local

• jboss.mq

• jboss.mq.destination

• jboss.rmi

• jboss.scripts

• jboss.security

• jboss.system

• jboss.web

• jmx.loading

oware