summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2013-04-22 12:25:15 +0000
committerRobert Gemmell <robbie@apache.org>2013-04-22 12:25:15 +0000
commit63c2740964d73254df736ad71b1510cd2a595f05 (patch)
tree0e02ec5ac32d794943a87d3ed13a479bddb254e4
parent58c03cccf0bdd6b519665c5e8d4d223b745dc325 (diff)
downloadqpid-python-63c2740964d73254df736ad71b1510cd2a595f05.tar.gz
QPID-4685: update documentation for CLI options
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1470475 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/doc/book/src/java-broker/Java-Broker-Getting-Started.xml93
-rw-r--r--qpid/doc/book/src/java-broker/Java-Broker-Installation.xml4
-rw-r--r--qpid/doc/book/src/java-broker/Java-Broker-Miscellaneous.xml2
3 files changed, 58 insertions, 41 deletions
diff --git a/qpid/doc/book/src/java-broker/Java-Broker-Getting-Started.xml b/qpid/doc/book/src/java-broker/Java-Broker-Getting-Started.xml
index 630c27ce89..061d574362 100644
--- a/qpid/doc/book/src/java-broker/Java-Broker-Getting-Started.xml
+++ b/qpid/doc/book/src/java-broker/Java-Broker-Getting-Started.xml
@@ -82,7 +82,7 @@
<para>The BRK-1004 message confirms that the Broker is ready for work. The MNG-1002 and BRK-1002 confirm the ports to
which the Broker is listening (for HTTP/JMX management and AMQP respectively).</para>
<para>To stop the Broker, use Control-C from the controlling shell, use the
- <command>bin/qpid.stop</command> script, or use <command>kill -TERM &lt;pid&gt;</command> or
+ <command>bin/qpid.stop</command> script, use <command>kill -TERM &lt;pid&gt;</command>, or
the Shutdown MBean from <xref linkend="Java-Broker-Configuring-And-Managing-JMX"/></para>
</section>
<section role="h2" id="Java-Broker-Getting-Started-LogFile">
@@ -98,43 +98,60 @@
<para>The Java Broker understands a number of command line options which may be used to override the configuration.</para>
<para>To see usage information for all command line options, use the option <option>--help</option></para>
<programlisting><![CDATA[bin/qpid-server --help]]></programlisting>
- <screen><![CDATA[usage: Qpid [-b address>] [-c <file>] [--exclude-0-10 <port>] [--exclude-0-8 <port>] [--exclude-0-9 <port>] [--exclude-0-9-1
- <port>] [--exclude-1-0 <port>] [-h] [--include-0-10 <port>] [--include-0-8 <port>] [--include-0-9 <port>] [--include-0-9-1
- <port>] [--include-1-0 <port>] [--jmxconnectorport <port>] [-l <file>] [-m <port>] [-p <port>] [-s <port>] [-v] [-w <period>]
- -b,--bind <address> bind to the specified address. Overrides any value in the config file
- -c,--config <file> use given configuration file
- --exclude-0-10 <port> when listening on the specified port do not accept AMQP0-10 connections. The
- specified port must be one specified on the command line
- --exclude-0-8 <port> when listening on the specified port do not accept AMQP0-8 connections. The
- specified port must be one specified on the command line
- --exclude-0-9 <port> when listening on the specified port do not accept AMQP0-9 connections. The
- specified port must be one specified on the command line
- --exclude-0-9-1 <port> when listening on the specified port do not accept AMQP0-9-1 connections. The
- specified port must be one specified on the command line
- --exclude-1-0 <port> when listening on the specified port do not accept AMQP1-0 connections. The
- specified port must be one specified on the command line
- -h,--help print this message
- --include-0-10 <port> accept AMQP0-10 connections on this port, overriding configuration to the contrary.
- The specified port must be one specified on the command line
- --include-0-8 <port> accept AMQP0-8 connections on this port, overriding configuration to the contrary.
- The specified port must be one specified on the command line
- --include-0-9 <port> accept AMQP0-9 connections on this port, overriding configuration to the contrary.
- The specified port must be one specified on the command line
- --include-0-9-1 <port> accept AMQP0-9-1 connections on this port, overriding configuration to the contrary.
- The specified port must be one specified on the command line
- --include-1-0 <port> accept AMQP1-0 connections on this port, overriding configuration to the contrary.
- The specified port must be one specified on the command line
- --jmxconnectorport <port> listen on the specified management (connector server) port. Overrides any
- value in the config file
- -l,--logconfig <file> use the specified log4j xml configuration file. By default looks for a file named
- etc/log4j.xml in the same directory as the configuration file
- -m,--jmxregistryport <port> listen on the specified management (registry server) port. Overrides any
- value in the config file
- -p,--port <port> listen on the specified port. Overrides any value in the config file
- -s,--sslport <port> SSL port. Overrides any value in the config file
- -v,--version print the version information and exit
- -w,--logwatch <period> monitor the log file configuration file for changes. Units are seconds. Zero means
- do not check for changes.]]></screen>
+ <screen><![CDATA[usage: Qpid [-cic <path>] [-h] [-icp <path>] [-l <file>] [-mm] [-mmhttp <port>]
+ [-mmjmx <port>] [-mmpass <password>] [-mmqv] [-mmrmi <port>] [-os]
+ [-sp <path>] [-st <type>] [-v] [-w <period>]
+ -cic <path> create a copy of the initial config
+ --create-initial-config <path> file, either to an optionally specified
+ file path, or as initial-config.json
+ in the current directory
+
+ -h, print this message
+ --help
+
+ -icp <path> set the location of initial JSON config
+ --initial-config-path <path> to use when creating/overwriting a
+ broker configuration store
+
+ -l <file> use the specified log4j xml configuration
+ --logconfig <file> file. By default looks for a file named
+ etc/log4j.xml in the same directory as
+ the configuration file
+
+ -mm start broker in management mode,
+ disabling the AMQP ports
+
+ -mmhttp <port> override http management port in
+ --management-mode-http-port <port> management mode
+
+ -mmjmx override jmx connector port in
+ --management-mode-jmx-connector-port <port> management mode
+
+ -mmpass <password> Set the password for the management
+ --management-mode-password <password> mode user mm_admin
+
+ -mmqv make virtualhosts stay in the quiesced
+ --management-mode-quiesce-virtualhosts state during management mode.
+
+ -mmrmi <port> override jmx rmi registry port in
+ --management-mode-rmi-registry-port <port> management mode
+
+ -os overwrite the broker configuration store
+ --overwrite-store with the current initial configuration
+
+ -sp <path> use given configuration store location
+ --store-path <path>
+
+ -st <type> use given broker configuration store type
+ --store-type <type>
+
+ -v print the version information and exit
+ --version
+
+ -w <period> monitor the log file configuration file
+ --logwatch <period> for changes. Units are seconds. Zero
+ means do not check for changes.
+]]></screen>
</section>
</chapter>
diff --git a/qpid/doc/book/src/java-broker/Java-Broker-Installation.xml b/qpid/doc/book/src/java-broker/Java-Broker-Installation.xml
index 218e39f578..7b41c01541 100644
--- a/qpid/doc/book/src/java-broker/Java-Broker-Installation.xml
+++ b/qpid/doc/book/src/java-broker/Java-Broker-Installation.xml
@@ -126,13 +126,13 @@
file and is used for the storage of persistent messages. The work directory can be set on the
command-line (for the lifetime of the command interpreter), but you will normally want to set
the environment variable permanently via the Advanced System Settings in the Control Panel.</para>
- <screen>set QPID_WORK=S:\qpidwork</screen>
+ <screen>set QPID_WORK=C:\qpidwork</screen>
<para>If the directory referred to by QPID_WORK does not exist, the Java Broker will attempt to create it
on start-up.</para>
</section>
<section role="h3" id="Java-Broker-Installation-InstallationWindows-OptionalDependencies">
<title>Optional Dependencies</title>
- <para>The broker has an optional message store implementations backed by Oracle BDB JE. If you wish to use these
+ <para>The broker has optional message store implementations backed by Oracle BDB JE. If you wish to use these
stores you will need to provide the optional Oracle BDB JE dependency. For more details, see <xref linkend="Java-Broker-Stores-BDB-Store"></xref>
</para>
</section>
diff --git a/qpid/doc/book/src/java-broker/Java-Broker-Miscellaneous.xml b/qpid/doc/book/src/java-broker/Java-Broker-Miscellaneous.xml
index 007d6cde5b..4b3bdeb15b 100644
--- a/qpid/doc/book/src/java-broker/Java-Broker-Miscellaneous.xml
+++ b/qpid/doc/book/src/java-broker/Java-Broker-Miscellaneous.xml
@@ -54,7 +54,7 @@ Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)]]></screen>
</section>
<section role="h2" id="Java-Broker-Miscellaneous-JVM-Verification-Unix">
- <title>Verify JVM on Windows</title>
+ <title>Verify JVM on Unix</title>
<para>
Firstly confirm that the JAVA_HOME environment variable is set correctly by typing the
following at the command prompt: