JBoss AS 7 JMX Console

爱⌒轻易说出口 提交于 2019-11-27 00:55:53

问题


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.

  1. Does anyone know why it was left out?
  2. 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?

回答1:


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.

http://community.jboss.org/thread/169408




回答2:


JBoss AS 7 will have many ways to be managed. At least these are those I know of:

  1. 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
  2. User Interface:

    • Administration Console, see http://localhost:9990/console (by default)
    • RHQ project

      • See https://docs.jboss.org/author/display/AS7/Management+Clients

Current location of emerging JBoss AS 7 Documentation: https://docs.jboss.org/author/display/AS7/Documentation




回答3:


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




回答4:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!