I spent some time checking out JBoss AS7 today. I am impressed with what I have seen so far but I noticed that good ol' JMX-Console no longer exist.
- Does anyone know why it was left out?
- I understand that I can connect through JConsole, MC4J etc. but is there an alternative that would provide web based access to the deployed MBeans?
According to this thread (see below), there will be no such thing. Server management will be achieved in another way - via JBoss native interfaces. There will be, however, a compatibility layer exposing JBoss services through JMX.
JBoss AS 7 will have many ways to be managed. At least these are those I know of:
Programatical:
- CLI - bash-like command-line tool,
- Java API - a Java JAR with remoting, you simply call methods.
REST-like API - you send commands over HTTP.
- JBoss AS 7 Management API docs: https://docs.jboss.org/author/display/AS7/Management+API+reference
User Interface:
- Administration Console, see http://localhost:9990/console (by default)
RHQ project
Current location of emerging JBoss AS 7 Documentation: https://docs.jboss.org/author/display/AS7/Documentation
JBoss AS7 now integrates with jconsole. So you can use jconsole as a JMX client to AS7. It also uses a jconsole add-on to provide CLI GUI in your jconsole instance.
See:
https://community.jboss.org/wiki/UsingJconsoleToConnectToJMXOnAS7
https://community.jboss.org/wiki/UsingCLIGUIWithJconsoleOnJBossAS7
There are various web based jmx browsers that can be used inside any web container. I tend to perfect using the jconsole or jrockit mission control as you get extra this like graphing of values
In the past jboss used it's own mbean server, so you could only use jboss specific jmx tools, but now jboss-as, uses the mbean server of the jvm so any tool that works with your jvm of choice can be used for inspecting jboss-as 7
来源:https://stackoverflow.com/questions/6702674/jboss-as-7-jmx-console