You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemind.apache.org by hi...@jakarta.apache.org on 2005/02/27 13:48:00 UTC
[Jakarta HiveMind Wiki] Updated: JmxDoc
Date: 2005-02-27T04:48:00
Editor: AchimHuegen
Wiki: Jakarta HiveMind Wiki
Page: JmxDoc
URL: http://wiki.apache.org/jakarta-hivemind/JmxDoc
no comment
Change Log:
------------------------------------------------------------------------------
@@ -1,19 +1,21 @@
AchimHuegen, Feb 26 2005
This page describes HiveMinds support for the Java Management Extension (JMX).
-JMX support is not currently available in the official 1.1 release but hopefully
-will be include soon.
+JMX support is not currently available in the official 1.1 alpha release but hopefully
+will be included soon.
= How to get started =
Ok, you want to build in jmx support in your HiveMind application.
Actually there are two topics to talk about now:
- * How to connect to the application?
- * What to manage?
+ * How do you want to connect to the application?
+ * What do you want to manage?
-But for the impatient ones, that just want to get up anything to play with
-here are some quick start instructions:
+For the impatient ones, that just want to get up anything to play with
+here are some [#QuickStart quick start instructions].
+For a more complete introduction read on [#Intro here]
+[[Anchor(QuickStart)]]
== J2SE 1.4 / Tomcat 5.0.x - Quickstart ==
Add these lines to your (web) application's hivemind descriptor:
@@ -34,10 +36,11 @@
}}}
-Ensure that mx4j.jar and mx-tools.jar (mx4j 2.0.1) and log4j.jar are include in the classpath of your application. Start your application/tomcat and enter http://localhost:9000 in your browser. Read on [#QuickStartResults here]
+Ensure that mx4j.jar and mx-tools.jar (mx4j 2.0.1) and log4j.jar are included in the classpath of your application. Start your application/tomcat and enter http://localhost:9000 in your browser. Read on [#QuickStartResults here]
== J2SE 1.5 - Quickstart ==
+J2SE 1.5 already includes jmx support and brings along a management console (jconsole).
Add these lines to your application's hivemind descriptor:
{{{
@@ -67,7 +70,27 @@
You can change the log level (priority) and add appenders without restarting
the application.
-= Details =
+[[Anchor(Intro)]]
+= Introduction =
+
+== MBean Server ==
+
+First of all you will need a running MBean Server in your application. Since JMX 1.2 there is a standardized factory for finding running servers and starting new ones.
+HiveMind first tries to find a running server. This could be provided by an application server or servlet engine (like Tomcat 5) or your J2SE 1.5 runtime environment.
+
+{{{
+ <contribution configuration-id="hivemind.EagerLoad">
+ <load service-id="hivemind.management.MBeanRegistry"/>
+ </contribution>
+}}}
+
+== Connectors ==
+
+There are different ways to connect to a jmx enabled application. HiveMind offers preconfigured support for HTML and JSR 160 connectors.
+
+== HTML Connector ==
+
+
== Export services as MBeans ==
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org