activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1021300 - in /websites/production/activemq/content: cache/main.pageCache jmx.html
Date Fri, 24 Nov 2017 11:24:19 GMT
Author: buildbot
Date: Fri Nov 24 11:24:19 2017
New Revision: 1021300

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/jmx.html

Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/activemq/content/jmx.html
==============================================================================
--- websites/production/activemq/content/jmx.html (original)
+++ websites/production/activemq/content/jmx.html Fri Nov 24 11:24:19 2017
@@ -82,17 +82,14 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="JMX-JMX">JMX</h2><p>Apache
ActiveMQ has extensive support for JMX to allow you to monitor and control the behavior of
the broker via the <a shape="rect" class="external-link" href="http://activemq.apache.org/maven/apidocs/org/apache/activemq/broker/jmx/package-summary.html">JMX
MBeans</a>.</p><h3 id="JMX-AMQVersion&gt;=5.8.0">AMQ Version &#160;&gt;=
5.8.0</h3><p>The MBean naming documented here applies to the 5.8.0 and later versions
of ActiveMQ. Earlier versions of ActiveMQ used a variation of the naming; most, if not all,
of the objects, attributes, and operations exist in those earlier versions, but the naming
has changed.</p><h3 id="JMX-UsingJMXtomonitorApacheActiveMQ">Using JMX to monitor
Apache ActiveMQ</h3><p>You can enable/disable JMX support as follows...</p><p>1.
<a shape="rect" href="run-broker.html">Run a broker</a> setting the broker property
useJmx to true (enabled by default) i.e.</p><p>For xbean configuration</p><div
clas
 s="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+<div class="wiki-content maincontent"><h2 id="JMX-JMX">JMX</h2><p>Apache
ActiveMQ has extensive support for JMX to allow you to monitor and control the behavior of
the broker via the <a shape="rect" class="external-link" href="http://activemq.apache.org/maven/apidocs/org/apache/activemq/broker/jmx/package-summary.html">JMX
MBeans</a>.</p><h3 id="JMX-UsingJMXtomonitorApacheActiveMQ">Using JMX to
monitor Apache ActiveMQ</h3><p>You can enable/disable JMX support as follows...</p><p>1.
<a shape="rect" href="run-broker.html">Run a broker</a> setting the broker property
useJmx to true (enabled by default) i.e.</p><p>For xbean configuration</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
 <pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">&lt;broker
useJmx="true" brokerName="BROKER1"&gt;
 ...
 &lt;/broker&gt;
 </pre>
 </div></div><p>2. Run a JMX console</p><div class="code panel
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">$ jconsole
</pre>
-</div></div><p>3. Connect to the given JMX URL:</p><p>The ActiveMQ
broker should appear in the list of local connections, if you are running JConsole on the
same host as ActiveMQ.</p><p>To connect to a remote ActiveMQ instance, or if the
local process does not show up, use Remote Process option, and enter an URL. Here is an example
localhost URL:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
-</pre>
-</div></div><div class="confluence-information-macro confluence-information-macro-information"><span
class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>ActiveMQ logs the JMX url at INFO level
during startup.</p></div></div><p><span style="line-height: 1.4285715;">Using
the Apache ActiveMQ version on OS X it appears as follows:</span></p><p><span
class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="jmx.data/activemq-jmx.png"></span><br
clear="none"> &#160;</p><h3 id="JMX-ActiveMQMBeansReference">ActiveMQ MBeans
Reference</h3><p>For additional references provided below is a brief hierarchy
of the mbeans and a listing of the properties, attributes, and operations of each mbeans.</p><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>&#160;Mbean Type</p></th><th
colspan="1" rowspan="1" class="confluenc
 eTh"><p>Properties / ObjectName&#160;</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Attributes&#160;</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Operations&#160;</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;Broker</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;broker
identifier&gt;</li></ul></td><td colspan="1" rowspan="1" class="confluenceTd"><ul><li>BrokerId</li><li>TotalEnqueueCount</li><li>TotalDequeueCount</li><li>TotalConsumerCount</li><li>TotalMessageCount</li><li>TotalConnectionsCount</li><li>TotalConsumerCount</li><li>TotalProducerCount</li><li>MemoryLimit</li><li>MemoryPercentUsage</li><li>StoreLimit</li><li>StorePercentUsage</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>start</li><li>stop</li><li>terminateJVM</li><li>resetStatistics</li><li>gc</li></ul></td></tr><tr><td
colspan="1" rowspan="1" class="co
 nfluenceTd"><p>&#160;Destination</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;name
of broker&gt;</li><li><strong>destinationType</strong>=Queue|Topic</li><li><strong>destinationName</strong>=&lt;name&gt;</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>AverageEnqueueTime</li><li><span
style="line-height: 1.4285715;">ConsumerCount</span></li><li><span
style="line-height: 1.4285715;">DequeueCount</span></li><li>EnqueueCount</li><li>ExpiredCount</li><li>InFlightCount</li><li><span
style="line-height: 1.4285715;">MemoryLimit</span></li><li>MemoryPercentUsage</li><li>Name</li><li><span
style="line-height: 1.4285715;">QueueSize (queues only)</span></li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>browseMessages</li><li>gc</li><li>purge</li><li>resetStatistics</li></ul></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;NetworkConnector</p
 ></td><td colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;name
of broker&gt;</li><li><strong>connector</strong>=networkConnectors</li><li><strong>networkConnectorName</strong>=&lt;connector
identifier&gt;</li></ul></td><td colspan="1" rowspan="1" class="confluenceTd"><ul><li>Name</li><li>Duplex</li><li>DynamicOnly</li><li>BridgeTempDestinations</li><li>ConduitSubscriptions</li><li>DecreaseNetworkConsumerPriority</li><li>DispatchAsync</li><li>DynamicOnly</li><li>NetworkTTL</li><li>Password</li><li>PrefetchSize</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>start</li><li>stop</li></ul></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;Connector</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;name
of broker&gt;</li><li><strong>connector</strong>=clientConnectors</li><li><strong>Connec
 torName</strong>=&lt;connector identifier&gt;</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>StatisticsEnabled</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>start</li><li>stop</li><li>resetStatistics</li><li>enableStatistics</li><li>disableStatistics</li><li>connectionCount</li></ul></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;Connection</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;name
of broker&gt;</li><li><strong>connectionViewType</strong>=clientId</li><li><strong>connectionName</strong>=&lt;connection
identifier&gt;</li></ul></td><td colspan="1" rowspan="1" class="confluenceTd"><ul><li>DispatchQueueSize</li><li>Active</li><li>Blocked</li><li>Connected</li><li>Slow</li><li>Consumers</li><li>Producers</li><li>RemoteAddress</li><li>UserName</li><li>ClientId</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"
 ><ul><li>start</li><li>stop</li><li>resetStatistics</li></ul></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160; PersistenceAdapter</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;broker
name&gt;</li><li><strong>Service</strong>=PersistenceAdapter</li><li><strong>InstanceName</strong>=&lt;adapter
identifier&gt;</li></ul></td><td colspan="1" rowspan="1" class="confluenceTd"><ul><li>Name</li><li>Size</li><li>Data</li><li>Transactions</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;Health</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;broker
name&gt;</li><li><strong>Service</strong>=Health</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>CurrentStatus</li></ul></td><td
colspa
 n="1" rowspan="1" class="confluenceTd"><ul><li>health</li></ul></td></tr></tbody></table></div><p>Command
line utilities are also available to let you monitor ActiveMQ. Refer to <a shape="rect"
href="activemq-command-line-tools-reference.html">ActiveMQ Command Line Tools Reference</a>
for usage information.</p><p>JMX API is also exposed via <a shape="rect" href="rest.html">REST
management API </a></p><h3 id="JMX-PasswordProtectingtheJMXConnector">Password
Protecting the JMX Connector</h3><p>(For Java 1.5+)</p><p>1. Make
sure JMX is enabled, but tell ActiveMQ <strong>not</strong> create its own connector
so that it will use the default JVM JMX connector.</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>3. The ActiveMQ broker should appear in the list of local
connections, if you are running JConsole on the same host as ActiveMQ.</p><p><strong
style="color: rgb(102,0,51);font-size: 16.0px;"><br clear="none"></strong></p><p><strong
style="color: rgb(102,0,51);font-size: 16.0px;">JMX remote access</strong></p><p>Remote
connections to JMX are not enabled by default in the activemq.xml for security reasons. Please
refer to&#160;<a shape="rect" class="external-link" href="http://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html"
rel="nofollow">Java Management guide</a>&#160;to configure the broker for remote
management.</p><p>&#160;</p><p><span style="line-height: 1.4285715;">Using
the Apache ActiveMQ version on OS X it appears as follows:</span></p><p><span
class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="jmx.data/activemq-jmx.png"></span><br
clear="none"> &#160;</p><h3 id="JMX-ActiveMQMBeansReference">ActiveMQ MBean
 s Reference</h3><p>For additional references provided below is a brief hierarchy
of the mbeans and a listing of the properties, attributes, and operations of each mbeans.</p><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>&#160;Mbean Type</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Properties / ObjectName&#160;</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Attributes&#160;</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Operations&#160;</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;Broker</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;broker
identifier&gt;</li></ul></td><td colspan="1" rowspan="1" class="confluenceTd"><ul><li>BrokerId</li><li>TotalEnqueueCount</li><li>TotalDequeueCount</li><li>TotalConsumerCount</li><li>TotalMessageCount</li><li>TotalConnecti
 onsCount</li><li>TotalConsumerCount</li><li>TotalProducerCount</li><li>MemoryLimit</li><li>MemoryPercentUsage</li><li>StoreLimit</li><li>StorePercentUsage</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>start</li><li>stop</li><li>terminateJVM</li><li>resetStatistics</li><li>gc</li></ul></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;Destination</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;name
of broker&gt;</li><li><strong>destinationType</strong>=Queue|Topic</li><li><strong>destinationName</strong>=&lt;name&gt;</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>AverageEnqueueTime</li><li><span
style="line-height: 1.4285715;">ConsumerCount</span></li><li><span
style="line-height: 1.4285715;">DequeueCount</span></li><li>EnqueueCount</li><li>ExpiredCount</li><li>InFlightCount</li><li><span
style="line-height: 1.4285715;">MemoryLimi
 t</span></li><li>MemoryPercentUsage</li><li>Name</li><li><span
style="line-height: 1.4285715;">QueueSize (queues only)</span></li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>browseMessages</li><li>gc</li><li>purge</li><li>resetStatistics</li></ul></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;NetworkConnector</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;name
of broker&gt;</li><li><strong>connector</strong>=networkConnectors</li><li><strong>networkConnectorName</strong>=&lt;connector
identifier&gt;</li></ul></td><td colspan="1" rowspan="1" class="confluenceTd"><ul><li>Name</li><li>Duplex</li><li>DynamicOnly</li><li>BridgeTempDestinations</li><li>ConduitSubscriptions</li><li>DecreaseNetworkConsumerPriority</li><li>DispatchAsync</li><li>DynamicOnly</li><li>NetworkTTL</li><li>Password</li><li>PrefetchSize</li></ul></td><td
colspan="1" rowspan="1" class
 ="confluenceTd"><ul><li>start</li><li>stop</li></ul></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;Connector</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;name
of broker&gt;</li><li><strong>connector</strong>=clientConnectors</li><li><strong>ConnectorName</strong>=&lt;connector
identifier&gt;</li></ul></td><td colspan="1" rowspan="1" class="confluenceTd"><ul><li>StatisticsEnabled</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>start</li><li>stop</li><li>resetStatistics</li><li>enableStatistics</li><li>disableStatistics</li><li>connectionCount</li></ul></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;Connection</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;name
of broker&gt;</li><li><strong>connectionViewType</strong>=clientId</li><li><stron
 g>connectionName</strong>=&lt;connection identifier&gt;</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>DispatchQueueSize</li><li>Active</li><li>Blocked</li><li>Connected</li><li>Slow</li><li>Consumers</li><li>Producers</li><li>RemoteAddress</li><li>UserName</li><li>ClientId</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>start</li><li>stop</li><li>resetStatistics</li></ul></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160; PersistenceAdapter</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;broker
name&gt;</li><li><strong>Service</strong>=PersistenceAdapter</li><li><strong>InstanceName</strong>=&lt;adapter
identifier&gt;</li></ul></td><td colspan="1" rowspan="1" class="confluenceTd"><ul><li>Name</li><li>Size</li><li>Data</li><li>Transactions</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td
  colspan="1" rowspan="1" class="confluenceTd"><p>&#160;Health</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li><strong>type</strong>=Broker</li><li><strong>brokerName</strong>=&lt;broker
name&gt;</li><li><strong>Service</strong>=Health</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>CurrentStatus</li></ul></td><td
colspan="1" rowspan="1" class="confluenceTd"><ul><li>health</li></ul></td></tr></tbody></table></div><p>Command
line utilities are also available to let you monitor ActiveMQ. Refer to <a shape="rect"
href="activemq-command-line-tools-reference.html">ActiveMQ Command Line Tools Reference</a>
for usage information.</p><p>JMX API is also exposed via <a shape="rect" href="rest.html">REST
management API </a></p><h3 id="JMX-PasswordProtectingtheJMXConnector">Password
Protecting the JMX Connector</h3><p>(For Java 1.5+)</p><p>1. Make
sure JMX is enabled, but tell ActiveMQ <strong>not</strong> create its own connector
so that it will use the d
 efault JVM JMX connector.</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">&lt;broker
xmlns="http://activemq.org/config/1.0" brokerName="localhost"useJmx="true"&gt;
 
   ...
@@ -150,24 +147,13 @@ ACTIVEMQ_SUNJMX_START="-Dcom.sun.managem
 </div></div><p>4. Start ActiveMQ</p><p>You should be able to
connect to JMX on the JMX URL</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">service:jmx:rmi:///jndi/rmi://&lt;your
hostname&gt;:1616/jmxrmi
 </pre>
-</div></div><p>And you will be forced to login.</p><h3 id="JMX-AdvancedJMXConfiguration">Advanced
JMX Configuration</h3><p>The activemq.xml configuration file allows you to configure
how ActiveMQ is exposed to JMX for management.&#160; In some cases, you may need to tweak
some of it's settings such as what port is used.</p><h4 id="JMX-Example:">Example:</h4><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">&lt;broker
useJmx="true"&gt;
-	&lt;managementContext&gt;
-	   &lt;managementContext connectorPort="2011" jmxDomainName="test.domain"/&gt;
-	&lt;/managementContext&gt;
-&lt;/broker&gt;
-</pre>
-</div></div><p>In 4.0.1 or later, on Java 1.5 or later we try and use the
default platform MBeanServer (so that things like the JVM threads &amp; memory settings
are visible).</p><p>If you wish to change the Java 5 JMX settings you can use
various <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html#properties"
rel="nofollow">JMX system properties</a></p><p>For example you can enable
remote JMX connections to the Sun JMX connector, via setting the following environment variable
(using <strong>set</strong> or <strong>export</strong> depending on
your platform). These settings only configure the Sun JMX connector within Java 1.5+, not
the JMX connector that ActiveMQ creates by default.</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">ACTIVEMQ_SUNJMX_START=-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=1616 \
--Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
-</pre>
-</div></div><p>(The ACTIVEMQ_SUNJMX_START environment variable is simple
used by the "activemq" startup script, as additional startup parameters for java. If you start
ActiveMQ directly, you'll have to pass these parameters yourself.)</p><h4 id="JMX-SelectiveMBeanregistration">Selective
MBean registration</h4><p>In situations where you need to scale your broker to
large number of connections, destinations and consumers it can become very expensive to keep
JMX MBeans for all those objects. Instead of turning off JMX completely, starting with 5.12.0,
you can selectively suppress registration of some types of MBeans and thus help your broker
scale, while still having a basic view of the broker state.</p><p>For example,
the following configuration will exclude all dynamic producers, consumers, connections and
advisory topics from registering their MBeans</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+</div></div><p>And you will be forced to login.</p><h3 id="JMX-SelectiveMBeanregistration">Selective
MBean registration</h3><p>In situations where you need to scale your broker to
large number of connections, destinations and consumers it can become very expensive to keep
JMX MBeans for all those objects. Instead of turning off JMX completely, starting with 5.12.0,
you can selectively suppress registration of some types of MBeans and thus help your broker
scale, while still having a basic view of the broker state.</p><p>For example,
the following configuration will exclude all dynamic producers, consumers, connections and
advisory topics from registering their MBeans</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;">&lt;managementContext&gt;
 &lt;managementContext&#160;
    suppressMBean="endpoint=dynamicProducer,endpoint=Consumer,connectionName=*,destinationName=ActiveMQ.Advisory.*"
 /&gt;
 &lt;/managementContext&gt;</pre>
-</div></div><p>&#160;</p><h4 id="JMX-ManagementContextPropertiesReference">ManagementContext
Properties Reference</h4><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Property Name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Default Value</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>useMBeanServer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>If true then it avoids creating a new MBean server
if a MBeanServer has already been created in the JVM</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>jmxDomainName</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.activemq</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The jmx domain that all objects names
will use</p></td></tr><tr><
 td colspan="1" rowspan="1" class="confluenceTd"><p>createMBeanServer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>If we should create the MBeanServer is none is
found.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>createConnector</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>If we should create a JMX connector (to allow
remote management) for the MBeanServer</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>connectorPort</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>1099</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>The port that the JMX connector will use</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>connectorHost</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>localhost</p></td><td
colspan="1" rowspan="1" class="confluenc
 eTd"><p>The host that the JMX connector and RMI server (if rmiServerPort&gt;0)
will use</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rmiServerPort</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>0</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The RMI server port, handy if port usage needs
to be restricted behind a firewall</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>connectorPath</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>/jmxrmi</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The path that JMX connector will be registered
under</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>findTigerMBeanServer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Enables/disables the searching for the Java 5
platform MBeanServer</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>suppres
 sMBean</p></td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td
colspan="1" rowspan="1" class="confluenceTd">List of MBean name patters to ignore</td></tr></tbody></table></div></div>
+</div></div><p>&#160;</p><h4 id="JMX-ManagementContextPropertiesReference">ManagementContext
Properties Reference</h4><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Property Name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Default Value</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>useMBeanServer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>If true then it avoids creating a new MBean server
if a MBeanServer has already been created in the JVM</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>jmxDomainName</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.activemq</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The jmx domain that all objects names
will use</p></td></tr><tr><
 td colspan="1" rowspan="1" class="confluenceTd"><p>createMBeanServer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>If we should create the MBeanServer is none is
found.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>createConnector</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(119,119,119);"><span
style="color: rgb(0,0,0);">Please refer to</span>&#160;</span><a shape="rect"
class="external-link" href="http://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html"
rel="nofollow">Java Management guide</a><span style="color: rgb(119,119,119);">&#160;<span
style="color: rgb(0,0,0);">to configure the server for remote management</span></span></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>connectorPort</p></td><td
colspan="1" rowspan="1" class="conflu
 enceTd"><p>1099</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The
port that the JMX connector will use</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>connectorHost</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>localhost</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The host that the JMX connector and RMI server
(if rmiServerPort&gt;0) will use</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>rmiServerPort</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>0</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>The RMI server port, handy if port usage needs to be restricted
behind a firewall</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>connectorPath</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>/jmxrmi</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>The path that JMX connector will be registered under</p></td></tr><tr><td
colspan="1" row
 span="1" class="confluenceTd"><p>findTigerMBeanServer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Enables/disables the searching for the Java 5
platform MBeanServer</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>suppressMBean</p></td><td colspan="1" rowspan="1"
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">List
of MBean name patters to ignore</td></tr></tbody></table></div></div>
         </td>
         <td valign="top">
           <div class="navigation">



Mime
View raw message