From jbosstools-commits at lists.jboss.org Thu Mar 4 19:58:53 2010
Content-Type: multipart/mixed; boundary="===============7874852251179977047=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r20675 - in
trunk/jmx/docs/reference: en-US and 1 other directories.
Date: Thu, 04 Mar 2010 19:58:53 -0500
Message-ID: <201003050058.o250wrjK009466@svn01.web.mwc.hst.phx2.redhat.com>
--===============7874852251179977047==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: irooskov(a)redhat.com
Date: 2010-03-04 19:58:52 -0500 (Thu, 04 Mar 2010)
New Revision: 20675
Added:
trunk/jmx/docs/reference/en-US/
trunk/jmx/docs/reference/en-US/Author_Group.xml
trunk/jmx/docs/reference/en-US/Book_Info.xml
trunk/jmx/docs/reference/en-US/JMX_Tools_Reference_Guide.ent
trunk/jmx/docs/reference/en-US/JMX_Tools_Reference_Guide.xml
trunk/jmx/docs/reference/en-US/Preface.xml
trunk/jmx/docs/reference/en-US/Revision_History.xml
trunk/jmx/docs/reference/en-US/connection.xml
trunk/jmx/docs/reference/en-US/extensions.xml
trunk/jmx/docs/reference/en-US/how_to.xml
trunk/jmx/docs/reference/en-US/images/
trunk/jmx/docs/reference/en-US/images/collaps_all.png
trunk/jmx/docs/reference/en-US/images/eclipse-jmx_0.2.png
trunk/jmx/docs/reference/en-US/images/favicon.ico
trunk/jmx/docs/reference/en-US/images/jbosstools_logo.png
trunk/jmx/docs/reference/en-US/images/link-with-editor_0.2.0.png
trunk/jmx/docs/reference/en-US/images/mbean-editor-horizontal-layout_0.2=
.0.png
trunk/jmx/docs/reference/en-US/images/mbean-editor-layout-buttons_0.2.0.=
png
trunk/jmx/docs/reference/en-US/images/mbean-editor_0.2.0.png
trunk/jmx/docs/reference/en-US/images/mbean-explorer-features.png
trunk/jmx/docs/reference/en-US/images/mbean-explorer-query.png
trunk/jmx/docs/reference/en-US/images/new_connection_icon.png
trunk/jmx/docs/reference/en-US/images/notifications.png
trunk/jmx/docs/reference/en-US/introduction.xml
trunk/jmx/docs/reference/en-US/master.xml
trunk/jmx/docs/reference/en-US/master_output.xml
trunk/jmx/docs/reference/en-US/mbean_editor.xml
trunk/jmx/docs/reference/en-US/mbean_explorer.xml
trunk/jmx/docs/reference/en-US/references.xml
trunk/jmx/docs/reference/en-US/summary.xml
trunk/jmx/docs/reference/en-US/tasks.xml
trunk/jmx/docs/reference/publican.cfg
Removed:
trunk/jmx/docs/reference/en/
Modified:
trunk/jmx/docs/reference/pom.xml
Log:
modified book to be built with publican and maven
Added: trunk/jmx/docs/reference/en-US/Author_Group.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/Author_Group.xml =
(rev 0)
+++ trunk/jmx/docs/reference/en-US/Author_Group.xml 2010-03-05 00:58:52 UTC=
(rev 20675)
@@ -0,0 +1,4 @@
+
+
+JBoss Tools Team
Added: trunk/jmx/docs/reference/en-US/Book_Info.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/Book_Info.xml (r=
ev 0)
+++ trunk/jmx/docs/reference/en-US/Book_Info.xml 2010-03-05 00:58:52 UTC (r=
ev 20675)
@@ -0,0 +1,4 @@
+
+
+JMX Tools Reference GuideProvides infor=
mation relating to the JMX Tools module.JBoss Devel=
oper Studio3.01.00The JMX Tools Reference Gui=
de explains how to use the JMX Tools module to setup multiple JMX connectio=
ns and explore the JMX tree and execute operations.
Added: trunk/jmx/docs/reference/en-US/JMX_Tools_Reference_Guide.ent
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/JMX_Tools_Reference_Guide.ent =
(rev 0)
+++ trunk/jmx/docs/reference/en-US/JMX_Tools_Reference_Guide.ent 2010-03-05=
00:58:52 UTC (rev 20675)
@@ -0,0 +1,4 @@
+
+
+
+
Added: trunk/jmx/docs/reference/en-US/JMX_Tools_Reference_Guide.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/JMX_Tools_Reference_Guide.xml =
(rev 0)
+++ trunk/jmx/docs/reference/en-US/JMX_Tools_Reference_Guide.xml 2010-03-05=
00:58:52 UTC (rev 20675)
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
Added: trunk/jmx/docs/reference/en-US/Preface.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/Preface.xml (rev=
0)
+++ trunk/jmx/docs/reference/en-US/Preface.xml 2010-03-05 00:58:52 UTC (rev=
20675)
@@ -0,0 +1,4 @@
+
+
+Preface=
xi:include>
Added: trunk/jmx/docs/reference/en-US/Revision_History.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/Revision_History.xml =
(rev 0)
+++ trunk/jmx/docs/reference/en-US/Revision_History.xml 2010-03-05 00:58:52=
UTC (rev 20675)
@@ -0,0 +1,4 @@
+
+
+Revision History0Fri Nov 20 2009Isaac<=
/firstname>Rooskovirooskov(a)redhat.com=
author>Initial creation of book by publ=
ican
Added: trunk/jmx/docs/reference/en-US/connection.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/connection.xml (=
rev 0)
+++ trunk/jmx/docs/reference/en-US/connection.xml 2010-03-05 00:58:52 UTC (=
rev 20675)
@@ -0,0 +1,54 @@
+
+
+
+ =
+ Connections
+
+ The MBean Explorer supports several differe=
nt types of connections. =
+ The tooling itself comes only with a default connection type, ho=
wever other
+ adopters can provide additional connection types that may requir=
e additional
+ or non-spec behavior. Connections can be in either the connected=
state or
+ the disconnected state. Some connection types (such as the defau=
lt connection type)
+ allow you to control the current state. Other connection types m=
ay not.
+ =
+ Similarly, some connection types may be able to be created, and =
others may not. =
+ The default connection type, for example, can be created and del=
eted by you
+ at will. The AS Tools connection type, which represents a JBoss =
server, does not
+ allow you this level of control. A JBoss JMX connection is creat=
ed when a JBoss server is created
+ in the server's view, and deleted when said server is deleted. T=
he JMX connection for =
+ this server is in the connected state only when the server is st=
arted.
+
+
+ The Default Connection
+ =
+ There are two ways to connect to an application with remote =
management enabled:
+ =
+ The first step is the same for both - to connect to a MBean =
Server, click on the
+
+ New Connection icon =
+ =
+ =
+
+
+
+
+ =
+ in the MBean Explorer menu bar.
+ =
+ Then to follow the simple one you just need to specify host, =
port (and optionally user
+ name and password) and click
+ OK.
+ =
+ The default JMX URL is
+ service:jmx:rmi:///jndi/rmi://localhost:3000/jmxrmi<=
/property>.
+ =
+ In case you need to connect to an application which has not u=
sed the "standard" JMX URL
+ (e.g. Eclipse Equinox), you need chose more advance way, where =
it's necessary to specify
+ explicitly a JMX URL in the Advanced tab of the JMX Connection =
window.
+ =
+
+ Note
+ Only JMX URL based on RMI are supported.
+
+
+
Added: trunk/jmx/docs/reference/en-US/extensions.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/extensions.xml (=
rev 0)
+++ trunk/jmx/docs/reference/en-US/extensions.xml 2010-03-05 00:58:52 UTC (=
rev 20675)
@@ -0,0 +1,54 @@
+
+
+
+ Extension API
+ This chapter will outline how to contribute your own Server type =
with some default
+ behavior.
+
+
+ Why??
+
+ You might be asking yourself why you'd need to extend thi=
s framework if JMX is
+ a standard. Perhaps you want a connection to be automatically cre=
ated after some specific
+ action, or perhaps you want your connection wizard to do more tha=
n simply set a host and
+ port. JBoss, for example, requires setting some credentials on th=
e client machine, but
+ using JBoss classes to do it. This requires that the connection h=
ave access to JBoss
+ jars.
+
+
+
+ Core Extensions
+
+ To create your own JMX Connection type, you must use the
+ org.jboss.tools.jmx.core.MBeanServerConnectionProvider extension =
point. This point takes
+ one child, a connectionProvider with a class that implements
+ org.jboss.tools.jmx.core.IConnectionProvider.
+ =
+ An IConnectionProvider is responsible for creation and deletio=
n of IConnectionWrapper
+ objects. It must also keep a list of listeners that it is expecte=
d to inform when a
+ connection is added or removed from its list.
+ =
+ Each IConnectionWrapper is expected to handle running arbitrar=
y JMX runnables or getting
+ a "Root" object representing all JMX nodes. There are some utilit=
y methods the
+ IConnectionWrapper can make use of.
+
+
+
+
+ UI Extensions
+ There are two extension points currently approved for use in t=
he UI
+
+
+ org.jboss.tools.jmx.ui.providerUI - provide an icon, id,=
displayable name, and
+ wizardPage class for creation of new connections
+
+
+ org.jboss.tools.jmx.ui.attribute.controls - allows you t=
o map class types to some
+ Control to present them in the MBean Editor
+ We hope, this guide helped you to get started with the J=
Boss JMX Tools. Besides, for additional information you are welcome on JBoss forum.
+
+
+
+
+
Added: trunk/jmx/docs/reference/en-US/how_to.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/how_to.xml (rev =
0)
+++ trunk/jmx/docs/reference/en-US/how_to.xml 2010-03-05 00:58:52 UTC (rev =
20675)
@@ -0,0 +1,130 @@
+
+
+
+ How to ...
+ This chapter will give you answers on most popular questions ask=
ed by JMX
+ plugin users.
+
+
+ How to Manage Tomcat
+
+ It's possible to manage Tomcat using JMX Tool=
s.
+
+ Currently, JMX Tooling is able to connect to Tomcat without =
authentication or with
+ password-based authentication.
+ Using SSL for authentication is not supported: you need to m=
ake sure that the System
+ property
+ com.sun.management.jmxremote.ssl
+ is set to false.
+ More information to manage Tomcat can be found in Tomcat man=
agement
+ documentation.
+ Instructions to manage remotely Tomcat are available in Tomc=
at's monitoring
+ documentation.
+
+
+
+
+ How to manage Eclipse Equinox
+
+ You can manage Equinox through the Equinox monitoring framew=
ork.
+ Once you have installed the Equinox monitoring framework and=
restarted Eclipse:
+
+
+
+ Go to
+ Window > Open Perspective > Other<=
/property>
+ and select the JMX perspective=
property>
+
+
+
+ Select
+ JMX Server > Open Connection
+ and click on
+ OK
+
+
+
+
+ Switch to the MBean Explorer by=
going to
+ Window > Show View > Other
+ and selecting the MBean Explorer
+
+
+
+ Click on the
+ New Connection icon =
+ =
+ =
+
+
+
+
+ =
+ in the MBean Explorer menu
+ bar
+
+
+
+ Select the
+ Advanced tab and set t=
he JMX URL to
+ service:jmx:rmi:///jndi/rmi://:8118/jmxs=
erver
+
+
+
+
+ You now have access to the MBeans exposed by Equinox.
+
+
+
+
+ Managing JBoss Instances
+
+ Managing JBoss instances is not supported with the JMX Tools
+ alone. You must also download and install the AS Too=
ls portion of
+ the JBoss Tools distribution. Even after =
installing the proper
+ tooling, you cannot create a JBoss JMX connection yourself or =
through the Connection
+ Wizard. The first step is to create a JBoss Server. The full i=
nstructions for this can
+ be found in the AS Tools section, however, the short summary i=
s:
+
+
+ Open the JBoss Servers View or =
the Servers
+ View
+
+
+
+ Right-click in the view and select
+ New > Server
+
+
+
+
+ In the
+ JBoss Community
+ section, select a server version
+
+
+
+ If a runtime has not yet been created, you'll b=
e prompted for the
+ server's home directory, JDK, and configuration
+
+
+
+ Finish the wizard and note that you have a new entry=
in both the
+ JBoss Server View and the MBean
+ Explorer
+
+ =
+
+ Start the server by right-clicking it and selecting =
+ Start
+
+
+ Note that once the server is started, the JMX connec=
tion can be
+ expanded
+
+
+
+ Now you can explore MBeans exposed by a JBoss instance.
+
+
+
Added: trunk/jmx/docs/reference/en-US/images/collaps_all.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en-US/images/collaps_all.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en-US/images/eclipse-jmx_0.2.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en-US/images/eclipse-jmx_0.2.=
png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en-US/images/favicon.ico
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en-US/images/favicon.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en-US/images/jbosstools_logo.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en-US/images/jbosstools_logo.=
png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en-US/images/link-with-editor_0.2.0.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en-US/images/link-with-editor=
_0.2.0.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en-US/images/mbean-editor-horizontal-layout=
_0.2.0.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en-US/images/mbean-editor-hor=
izontal-layout_0.2.0.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en-US/images/mbean-editor-layout-buttons_0.=
2.0.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en-US/images/mbean-editor-lay=
out-buttons_0.2.0.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en-US/images/mbean-editor_0.2.0.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en-US/images/mbean-editor_0.2=
.0.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en-US/images/mbean-explorer-features.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en-US/images/mbean-explorer-f=
eatures.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en-US/images/mbean-explorer-query.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en-US/images/mbean-explorer-q=
uery.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en-US/images/new_connection_icon.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en-US/images/new_connection_i=
con.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en-US/images/notifications.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en-US/images/notifications.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en-US/introduction.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/introduction.xml =
(rev 0)
+++ trunk/jmx/docs/reference/en-US/introduction.xml 2010-03-05 00:58:52 UTC=
(rev 20675)
@@ -0,0 +1,104 @@
+
+
+
+
+ Introduction
+ JBoss Tools' JMX project is a fork of eclipse-jmx, a p=
roject by Jeff Mesnil.
+ It was forked with permission.
+
+ What is JMX Tools?
+ JMX Tools allows to setup multiple JMX conne=
ctions and provides view
+ for exploring the JMX tree and execute operations directly from Eclips=
e.
+
+ This chapter covers the basics of working with JMX plugi=
n, which is
+ used to manage Java applications through JMX and its RMI Connector.
+
+
+ JMX Tools
+
+
+
+
+
+
+
+
+ Key Features of JMX Tools
+ For a start, we propose you to look through the table of main fe=
atures of JMX Tools:
+
+ =
+ Key Functionality for JMX Tools
+
+ =
+
+
+
+ =
+
+
+ Feature
+ Benefit
+ Chapter
+
+
+ =
+
+ =
+
+ MBean Explorer
+ MBean Explorer is a useful view with a text filte=
r that displays domains, mbeans, attributes, and operations inside a connec=
tion.
+
+ MBean Explorer
+
+
+ =
+
+ MBean Editor
+ MBean Editor is a multi-page editor to manage MBe=
ans.
+
+ MBean Editor
+
+
+
+
+
+
+ =
+
+ Requirements and Installation
+
+ Requirements
+ Requirements to use JMX Tools are the follo=
wing:
+ =
+
+
+ JMX Tools is developed on Eclipse 3.4.x=
milestones
+
+
+ JMX Tools requires that Eclipse is run =
on a JDK 1.5.0 or above
+ (due to dependencies on JMX packages which were introduced in Ja=
va 1.5.0)
+
+
+
+
+ Installation
+ Here, we are going to explain how to install the JMX p=
lugin into
+ Eclipse.
+
+ JMX Tools is one module of the JB=
oss Tools
+ project. JMX Tools has no dependency on any oth=
er part of JBoss
+ Tools, and can be downloaded standalone. Even though th=
e JMX
+ Tools have no dependencies, other plugins, such as AS Tools,
+ do depend on the JMX Tooling and even extend it.
+
+ You can find the JBoss Tools plugins over a=
t the download pages=
ulink>. The only
+ package you'll need to get is the JMX Tooling, however the AS
+ Tools would give you a more full experience when using =
JMX with JBoss Servers.
+ You can find further download and installation instructions on the J=
Boss Wiki in the Installing=
JBossTools
+ section.
+
+
+
Added: trunk/jmx/docs/reference/en-US/master.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/master.xml (rev =
0)
+++ trunk/jmx/docs/reference/en-US/master.xml 2010-03-05 00:58:52 UTC (rev =
20675)
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
+ =
+ =
+
+
+
+
+
+
+
+
+
+
+ =
+
+
+]>
+
+
+ =
+
+ JMX Tools Reference Guide
+ =
+
+
+
+
+ =
+
+
+ =
+ =
+
+ =
+
+ 2007
+ 2008 =
+ 2009
+ 2010
+ JBoss by Red Hat
+
+
+ Version: 1.1.0.GA
+
+
+
+
+ PDF version
+
+
+
+ =
+ =
+ &introduction;
+ &tasks;
+ &references;
+ &summary; =
+
+ =
+ =
Added: trunk/jmx/docs/reference/en-US/master_output.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/master_output.xml =
(rev 0)
+++ trunk/jmx/docs/reference/en-US/master_output.xml 2010-03-05 00:58:52 UT=
C (rev 20675)
@@ -0,0 +1,634 @@
+
+
+
+
+
+
+
+
+ =
+ =
+
+
+
+
+
+
+
+
+
+
+ =
+
+
+]>
+ =
+
+ JMX Tools Reference Guide
+ =
+
+
+
+
+ =
+
+
+ =
+ =
+
+ =
+
+ 2007
+ 2008 =
+ 2009
+ 2010
+ JBoss by Red Hat
+
+
+ Version: 1.1.0.GA
+
+
+
+
+ PDF version
+
+
+
+ =
+ =
+ =
+
+
+
+ Introduction
+ JBoss Tools' JMX project is=
a fork of eclipse-jmx=
, a project by Jeff Mesnil.
+ It was forked with permission.
+
+ What is JMX Tools?
+ JMX Tools allows to setup =
multiple JMX connections and provides view
+ for exploring the JMX tree and execute operations directly from Eclips=
e.
+
+ This chapter covers the basics of working with JMX plugin, which is
+ used to manage Java applications through JMX and its RMI Connector.
+
+
+ JMX Tools
+
+
+
+
+
+
+
+
+ Key Features of JMX Tools
+ For a start, we propose you to look through the table of main fe=
atures of JMX Tools:
+
+ =
+ Key Functionality for JMX Tools
+
+ =
+
+
+
+ =
+
+
+ Feature
+ Benefit
+ Chapter
+
+
+ =
+
+ =
+
+ MBean Explorer
+ MBean Explorer is a useful view with a text filte=
r that displays domains, mbeans, attributes, and operations inside a connec=
tion.
+
+ MBean Explorer
+
+
+ =
+
+ MBean Editor
+ MBean Editor is a multi-page editor to manage MBe=
ans.
+
+ MBean Editor
+
+
+
+
+
+
+ =
+
+ Requirements and Installation
+
+ Requirements
+ Requirements to use JMX Tools are the following:
+ =
+
+
+ JMX Tools is develope=
d on Eclipse 3.4.x milestones
+
+
+ JMX Tools requires th=
at Eclipse is run on a JDK 1.5.0 or above
+ (due to dependencies on JMX packages which were introduced in Ja=
va 1.5.0)
+
+
+
+
+ Installation
+ Here, we are going to explain how to install the JMX plugin into
+ Eclipse.
+
+ JMX Tools is one module o=
f the JBoss Tools
+ project. JMX Tools has no dep=
endency on any other part of JBoss
+ Tools, and can be downloaded standalone. Even though th=
e JMX
+ Tools have no dependencies, other plugins, such as AS Tools,
+ do depend on the JMX Tooling and even extend it.
+
+ You can find the JBoss Tools plugins over at the download pages. The only
+ package you'll need to get is the JMX Tooling, however the AS
+ Tools would give you a more full experience when using =
JMX with JBoss Servers.
+ You can find further download and installation instructions on the J=
Boss Wiki in the InstallingJBossTools
+ section.
+
+
+
+
+ =
+
+
+ JMX Tools Tasks
+ This chapter will give you answers on most popular questions ask=
ed by JMX
+ plugin users.
+
+ Quick Start
+ =
+ To start using the JMX Tools, it's necessary to open
+ MBean Explorer. Go to <=
emphasis>Window > Show View > Other and then select
+ MBean Explorer and clic=
k OK.
+ =
+ The MBean Explorer li=
sts all of the domains, mbeans, attributes, and operations inside a
+ connection. When you double-click on a MBean in the =
MBean Explorer, it opens =
a multi-page
+ editor to manage the MBean. The MB=
ean Editor is composed of these pages:
+ =
+
+
+ Attributes pag=
e, to get/set the attributes of the MBean
+
+
+ Operations pag=
e, to invoke operations on the MBean
+
+
+ Notifications =
page, to receive notifications from the MBean
+
+
+ Info page, which displays general information about the MBean
+
+
+ =
+
+
+ Tomcat Managing
+ =
+ It's possible to manage Tomcat using JMX Tools.
+ =
+ Currently, JMX Tooling is able to connect to Tomcat without =
authentication or with
+ password-based authentication.
+ Using SSL for authentication is not supported: you need to m=
ake sure that the System
+ property
+ com.sun.management.jmxremote.s=
sl
+ is set to false.
+ More information to manage Tomcat can be found in Tomcat man=
agement
+ documentation.
+ Instructions to manage remotely Tomcat are available in Tomc=
at's monitoring
+ documentation.
+ =
+
+ =
+
+ Eclipse Equinox Managing
+ =
+ You can manage Equinox through the Equinox monitoring framew=
ork.
+ Once you have installed the Equinox monitoring framework and=
restarted Eclipse:
+ =
+
+
+ Go to
+ Window > Open Perspecti=
ve > Other
+ and select the JMX=
perspective
+
+ =
+
+ Select
+ JMX Server > Open Conne=
ction
+ and click on
+ OK
+
+
+ =
+
+ Switch to the MBean Expl=
orer by going to
+ Window > Show View >=
Other
+ and selecting the MBean Explorer
+
+ =
+
+ Click on the
+ New Connection<=
/emphasis> icon =
+ =
+ =
+
+
+
+
+ =
+ in the MBean Explorer menu
+ bar
+
+ =
+
+ Select the
+ Advanced tab and set the JMX URL to
+ service:jmx:rmi:///jnd=
i/rmi://:8118/jmxserver
+
+
+
+ =
+ You now have access to the MBeans exposed by Equinox.
+
+ =
+ =
+
+ Managing JBoss Instances
+ =
+ Managing JBoss instances is not supported with the JMX Tools
+ alone. You must also download and install the AS Tools portion of
+ the JBoss Tools distrib=
ution. Even after installing the proper
+ tooling, you cannot create a JBoss JMX connection yourself or =
through the Connection
+ Wizard. The first step is to create a JBoss Server. The full i=
nstructions for this can
+ be found in the AS Tools section, however, the short summary i=
s:
+
+
+ Open the JBoss Servers V=
iew or the Servers
+ View
+
+ =
+
+ Right-click in the view and select
+ New > Server
+
+
+ =
+
+ In the
+ JBoss Community
+ section, select a server version
+
+ =
+
+ If a runtime has not yet been created, you'll be pro=
mpted for the
+ server's home directory, JDK, and configuration
+
+ =
+
+ Finish the wizard and note that you have a new entry=
in both the
+ JBoss Server View and the MBean
+ Explorer
+
+ =
+
+ Start the server by right-clicking it and selecting =
+ Start
+
+
+ Note that once the server is started, the JMX connec=
tion can be
+ expanded
+
+
+ =
+ Now you can explore MBeans exposed by a JBoss instance.
+
+ =
+ Extension Task
+ This section will outline how to contribute your own Server =
type with some default
+ behavior.
+ =
+
+ Why we should do that?
+ =
+ You might be asking yourself why you'd need to extend th=
is framework if JMX is
+ a standard. Perhaps you want a connection to be automatica=
lly created after some specific
+ action, or perhaps you want your connection wizard to do m=
ore than simply set a host and
+ port. JBoss, for example, requires setting some credential=
s on the client machine, but
+ using JBoss classes to do it. This requires that the conne=
ction have access to JBoss
+ jars.
+
+ =
+
+ Core Extensions
+ =
+ To create your own JMX Connection type, you must use the
+ org.jboss.tools.jmx.core.MBeanServerConnectionProvider ext=
ension point. This point takes
+ one child, a connectionProvider with a class that implemen=
ts
+ org.jboss.tools.jmx.core.IConnectionProvider.
+ =
+ An IConnectionProvider is responsible for creation and d=
eletion of IConnectionWrapper
+ objects. It must also keep a list of listeners that it is =
expected to inform when a
+ connection is added or removed from its list.
+ =
+ Each IConnectionWrapper is expected to handle running ar=
bitrary JMX runnables or getting
+ a "Root" object representing all JMX nodes. There are some=
utility methods the
+ IConnectionWrapper can make use of.
+
+ =
+
+ UI Extensions
+ There are two extension points currently approved for us=
e in the UI
+
+
+ org.jboss.tools.jmx.ui.providerUI - provide an i=
con, id, displayable name, and
+ wizardPage class for creation of new connections=
para>
+
+
+ org.jboss.tools.jmx.ui.attribute.controls - allo=
ws you to map class types to some
+ Control to present them in the MBean Editor
+ We hope, this guide helped you to get started wi=
th the JBoss JMX Tools. =
+ Besides, for additional information you are welcom=
e on =
+ JBoss forum.
+
+
+
+ =
+
+
+ =
+ Connections Creation Task
+ =
+ The MBean Explorer su=
pports several different types of connections. =
+ The tooling itself comes only with a default connection type, =
however other
+ adopters can provide additional connection types that may requ=
ire additional
+ or non-spec behavior. Connections can be in either the connect=
ed state or
+ the disconnected state. Some connection types (such as the def=
ault connection type)
+ allow you to control the current state. Other connection types=
may not.
+ =
+ Similarly, some connection types may be able to be created, =
and others may not. =
+ The default connection type, for example, can be created and d=
eleted by you
+ at will. The AS Tools connection type, which represents a JBos=
s server, does not
+ allow you this level of control. A JBoss JMX connection is cre=
ated when a JBoss server is created
+ in the server's view, and deleted when said server is deleted.=
The JMX connection for =
+ this server is in the connected state only when the server is =
started.
+ =
+ =
+ The Default Connection
+ =
+ There are two ways to connect to an application with re=
mote management enabled:
+ =
+ The first step is the same for both - to connect to a M=
Bean Server, click on the
+
+ New Connection<=
/emphasis> icon =
+ =
+ =
+
+
+
+
+ =
+ in the MBean Explorer menu bar.
+ =
+ Then to follow the simple one you just need to specify h=
ost, port (and optionally user
+ name and password) and click
+ OK.<=
/para>
+ =
+ The default JMX URL is
+ service:jmx:rmi:///jndi/rmi://=
localhost:3000/jmxrmi.
+ =
+ In case you need to connect to an application which has =
not used the "standard" JMX URL
+ (e.g. Eclipse Equinox), you need chose more advance way, w=
here it's necessary to specify
+ explicitly a JMX URL in the Advanced tab of the JMX Connec=
tion window.
+ =
+
+ Note
+ Only JMX URL based on RMI are supported.
+
+
+
+
+
+
+ =
+
+
+ References
+ =
+
+
+ =
+ MBean Explorer
+ The MBean Explorer di=
splays the MBean features (both attributes and operations) in its
+ hierarchy. Double-clicking on a feature will open a MBean Editor, display the page
+ corresponding to the feature type and select the feature.
+ =
+
+ MBean Explorer Features
+
+
+
+
+
+
+ =
+ Since it's possible to have many MBean Editors opened at the=
same time, the MBean Explorer
+ has the Link With Editor button =
+ =
+ =
+
+
+
+
+ =
+ to synchronize selections between the active MBean Editor and
+ the MBean Explorer (and=
vice versa).
+ =
+ The MBean Explorer ha=
s also a filter text that can be used to filter among all the MBeans
+ the few ones, which interest you.
+ =
+ For example, if you are only interested by MBeans related to=
memory, typing memo will show
+ any node (domain, mbean, attribute, or operation) that matches=
that text, as well as =
+ that node's parents and children. So if an MBean matches, all =
attributes and operations from =
+ that bean will show. If, however, an attribute or operation n=
ame (a leaf node) matches, =
+ only that node and its parents in the tree will show.
+ =
+
+ Query Filter
+
+
+
+
+
+
+ =
+ =
+ The
+ Collapse All=
button =
+ =
+ =
+
+
+
+
+ =
+ on the MBean Explorer t=
oolbar is used to collapse all the MBeans and
+ display only the domains. It is also possible to double click =
on a node to expand/collapse it.
+ =
+
+
+
+ =
+ MBean Editor
+ =
+
+ MBean Editor Pages
+
+
+ <=
/imagedata>
+
+
+
+ =
+ The MBean Editor is c=
omposed of several pages:
+ =
+
+
+ the
+ Attributes page
+
+
+ the
+ Operations page
+
+
+ the
+ Notifications=
emphasis> page
+
+
+ the
+ Info=
page
+
+
+ =
+ The
+ Attributes
+ and
+ Operations
+ pages display a list for either the MBean attributes o=
r operations as well as
+ details for the selection.
+ =
+ It is possible to toggle the layout between the list and th=
e details either vertically
+ (by default) or horizontally with the help of the special icon=
s =
+ =
+ =
+
+
+
+
+ =
+ in the right top corner of the editor.
+ =
+
+ MBean Editor Horizontal Layout
+
+
+
+
+
+
+
+ Visual Page Editor =
+
+
+
+
+
+
+ The Visual Page Editor, showing both the source an=
d a visual preview simultaneously.
+
+
+
+
+
+ Notifications Page
+ One more page in the MBean E=
ditor is the
+ Notifications page, which gives the possibility to
+ subscribe (resp. unsubscribe) to a MBean to receive its no=
tifications by checking (resp.
+ unchecking) the
+ Subscribe button in the right top corner.
+ The list of notifications is refreshed every time a new =
notification is
+ received:
+ =
+
+ MBean Editor Notifications Page
+
+
+ =
imagedata>
+
+
+
+ =
+
+ Note
+ It is only possible to subscribe to MBean, which emi=
ts notifications (they must be
+ NotificationBroadcaster).
+
+ =
+
+ =
+
+ =
+
+
+ =
+
+
+ Summary
+ In conclusion, with this document you could easily start with JX=
M Tools.
+ The chapters above walked you through the steps on how to do Tomca=
t,Eclipse Equinox or JBoss Instances managing and how to create new JMX con=
nections.
+ The document also includes the reference of JMX Tools features.
+ =
+ If you have questions or suggestions concerned both the documentat=
ion and tools behavior,
+ you are welcome to JBoss Tools Users forum.
+ Please, use Jira to report bugs and requests on documentation.
+ =
+
+ Other relevant resources on the topic
+ All JBoss Developer Studio/JBoss Tools release documentation=
you can find at
+ http://docs.jboss.o=
rg/tools in the corresponding release directory.
+ =
+ The latest documentation builds are available at http://download.jbos=
s.org/jbosstools/nightly-docs.
+ You can find a set of benefits and other extra information o=
n:
+
+
+
+ JBoss Wiki
+
+
+ For more information about JMX technology plea=
se visit
+
+ JMX Technology Home Page
+
+
+
+ =
+
+ =
+
Added: trunk/jmx/docs/reference/en-US/mbean_editor.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/mbean_editor.xml =
(rev 0)
+++ trunk/jmx/docs/reference/en-US/mbean_editor.xml 2010-03-05 00:58:52 UTC=
(rev 20675)
@@ -0,0 +1,91 @@
+
+
+
+
+ MBean Editor
+
+
+ MBean Editor Pages
+
+
+
+
+
+
+
+ The MBean Editor is composed of several pag=
es:
+
+
+
+ the
+ Attributes page
+
+
+ the
+ Operations page
+
+
+ the
+ Notifications page
+
+
+ the
+ Info page
+
+
+
+ The
+ Attributes
+ and
+ Operations
+ pages display a list for either the MBean attributes o=
r operations as well as
+ details for the selection.
+
+ It is possible to toggle the layout between the list and the de=
tails either vertically
+ (by default) or horizontally with the help of the special icons =
+ =
+ =
+
+
+
+
+ =
+ in the right top corner of the editor.
+
+
+ MBean Editor Horizontal Layout
+
+
+
+
+
+
+
+
+ Notifications Page
+ One more page in the MBean Editor is th=
e
+ Notifications page, which give=
s the possibility to
+ subscribe (resp. unsubscribe) to a MBean to receive its notifi=
cations by checking (resp.
+ unchecking) the
+ Subscribe button in the ri=
ght top corner.
+ The list of notifications is refreshed every time a new noti=
fication is
+ received:
+ =
+
+ MBean Editor Notifications Page
+
+
+
+
+
+
+
+
+ Note
+ It is only possible to subscribe to MBean, which emits n=
otifications (they must be
+ NotificationBroadcaster).
+
+
+
+
+
Added: trunk/jmx/docs/reference/en-US/mbean_explorer.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/mbean_explorer.xml =
(rev 0)
+++ trunk/jmx/docs/reference/en-US/mbean_explorer.xml 2010-03-05 00:58:52 U=
TC (rev 20675)
@@ -0,0 +1,62 @@
+
+
+
+ =
+ MBean Explorer
+ The MBean Explorer displays the MBean featu=
res (both attributes and operations) in its
+ hierarchy. Double-clicking on a feature will open a MBea=
n Editor, display the page
+ corresponding to the feature type and select the feature.
+ =
+
+ MBean Explorer Features
+
+
+
+
+
+
+ =
+ Since it's possible to have many MBean Editors opened at th=
e same time, the MBean Explorer
+ has the Link With Editor button =
+ =
+ =
+
+
+
+
+ =
+ to synchronize selections between the active MBean Edito=
r and
+ the MBean Explorer (and vice versa).
+ =
+ The MBean Explorer has also a filter text t=
hat can be used to filter among all the MBeans
+ the few ones, which interest you.
+ =
+ For example, if you are only interested by MBeans related to mem=
ory, typing memo will show
+ any node (domain, mbean, attribute, or operation) that matches tha=
t text, as well as =
+ that node's parents and children. So if an MBean matches, all=
attributes and operations from =
+ that bean will show. If, however, an attribute or operation name =
(a leaf node) matches, =
+ only that node and its parents in the tree will show.
+
+
+ Query Filter
+
+
+
+
+
+
+
+ =
+ The
+ Collapse All button =
+ =
+ =
+
+
+
+
+ =
+ on the MBean Explorer toolbar is used to coll=
apse all the MBeans and
+ display only the domains. It is also possible to double click on a=
node to expand/collapse it.
+ =
+
Added: trunk/jmx/docs/reference/en-US/references.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/references.xml (=
rev 0)
+++ trunk/jmx/docs/reference/en-US/references.xml 2010-03-05 00:58:52 UTC (=
rev 20675)
@@ -0,0 +1,170 @@
+
+
+
+ References
+ =
+
+
+ =
+ MBean Explorer
+ The MBean Explorer displays the MBean f=
eatures (both attributes and operations) in its
+ hierarchy. Double-clicking on a feature will open a =
MBean Editor, display the page
+ corresponding to the feature type and select the feature.
+ =
+
+ MBean Explorer Features
+
+
+
+
+
+
+ =
+ Since it's possible to have many MBean Editors opened a=
t the same time, the MBean Explorer
+ has the Link With Editor button =
+ =
+ =
+
+
+
+
+ =
+ to synchronize selections between the active MBean E=
ditor and
+ the MBean Explorer (and vice versa).
+ =
+ The MBean Explorer has also a filter te=
xt that can be used to filter among all the MBeans
+ the few ones, which interest you.
+ =
+ For example, if you are only interested by MBeans related to=
memory, typing memo will show
+ any node (domain, mbean, attribute, or operation) that matches=
that text, as well as =
+ that node's parents and children. So if an MBean matches,=
all attributes and operations from =
+ that bean will show. If, however, an attribute or operation n=
ame (a leaf node) matches, =
+ only that node and its parents in the tree will show.
+ =
+
+ Query Filter
+
+
+
+
+
+
+ =
+ =
+ The
+ Collapse All button =
+ =
+ =
+
+
+
+
+ =
+ on the MBean Explorer toolbar is used to =
collapse all the MBeans and
+ display only the domains. It is also possible to double click =
on a node to expand/collapse it.
+ =
+
+
+
+ =
+ MBean Editor
+ =
+
+ MBean Editor Pages
+
+
+
+
+
+
+ =
+ The MBean Editor is composed of several=
pages:
+ =
+
+
+ the
+ Attributes page
+
+
+ the
+ Operations page
+
+
+ the
+ Notifications page
+
+
+ the
+ Info page
+
+
+ =
+ The
+ Attributes
+ and
+ Operations
+ pages display a list for either the MBean attributes o=
r operations as well as
+ details for the selection.
+ =
+ It is possible to toggle the layout between the list and th=
e details either vertically
+ (by default) or horizontally with the help of the special icon=
s =
+ =
+ =
+
+
+
+
+ =
+ in the right top corner of the editor.
+ =
+
+ MBean Editor Horizontal Layout
+
+
+
+
+
+
+
+ Visual Page Editor =
+
+
+
+
+
+
+ The Visual Page Editor, showing both the source an=
d a visual preview simultaneously.
+
+
+
+
+
+ Notifications Page
+ One more page in the MBean Editor i=
s the
+ Notifications page, which =
gives the possibility to
+ subscribe (resp. unsubscribe) to a MBean to receive its no=
tifications by checking (resp.
+ unchecking) the
+ Subscribe button in th=
e right top corner.
+ The list of notifications is refreshed every time a new =
notification is
+ received:
+ =
+
+ MBean Editor Notifications Page
+
+
+
+
+
+
+ =
+
+ Note
+ It is only possible to subscribe to MBean, which emi=
ts notifications (they must be
+ NotificationBroadcaster).
+
+ =
+
+ =
+
+ =
+
Added: trunk/jmx/docs/reference/en-US/summary.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/summary.xml (rev=
0)
+++ trunk/jmx/docs/reference/en-US/summary.xml 2010-03-05 00:58:52 UTC (rev=
20675)
@@ -0,0 +1,32 @@
+
+
+
+ Summary
+ In conclusion, with this document you could easily start with JX=
M Tools.
+ The chapters above walked you through the steps on how to do Tomca=
t,Eclipse Equinox or JBoss Instances managing and how to create new JMX con=
nections.
+ The document also includes the reference of JMX Tools features.
+ =
+ If you have questions or suggestions concerned both the documentat=
ion and tools behavior,
+ you are welcome to JBoss Tools Users forum.
+ Please, use Jira to report bugs and requests on documentation.
+ =
+
+ Other relevant resources on the topic
+ All JBoss Developer Studio/JBoss Tools release documentation=
you can find at
+ http://docs.jboss.o=
rg/tools in the corresponding release directory.
+ =
+ The latest documentation builds are available at http://download.jbos=
s.org/jbosstools/nightly-docs.
+ You can find a set of benefits and other extra information o=
n:
+
+
+
+ JBoss Wiki
+
+
+ For more information about JMX technology plea=
se visit
+
+ JMX Technology Home Page
+
+
+
+
\ No newline at end of file
Added: trunk/jmx/docs/reference/en-US/tasks.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/en-US/tasks.xml (rev 0)
+++ trunk/jmx/docs/reference/en-US/tasks.xml 2010-03-05 00:58:52 UTC (rev 2=
0675)
@@ -0,0 +1,259 @@
+
+
+
+ JMX Tools Tasks
+ This chapter will give you answers on most popular questions ask=
ed by JMX
+ plugin users.
+
+ Quick Start
+ =
+ To start using the JMX Tools, it's=
necessary to open
+ MBean Explorer. Go to Window > Show View > Other and then select
+ MBean Explorer and click OK.
+ =
+ The MBean Explorer lists all of the dom=
ains, mbeans, attributes, and operations inside a
+ connection. When you double-click on a MBean in the =
MBean Explorer, it opens a multi-page
+ editor to manage the MBean. The MBean Editor is composed of these pages:
+ =
+
+
+ Attributes page, to get/set the attributes of the MBean
+
+
+ Operations page, to invoke operations on the MBean
+
+
+ Notifications page,=
emphasis> to receive notifications from the MBean
+
+
+ Info page,=
which displays general information about the MBean
+
+
+ =
+
+
+ Tomcat Managing
+ =
+ It's possible to manage Tomcat using JMX Tool=
s.
+ =
+ Currently, JMX Tooling is able to connect to Tomcat without =
authentication or with
+ password-based authentication.
+ Using SSL for authentication is not supported: you need to m=
ake sure that the System
+ property
+ com.sun.management.jmxremote.ssl
+ is set to false.
+ More information to manage Tomcat can be found in Tomcat man=
agement
+ documentation.
+ Instructions to manage remotely Tomcat are available in Tomc=
at's monitoring
+ documentation.
+ =
+
+ =
+
+ Eclipse Equinox Managing
+ =
+ You can manage Equinox through the Equinox monitoring framew=
ork.
+ Once you have installed the Equinox monitoring framework and=
restarted Eclipse:
+ =
+
+
+ Go to
+ Window > Open Perspective > Other
+ and select the JMX perspective
+
+ =
+
+ Select
+ JMX Server > Open Connection
+ and click on
+ OK
+
+
+ =
+
+ Switch to the MBean Explorer by=
going to
+ Window > Show View > Other
+ and selecting the MBean Explorer
+
+ =
+
+ Click on the
+ New Connection icon =
+ =
+ =
+
+
+
+
+ =
+ in the MBean Explorer menu
+ bar
+
+ =
+
+ Select the
+ Advanced tab and set t=
he JMX URL to
+ service:jmx:rmi:///jndi/rmi://:8118/jmxs=
erver
+
+
+
+ =
+ You now have access to the MBeans exposed by Equinox.
+
+ =
+ =
+
+ Managing JBoss Instances
+ =
+ Managing JBoss instances is not supported with the JMX Tools
+ alone. You must also download and install the AS Too=
ls portion of
+ the JBoss Tools distribution. Even after =
installing the proper
+ tooling, you cannot create a JBoss JMX connection yourself or =
through the Connection
+ Wizard. The first step is to create a JBoss Server. The full i=
nstructions for this can
+ be found in the AS Tools section, however, the short summary i=
s:
+
+
+ Open the JBoss Servers View or =
the Servers
+ View
+
+ =
+
+ Right-click in the view and select
+ New > Server
+
+
+ =
+
+ In the
+ JBoss Community
+ section, select a server version
+
+ =
+
+ If a runtime has not yet been created, you'll b=
e prompted for the
+ server's home directory, JDK, and configuration
+
+ =
+
+ Finish the wizard and note that you have a new entry=
in both the
+ JBoss Server View and the MBean
+ Explorer
+
+ =
+
+ Start the server by right-clicking it and selecting =
+ Start
+
+
+ Note that once the server is started, the JMX connec=
tion can be
+ expanded
+
+
+ =
+ Now you can explore MBeans exposed by a JBoss instance.
+
+ =
+ Extension Task
+ This section will outline how to contribute your own Server =
type with some default
+ behavior.
+ =
+
+ Why we should do that?
+ =
+ You might be asking yourself why you'd need to exte=
nd this framework if JMX is
+ a standard. Perhaps you want a connection to be automatica=
lly created after some specific
+ action, or perhaps you want your connection wizard to do m=
ore than simply set a host and
+ port. JBoss, for example, requires setting some credential=
s on the client machine, but
+ using JBoss classes to do it. This requires that the conne=
ction have access to JBoss
+ jars.
+
+ =
+
+ Core Extensions
+ =
+ To create your own JMX Connection type, you must use the
+ org.jboss.tools.jmx.core.MBeanServerConnectionProvider ext=
ension point. This point takes
+ one child, a connectionProvider with a class that implemen=
ts
+ org.jboss.tools.jmx.core.IConnectionProvider.
+ =
+ An IConnectionProvider is responsible for creation and d=
eletion of IConnectionWrapper
+ objects. It must also keep a list of listeners that it is =
expected to inform when a
+ connection is added or removed from its list.
+ =
+ Each IConnectionWrapper is expected to handle running ar=
bitrary JMX runnables or getting
+ a "Root" object representing all JMX nodes. There are some=
utility methods the
+ IConnectionWrapper can make use of.
+
+ =
+
+ UI Extensions
+ There are two extension points currently approved for us=
e in the UI
+
+
+ org.jboss.tools.jmx.ui.providerUI - provide an i=
con, id, displayable name, and
+ wizardPage class for creation of new connections=
para>
+
+
+ org.jboss.tools.jmx.ui.attribute.controls - allo=
ws you to map class types to some
+ Control to present them in the MBean Editor
+ We hope, this guide helped you to get started wi=
th the JBoss JMX Tools. Besides, for additional information you are welcome=
on JBoss forum.
+
+
+
+ =
+
+
+ =
+ Connections Creation Task
+ =
+ The MBean Explorer supports several dif=
ferent types of connections. =
+ The tooling itself comes only with a default connection type, =
however other
+ adopters can provide additional connection types that may requ=
ire additional
+ or non-spec behavior. Connections can be in either the connect=
ed state or
+ the disconnected state. Some connection types (such as the def=
ault connection type)
+ allow you to control the current state. Other connection types=
may not.
+ =
+ Similarly, some connection types may be able to be created, =
and others may not. =
+ The default connection type, for example, can be created and d=
eleted by you
+ at will. The AS Tools connection type, which represents a JBos=
s server, does not
+ allow you this level of control. A JBoss JMX connection is cre=
ated when a JBoss server is created
+ in the server's view, and deleted when said server is deleted.=
The JMX connection for =
+ this server is in the connected state only when the server is =
started.
+ =
+ =
+ The Default Connection
+ =
+ There are two ways to connect to an application with re=
mote management enabled:
+ =
+ The first step is the same for both - to connect to a M=
Bean Server, click on the
+
+ New Connection icon =
+ =
+ =
+
+
+
+
+ =
+ in the MBean Explorer menu bar.
+ =
+ Then to follow the simple one you just need to specify h=
ost, port (and optionally user
+ name and password) and click
+ OK.
+ =
+ The default JMX URL is
+ service:jmx:rmi:///jndi/rmi://localhost:3000/jmx=
rmi.
+ =
+ In case you need to connect to an application which has =
not used the "standard" JMX URL
+ (e.g. Eclipse Equinox), you need chose more advance way, w=
here it's necessary to specify
+ explicitly a JMX URL in the Advanced tab of the JMX Connec=
tion window.
+ =
+
+ Note
+ Only JMX URL based on RMI are supported.
+
+
+
+
+
Modified: trunk/jmx/docs/reference/pom.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/pom.xml 2010-03-04 17:02:28 UTC (rev 20674)
+++ trunk/jmx/docs/reference/pom.xml 2010-03-05 00:58:52 UTC (rev 20675)
@@ -97,9 +97,9 @@
=
${master}
- ${pom.basedir}/en
+ ${pom.basedir}/en-US
- ${pom.basedir}/en
+ ${pom.basedir}/en-USimages/**/*
Added: trunk/jmx/docs/reference/publican.cfg
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jmx/docs/reference/publican.cfg (rev 0)
+++ trunk/jmx/docs/reference/publican.cfg 2010-03-05 00:58:52 UTC (rev 2067=
5)
@@ -0,0 +1,7 @@
+# Config::Simple 4.59
+# Fri Nov 20 13:19:45 2009
+
+xml_lang: en-US
+type: Book
+brand: JBoss
+
--===============7874852251179977047==--