Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JBoss AS 7 JMX Console

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?
like image 501
helios Avatar asked Jul 15 '11 04:07

helios


People also ask

What is JMX console in JBoss?

The JMX Console is the JBoss Management Console which 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.

How do I open a JMX console?

When the JBoss Server is running, you can get a live view of the server by going to the JMX console application at http://localhost:8080/jmx-console.

How do I access JConsole?

The jconsole executable can be found in JDK_HOME/bin, where JDK_HOME is the directory in which the Java Development Kit (JDK) is installed. If this directory is in your system path, you can start JConsole by simply typing jconsole in a command (shell) prompt.

What is the default username and password for JBoss admin console?

During the last security audit it has been found that Default login/password (admin/admin) is used to login into JBoss Administration console, JBoss web console and JMX Console.


3 Answers

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

like image 199
Mike Minicki Avatar answered Oct 16 '22 21:10

Mike Minicki


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

like image 35
Ondra Žižka Avatar answered Oct 16 '22 19:10

Ondra Žižka


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

like image 12
Stan Silvert Avatar answered Oct 16 '22 21:10

Stan Silvert