| <div class="docbook"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">3.5. Using the command line</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Java-Broker-Getting-Started-Logging.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Getting Started</th><td width="20%" align="right"> <a accesskey="n" href="Java-Broker-Concepts.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="Java-Broker-Getting-Started-CommandLine"></a>3.5. Using the command line</h2></div></div></div><p>The Broker understands a number of command line options which may be used to customise the configuration.</p><p> |
| For additional details about the broker configuration and related command line arguments see |
| <a class="xref" href="Java-Broker-Initial-Configuration.html" title="Chapter 5. Initial Configuration">Chapter 5, <em>Initial Configuration</em></a>. |
| The broker is fully configurable via its Web Management Console, for details of this see |
| <a class="xref" href="Java-Broker-Management-Channel-Web-Console.html" title="6.2. Web Management Console">Section 6.2, “Web Management Console”</a>. |
| </p><p>To see usage information for all command line options, use the <code class="option">--help</code> option</p><pre class="programlisting">bin/qpid-server --help</pre><pre class="screen">usage: Qpid [-cic <path>] [-h] [-icp <path>] [-mm] [-mmhttp <port>] |
| [-mmpass <password>] [-mmqv] [-os] |
| [-prop <name=value>] [-props <path>] [-sp <path>] [-st <type>] [-v] |
| -cic,--create-initial-config <path> create a copy of the |
| initial config file, |
| either to an |
| optionally specified |
| file path, or as |
| initial-config.json |
| in the current |
| directory |
| -h,--help print this message |
| -icp,--initial-config-path <path> set the location of |
| initial JSON config |
| to use when |
| creating/overwriting |
| a broker |
| configuration store |
| -mm,--management-mode start broker in |
| management mode, |
| disabling the AMQP |
| ports |
| -mmhttp,--management-mode-http-port <port> override http |
| management port in |
| management mode |
| -mmpass,--management-mode-password <password> Set the password for |
| the management mode |
| user mm_admin |
| -mmqv,--management-mode-quiesce-virtualhostnodes make virtualhost nodes |
| stay in the quiesced |
| state during |
| management mode. |
| -prop,--config-property <name=value> set a configuration |
| property to use when |
| resolving variables |
| in the broker |
| configuration store, |
| with format |
| "name=value" |
| -props,--system-properties-file <path> set the location of |
| initial properties |
| file to set |
| otherwise unset |
| system properties |
| -sp,--store-path <path> use given |
| configuration store |
| location |
| -st,--store-type <type> use given broker |
| configuration store |
| type |
| -v,--version print the version |
| information and exit |
| </pre></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Java-Broker-Getting-Started-Logging.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Java-Broker-Getting-Started.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="Java-Broker-Concepts.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">3.4. Log file </td><td width="20%" align="center"><a accesskey="h" href="Apache-Qpid-Broker-J-Book.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 4. Concepts</td></tr></table></div></div> |