MX4J

Version 3 by Greg Hinkle
on Jul 18, 2005 23:24.


compared with
Current by Greg Hinkle
on Jul 27, 2005 17:08.

(show comment)
 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

  
  
  
  <!--.--><html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>MC4J Management Console - Using MC4J with MX4J</title><meta name="author" value="Greg Hinkle"><meta name="email" value="ghinkl at users.sourceforge.net"><link href="./mc4j_style.css" type="text/css" rel="stylesheet"></head><body topmargin="0" leftmargin="0"><table border="0" width="100%" height="100%" cellspacing="0"><!--PAGE HEADER--><tr><td colspan="2"><table cellspacing="0" cellpadding="0" width="100%" bgcolor="#6998be"><tr><td colspan="2"><table width="100%" cellspacing="0"><tr><td width="70%"><!--MC4J LOGO--><a href="./index.html"><img border="0" alt="MC4J JMX Management Console" hspace="8" vspace="8" align="left" src="./images/MC4J.gif" width="70" height="71"></a></td><td width="30%" bgcolor="#5288B4" style="border-left-style: solid; border-left-width: 1; padding-left: 5; padding-top: 4; padding-bottom: 4">
 &nbsp;
  
  </td></tr></table></td></tr><tr><td width="115"><spacer type="block" width="1" height="1"></spacer></td><td bgcolor="#87adcb" style="border-left-style: solid; border-left-width: 1; border-right-width: 1; border-top-style: solid; border-top-width: 1; border-bottom-width: 0; padding-left: 5; padding-top: 4; padding-bottom: 4"><h1>MC4J Management Console</h1></td></tr></table></td></tr><!--HEADER SEPARATOR--><tr><td colspan="2"><div id="headerBar"><a href="./index.html">MC4J</a></div></td></tr><tr height="100%"><!--LEFT SIDE NAVIGATION--><td width="116" valign="top" nowrap="true"><table class="menu"><tr><td><br><span class="menuHeader">Getting Started</span><br><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="Download.html">Download</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="ScreenShots.html">Screen Shots</a></div><br><span class="menuHeader">Documentation</span><br><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="guide/index.html">User Guide</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="dashboard-dev/index.html">Dashboard Guide</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="/wiki">JMX Wiki</a></div><br><span class="menuHeader">Server Support</span><br><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="usageGeronimo.html">Geronimo</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="usageJRE15.html">J2SE 1.5</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="usageJBoss.html">JBoss</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="usageMX4J.html">MX4J</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="usageOC4J.html">OC4J</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="usageSJAS.html">SJSAS</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="usageTomcat.html">Tomcat</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="usageWebLogic.html">WebLogic</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="usageWebSphere.html">WebSphere</a></div><br><span class="menuHeader">Community</span><br><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="http://sourceforge.net/projects/mc4j">SF Project</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="http://sourceforge.net/tracker/?atid=493496&group_id=60228&func=browse">Support Requests</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="http://sourceforge.net/tracker/?atid=493495&group_id=60228&func=browse">Bug Tracker</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="http://sourceforge.net/tracker/?atid=493498&group_id=60228&func=browse">Feature Requests</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="http://sourceforge.net/mail/?group_id=60228">Mailing List</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="developers.html">Developers</a></div><br><span class="menuHeader">Development</span><br><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="http://sourceforge.net/cvs/?group_id=60228">CVS</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="Building.html">Build Guide</a></div><div class="greyline"><img src="./images/graypixel.gif" width="116" height="1" alt=""></div><div class="sidenav"><a href="http://www.apache.org/licenses/LICENSE-2.0">License</a></div></td></tr><tr><td><br><br><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=60228&type=1" width="88" height="31" border="0" alt="Project hosted on sourceforge.net"></a></td></tr><tr><td><a href="http://www.netbeans.org/products/platform/index.html"><img src="./images/built-on-nb.gif" border="0" width="88" height="36" alt="Created on the NetBeans platform!"></a><br><script type="text/javascript" language="javascript">
 var sc_project=430390;
 var sc_partition=2;
  </script><script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c3.statcounter.com/counter.php?sc_project=430390&amp;java=0" alt="free hit counter" border="0"></a></noscript><a target="_blank" href="http://www.nedstatbasic.net/stats?AC87OAIvOtHOLau+xpTxu3yzXT9Q"><img src="http://m1.nedstatbasic.net/n?id=AC87OAIvOtHOLau+xpTxu3yzXT9Q" border="0" width="18" height="18" alt="Nedstat Basic - Free web site statistics Personal homepage website counter"></a><br></td></tr></table></td><!--RIGHT SIDE MAIN BODY--><td width="100%" valign="top" align="left"><table border="0" width="100%" cellspacing="4"><tr><td align="left" valign="top" nowrap="true"><h2>Using MC4J with MX4J</h2></td><td align="right" valign="top" nowrap="true"><small><a href="./printer/usageMX4J.html"><img src="./images/print-friendly.gif" border="0" width="127" height="14" alt="Printer Friendly Version"></a></small></td></tr></table><table border="0" width="100%"><tr><td style="border-top: #FF3300 solid 2px; margin: 5px"><!--AUTHOR INFO--><p class="DocInfo"><b>Author: </b>Greg Hinkle ( at )<br><b>Version: </b>$Revision: 1.2 $($Author: ghinkl $ / $Date: 2004/10/05 05:17:41 $)<br><b>Created: </b>January 2002<br></p><!--TABLE OF CONTENTS--><ul class="toc"><li><a href="#MX4J">MX4J</a></li><li><a href="#Connecting MC4J to MX4J">Connecting MC4J to MX4J</a></li><li><a href="#Requirements">Requirements</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td><h3><a class="header" name="MX4J">MX4J</a></h3></td></tr><tr><td bgcolor="#999999" height="1"><spacer type="block" height="1" width="1"></spacer></td></tr><tr><td><span class="normal">
  <p>
  MX4J is a great open source implementation of JMX 1.1. The project is hosted at <a href="http://mx4j.sf.net">http://mx4j.sf.net</a>. It has both a http web adaptor and a RMI based adaptor.
  </p>
  </span></td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td><h3><a class="header" name="Connecting MC4J to MX4J">Connecting MC4J to MX4J</a></h3></td></tr><tr><td bgcolor="#999999" height="1"><spacer type="block" height="1" width="1"></spacer></td></tr><tr><td><span class="normal">
  <p>
  In order to connect MC4J to a MX4J server you will need to make sure that the MX4J JRMP adaptor has been started and is exposed.
  </p>
  <p>
  Once the JRMP adaptor has been started, you can select the "MC4J for MX4J" from the explorer tab in the MC4J application. Right-click on the root node and selet "Connect.." to open the connection dialog. First choose a name for the connection. Next enter the name of the JRMP server in JNDI. The documentation example uses "jrmp" as the JNDI name. Next select "com.sun.jndi.rmi.registry.RegistryContextFactory" as the initial context factory. Then enter the url to the server in the form of "rmi://localhost:1099". Finally press "finish" to begin the loading of the MBeans.
  </p>
  </span></td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td><h3><a class="header" name="Requirements">Requirements</a></h3></td></tr><tr><td bgcolor="#999999" height="1"><spacer type="block" height="1" width="1"></spacer></td></tr><tr><td><span class="normal">
  <p>
  The MC4J console has only been tested against MX4J version 1.1.
  </p>
  </span></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="" width="100%" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>
  Copyright &copy; 2001-2004, Greg Hinkle
  </em></font></div></td></tr></table></body></html>
  h2. MX4J
 MX4J is a great open source implementation of JMX 1.1. The project is hosted at http://mx4j.sf.net. It has both a http web adaptor and a RMI based adaptor.
  
 h2. Connecting MC4J to MX4J
 In order to connect MC4J to a MX4J server you will need to make sure that the MX4J JRMP adaptor has been started and is exposed.
  
 Once the JRMP adaptor has been started, you can select the "MC4J for MX4J" from the explorer tab in the MC4J application. Right-click on the root node and selet "Connect.." to open the connection dialog. First choose a name for the connection. Next enter the name of the JRMP server in JNDI. The documentation example uses "jrmp" as the JNDI name. Next select "com.sun.jndi.rmi.registry.RegistryContextFactory" as the initial context factory. Then enter the url to the server in the form of "rmi://localhost:1099". Finally press "finish" to begin the loading of the MBeans.
  
 h2. Requirements
 The MC4J console has only been tested against MX4J version 1.1.