Este conteúdo não está disponível no idioma selecionado.
7.2. JMX Console
Similarly to the Admin Console, the JMX Console provides access to management activities and performance data of the server. The console is accessible at http://localhost:8080/jmx-console.
The JMX Console provides a raw view of the JMX MBeans which make up the server. They can provide a lot of information about the running server and allow you to modify its configuration, start and stop components and so on.
From the JMX Console you can do the following:
Example 7.1. JMX Console Usage
Procedure 7.1. View the JNDI Service
- Open the JMX Console.
- Find the
service=JNDIViewlink and click on it.This particular MBean provides a service to allow you to view the structure of the JNDI namespaces within the server. - Now find the operation called
listnear the bottom of the MBean view page and click theinvokebutton.The operation returns a view of the current names bound into the JNDI tree, which is very useful when you start deploying your own applications and want to know why you can’t resolve a particular EJB name.
Look at some of the other MBeans and their listed operations; try changing some of the configuration attributes and see what happens. With a very few exceptions, none of the changes made through the console are persistent. The original configuration will be reloaded when you restart JBoss, so you can experiment freely without doing any permanent damage.