21

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?
davidryan
  • 2,222
  • 20
  • 31
helios
  • 2,603
  • 4
  • 21
  • 26
  • 1
    I was wondering the same. Connecting through JConsole is often not possible in enterprise environments due to firewall constraints (RMI isn't ideal in these situation to say the least). JBoss its simple web based JMX console has proven to be a real lifesaver in these situations. – Richard Kettelerij Jul 15 '11 at 22:44
  • Totally agree. Besides, our production support team use direct HTTP links to specific MBeans for particular type of issues. To move to AS7, we either have to find an alternative or re-train them for specific tasks. – helios Jul 17 '11 at 14:31

4 Answers4

19

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

Mike Minicki
  • 8,216
  • 11
  • 39
  • 43
  • 7
    Thanks Michal for digging this thread...I think it's a mistake not to provide JMX console that's been helpful to many of us for the longest time. – helios Jul 19 '11 at 13:37
  • 1
    This answer should probably be edited since JBoss 7 now ships with a JMX console out of the box. – Magnilex Aug 19 '13 at 12:28
  • Is there a way to expose custom application specific MBeans through JBoss Admin console? – Piotr Gwiazda Jun 27 '14 at 15:52
17

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

  1. Programatical:

  2. User Interface:

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

Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277
12

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

Stan Silvert
  • 121
  • 1
  • 2
1

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

Will Tatam
  • 566
  • 3
  • 10