Dashboard > MC4J Management Console > ... > Servers > JBoss
MC4J Management Console Log In   View a printable version of the current page.
JBoss
Added by Greg Hinkle, last edited by Greg Hinkle on Jul 27, 2005  (view change)

JBoss and JMX

The MC4J Application is able to connect to JBoss servers versions (3.0, 3.2.x and 4.0). MC4J uses RMI to connect to JBoss Application Servers and provide access to JMX MBeans running within that server. JBoss, which has at its core a JMX based microkernel, provides a lot of information about its current state and provides access to execute operations through this interface. The current support for the JBoss 4.x series is a bit flakey and difficult and will be upgraded when JBoss 4.x is released with support for a JSR 160 style connector.

Connecting MC4J to JBoss

To connect to a JBoss server, right-click on the root node in the [MC4J Server Connections] tab and select [Connect to server...]. This wil bring up a connection wizard that will ask you to enter server information and supply the location of a local installation of JBoss. The local installation is required to provide the libraries that MC4J needs to connect to JBoss Servers and must be the same version as the server you are connecting to.

Requirements

A local installation of JBoss is required.

The following versions have been tested with MC4J:

3.2.0
3.2.1
3.2.2
3.2.3
4.0

I wanna know... wath i have to do to connect on jboss-3.2.7 server by my machine, and not on the server...

thanks

Posted by Anonymous at Aug 17, 2005 15:54 | Permalink



The connect dialog lets you enter a url string to the server you wish to connect to. Replace the "localhost" reference with the name or ip address of the server you wish to connect to. (Keep in mind, that a local copy of the JBoss software is needed as well, though it does not need to be running. MC4J just needs to be able to find and use its jar files.)

Posted by Greg Hinkle at Aug 18, 2005 10:27 | Permalink

Followed the above instructions, to attempt to connect to remote JMX sever.

In the Wizard panal 2 of 4, when I click 'add' and navigate to the root of the local download of JBoss 3.2.7, the 'select server' remains disabled. It there something I'm missing in the docs?

Posted by Anonymous at Aug 22, 2005 11:05 | Permalink



There is a flaw in the current version that restricts it to finding one of the three default configurations for jbss (minimal, all and default). If you've removed all of those configurations or chnaged there names, MC4J will not recognize the jboss install directory. This will be corrected in a future version.

Posted by Greg Hinkle at Aug 22, 2005 11:41 | Permalink

Also make sure You modify the run.bat in Jboss to include:

-Djava.rmi.server.hostname=localhost

Posted by Anonymous at Sep 05, 2005 11:31 | Permalink
Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.7 Build:#524 Jul 28, 2006) - Bug/feature request - Contact Administrators