Author: buildbot
Date: Fri Jan 30 11:21:22 2015
New Revision: 938361

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/unix-shell-script.html

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

Modified: websites/production/activemq/content/unix-shell-script.html
==============================================================================
--- websites/production/activemq/content/unix-shell-script.html (original)
+++ websites/production/activemq/content/unix-shell-script.html Fri Jan 30 
11:21:22 2015
@@ -81,40 +81,11 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><p>From version <strong>5.4.0</strong> 
onwards, ActiveMQ comes with a enhanced shell script for starting, stopping and 
managing the broker in Unix environment. For basic <a shape="rect" 
href="activemq-command-line-tools-reference.html#ActiveMQCommandLineToolsReference-activemq">activemq</a>
 and <a shape="rect" 
href="activemq-command-line-tools-reference.html#ActiveMQCommandLineToolsReference-activemq-admin">activemq-admin</a>
 scripts functionality take a look at <a shape="rect" 
href="activemq-command-line-tools-reference.html">ActiveMQ Command Line Tools 
Reference</a>.</p>
-
-<p>This new <code>activemq</code> script incorporate these two scripts into 
one and adds some new functionalities. On top of regular <code>activemq</code> 
and <code>activemq-admin</code> scripts, it adds the following features:</p>
-
-<ul><li><strong>start</strong> - starts the broker in background. It saves 
process id in the <code>${ACTIVEMQ_DATA_DIR}/activemq.pid</code> for future 
reference. It accepts the same command line arguments like the original 
<code>activemq</code> script, so you can do something like</li></ul>
-
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+<div class="wiki-content maincontent"><p>From version <strong>5.4.0</strong> 
onwards, ActiveMQ comes with a enhanced shell script for starting, stopping and 
managing the broker in Unix environment. For basic <a shape="rect" 
href="activemq-command-line-tools-reference.html#ActiveMQCommandLineToolsReference-activemq">activemq</a>
 and <a shape="rect" 
href="activemq-command-line-tools-reference.html#ActiveMQCommandLineToolsReference-activemq-admin">activemq-admin</a>
 scripts functionality take a look at <a shape="rect" 
href="activemq-command-line-tools-reference.html">ActiveMQ Command Line Tools 
Reference</a>.</p><p>This new <code>activemq</code> script incorporate these 
two scripts into one and adds some new functionalities. On top of regular 
<code>activemq</code> and <code>activemq-admin</code> scripts, it adds the 
following features:</p><ul><li><strong>start</strong> - starts the broker in 
background. It saves process id in the 
<code>${ACTIVEMQ_DATA_DIR}/activemq.pid</code> for futur
 e reference. It accepts the same command line arguments like the original 
<code>activemq</code> script, so you can do something like</li></ul><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[$ bin/activemq start 
xbean:conf/activemq-stomp.xml]]></script>
-</div></div>
-
-<ul><li><strong>console</strong> - starts the broker in foreground. It is 
basically the replacement for the old <code>activemq</code> script</li></ul>
-
-
-<ul><li><strong>stop</strong> - stops the broker that is running in the 
background. It tries first to stop the broker using <a shape="rect" 
href="activemq-command-line-tools-reference.html#ActiveMQCommandLineToolsReference-shutdown">shutdown</a>
 task. If that task doesn't return in 30 seconds (configurable), it will kill 
the process.</li></ul>
-
-
-<ul><li><strong>restart</strong> - stops the running instance (if there's one) 
and starts the new one</li></ul>
-
-
-<ul><li><strong>status</strong> - checks if activemq process is 
running</li></ul>
-
-
-<ul><li><strong>create</strong> - create an ACTIVEMQ_BASE directory that 
separates a broker instance from its binaries, i.e., it creates copies of the 
ActiveMQ configuration files into the command-line specified directory and 
points to the binaries. You can start the broker with the <code>/bin</code> 
scripts in the newly created instance.</li></ul>
-
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+</div></div><ul><li><strong>console</strong> - starts the broker in 
foreground. It is basically the replacement for the old <code>activemq</code> 
script</li></ul><ul><li><strong>stop</strong> - stops the broker that is 
running in the background. It tries first to stop the broker using <a 
shape="rect" 
href="activemq-command-line-tools-reference.html#ActiveMQCommandLineToolsReference-shutdown">shutdown</a>
 task. If that task doesn't return in 30 seconds (configurable), it will kill 
the process.</li></ul><ul><li><strong>restart</strong> - stops the running 
instance (if there's one) and starts the new 
one</li></ul><ul><li><strong>status</strong> - checks if activemq process is 
running</li></ul><ul><li><strong>create</strong> - create an ACTIVEMQ_BASE 
directory that separates a broker instance from its binaries, i.e., it creates 
copies of the ActiveMQ configuration files into the command-line specified 
directory and points to the binaries. You can start the broker with the 
<code>/bin</co
 de> scripts in the newly created instance.</li></ul><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[$ ACTIVEMQ_HOME/bin/activemq create 
/path/to/brokers/mybroker ]]></script>
-</div></div>
-
-<ul><li><strong>setup</strong> - create the specified configuration file for 
this Unix script. The configuration of the script can be placed at 
<code>/etc/default/activemq</code> or <code>$HOME/.activemqrc</code>. Note, 
this is the configuration for the <em>script</em> not for configuring 
ActiveMQ.</li></ul>
-
-
-<p>To use addtional configurations for running multiple instances on the same 
operating system rename or symlink script to a name matching to 
<code>activemq-instance-&lt;INSTANCENAME&gt;</code>. This changes the 
configuration location to 
<code>/etc/default/activemq-instance-&lt;INSTANCENAME&gt;</code> and 
<code>$HOME/.activemqrc-instance-&lt;INSTANCENAME&gt;</code>. Configuration 
files in /etc have higher precedence. </p></div>
+</div></div><h2 id="UnixShellScript-Configuringthescript"><strong>Configuring 
the script</strong></h2><p>For ActiveMQ server to run properly some basic 
system variables must be set. These variables define how much memory broker 
will have, SSL, logging, JAAS options and similar. Prior to version 5.11.0 
these parameters were configurable in <code>activemq</code> script itself. You 
could use setup command to create additional system wide scripts to configure 
the broker.</p><p><strong>setup</strong> - create the specified configuration 
file for this Unix script. The configuration of the script can be placed at 
<code>/etc/default/activemq</code> or <code>$HOME/.activemqrc</code>. Note, 
this is the configuration for the <em>script</em> not for configuring 
ActiveMQ.</p><p>To use addtional configurations for running multiple instances 
on the same operating system rename or symlink script to a name matching to 
<code>activemq-instance-&lt;INSTANCENAME&gt;</code>. This changes the 
configuratio
 n location to <code>/etc/default/activemq-instance-&lt;INSTANCENAME&gt;</code> 
and <code>$HOME/.activemqrc-instance-&lt;INSTANCENAME&gt;</code>. Configuration 
files in /etc have higher precedence.</p><p>Since <strong>5.11.0</strong>, all 
configuration variables are moved to the new <code>env</code> script, so that 
they can be easily configured at one place. This script can be copied 
to&#160;<code>/etc/default/activemq</code> or 
<code>$HOME/.activemqrc</code>&#160;to provide system-wide settings.</p></div>
         </td>
         <td valign="top">
           <div class="navigation">


Reply via email to