You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kw...@apache.org on 2015/11/25 18:28:38 UTC
svn commit: r1716497 - in /qpid/java/trunk:
broker-core/src/main/resources/initial-config.json
doc/book/src/java-broker/Java-Broker-Getting-Started.xml
doc/book/src/java-broker/management/channels/Java-Broker-Management-Channel-JMX.xml
Author: kwall
Date: Wed Nov 25 17:28:38 2015
New Revision: 1716497
URL: http://svn.apache.org/viewvc?rev=1716497&view=rev
Log:
QPID-6913: [Java Broker] Remove JMX from default configuration
Modified:
qpid/java/trunk/broker-core/src/main/resources/initial-config.json
qpid/java/trunk/doc/book/src/java-broker/Java-Broker-Getting-Started.xml
qpid/java/trunk/doc/book/src/java-broker/management/channels/Java-Broker-Management-Channel-JMX.xml
Modified: qpid/java/trunk/broker-core/src/main/resources/initial-config.json
URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-core/src/main/resources/initial-config.json?rev=1716497&r1=1716496&r2=1716497&view=diff
==============================================================================
--- qpid/java/trunk/broker-core/src/main/resources/initial-config.json (original)
+++ qpid/java/trunk/broker-core/src/main/resources/initial-config.json Wed Nov 25 17:28:38 2015
@@ -90,22 +90,13 @@
"port" : "${qpid.http_port}",
"authenticationProvider" : "passwordFile",
"protocols" : [ "HTTP" ]
- }, {
- "name" : "RMI_REGISTRY",
- "port" : "${qpid.rmi_port}",
- "protocols" : [ "RMI" ]
- }, {
- "name" : "JMX_CONNECTOR",
- "port" : "${qpid.jmx_port}",
- "authenticationProvider" : "passwordFile",
- "protocols" : [ "JMX_RMI" ]
}],
"virtualhostnodes" : [ {
"name" : "default",
"type" : "JSON",
"defaultVirtualHostNode" : "true",
"virtualHostInitialConfiguration" : "${qpid.initial_config_virtualhost_config}"
- } ],
+ }],
"plugins" : [ {
"type" : "MANAGEMENT-HTTP",
"name" : "httpManagement"
Modified: qpid/java/trunk/doc/book/src/java-broker/Java-Broker-Getting-Started.xml
URL: http://svn.apache.org/viewvc/qpid/java/trunk/doc/book/src/java-broker/Java-Broker-Getting-Started.xml?rev=1716497&r1=1716496&r2=1716497&view=diff
==============================================================================
--- qpid/java/trunk/doc/book/src/java-broker/Java-Broker-Getting-Started.xml (original)
+++ qpid/java/trunk/doc/book/src/java-broker/Java-Broker-Getting-Started.xml Wed Nov 25 17:28:38 2015
@@ -51,10 +51,6 @@
[Broker] BRK-1010 : Platform : JVM : Oracle Corporation version: 1.7.0_79-b15 OS : Windows 7 version: 6.1 arch: x86 cores: 4
[Broker] BRK-1011 : Maximum Memory : Heap : 518,979,584 bytes Direct : 1,610,612,736 bytes
[Broker] BRK-1002 : Starting : Listening on TCP port 5672
-[Broker] MNG-1001 : JMX Management Startup
-[Broker] MNG-1002 : Starting : RMI Registry : Listening on port 8999
-[Broker] MNG-1002 : Starting : JMX RMIConnectorServer : Listening on port 9099
-[Broker] MNG-1004 : JMX Management Ready
[Broker] MNG-1001 : Web Management Startup
[Broker] MNG-1002 : Starting : HTTP : Listening on port 8080
[Broker] MNG-1004 : Web Management Ready
@@ -81,10 +77,6 @@
[Broker] MNG-1001 : Web Management Startup
[Broker] MNG-1002 : Starting : HTTP : Listening on port 8080
[Broker] MNG-1004 : Web Management Ready
-[Broker] MNG-1001 : JMX Management Startup
-[Broker] MNG-1002 : Starting : RMI Registry : Listening on port 8999
-[Broker] MNG-1002 : Starting : JMX RMIConnectorServer : Listening on port 9099
-[Broker] MNG-1004 : JMX Management Ready
[Broker] BRK-1004 : Qpid Broker Ready</screen>
<para>The BRK-1004 message confirms that the Broker is ready for work. The MNG-1002 and BRK-1002 confirm the ports on
which the Broker is listening (for HTTP/JMX management and AMQP respectively).</para>
Modified: qpid/java/trunk/doc/book/src/java-broker/management/channels/Java-Broker-Management-Channel-JMX.xml
URL: http://svn.apache.org/viewvc/qpid/java/trunk/doc/book/src/java-broker/management/channels/Java-Broker-Management-Channel-JMX.xml?rev=1716497&r1=1716496&r2=1716497&view=diff
==============================================================================
--- qpid/java/trunk/doc/book/src/java-broker/management/channels/Java-Broker-Management-Channel-JMX.xml (original)
+++ qpid/java/trunk/doc/book/src/java-broker/management/channels/Java-Broker-Management-Channel-JMX.xml Wed Nov 25 17:28:38 2015
@@ -42,30 +42,24 @@
linkend="Java-Broker-Management-Channel-Web-Console">Web Management
Console</link> and the <link
linkend="Java-Broker-Management-Channel-REST-API">REST API</link>. Use the
- Web/REST interfaces in preference to JMX whenever possible. The JMX interface may be
+ Web/REST interfaces in preference to JMX whenever possible. The JMX interface will be
withdrawn in a future release.</para>
</important>
</section>
<section id="Java-Broker-Management-Channel-JMX-Plugin-DefaultConfiguration">
<title>Default Configuration</title>
- <para>By default, the Broker is shipped with JMX enabled.</para>
- <para>The RMI registry port runs on port <literal>8999</literal> and the JMX connector on
- port <literal>9099</literal>. The connector is not SSL protected. Qpid will use the
- <ulink
- url="&oracleJdkDocUrl;java/lang/management/ManagementFactory.html#getPlatformMBeanServer()"
- >Platform MBeanServer</ulink>.</para>
- <para>To change these settings, use the <link
- linkend="Java-Broker-Management-Channel-Web-Console">Web Management
- interface</link>.</para>
+ <para>By default, the Broker is shipped with JMX <emphasis>disabled</emphasis>.
+ To enable it, it necessary to add two ports: one serving the protocol JMX_RMI and one for
+ the RMI registry. This can be done using the Web Management Console.
+ </para>
</section>
<section id="Java-Broker-Management-Channel-JMX-Plugin-ConnectingToJMX">
<title>Connecting to JMX</title>
- <para>The following example uses Jconsole to illustrates how to connect to JMX and assume
- the defaults described above. Jconsole is a management tool that comes with the JDK. It
- provides a very simple view of the MBeans, but requires no special configuration to be
- used with Qpid.</para>
+ <para>The following example uses Jconsole to illustrates how to connect to JMX using jconsole.
+ Jconsole is a management tool that comes with the JDK. It provides a very simple view of the MBeans,
+ but requires no special configuration to be used with Qpid.</para>
<para>For full details of Jconsole itself refer to Oracle's <ulink url="&oracleJconsole;"
>JConsole Guide</ulink>.</para>
<para>Jconsole can be used to connect to local or remote Java processes. On startup, it
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org