You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by bu...@apache.org on 2015/05/10 21:21:36 UTC

svn commit: r950842 [2/2] - in /websites/production/activemq/content: ./ cache/

Modified: websites/production/activemq/content/integrating-apache-activemq-with-glassfish.html
==============================================================================
--- websites/production/activemq/content/integrating-apache-activemq-with-glassfish.html (original)
+++ websites/production/activemq/content/integrating-apache-activemq-with-glassfish.html Sun May 10 19:21:35 2015
@@ -35,7 +35,6 @@
           <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' /> 
       <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
       <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
               <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushBash.js' type='text/javascript'></script> 
          
       <script type="text/javascript"> 
@@ -82,22 +81,23 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h1 id="IntegratingApacheActiveMQwithGlassfish-General">General</h1><p>See this article for a description of how to connect Glassfish 3 to an ActiveMQ 5 broker, and consume messages using a Message Driven Bean: <a shape="rect" class="external-link" href="http://geertschuring.wordpress.com/2012/04/20/how-to-connect-glassfish-3-to-activemq-5/" rel="nofollow">http://geertschuring.wordpress.com/2012/04/20/how-to-connect-glassfish-3-to-activemq-5/</a></p><h1 id="IntegratingApacheActiveMQwithGlassfish-Glassfish4.1">Glassfish 4.1</h1><p>&#160;</p><ol><li>Add resource adapater<br clear="none"><ol><li>Download the resource-adapter file suitable to your broker version:<br clear="none"><a shape="rect" class="external-link" href="http://repo1.maven.org/maven2/org/apache/activemq/activemq-rar/" rel="nofollow">http://repo1.maven.org/maven2/org/apache/activemq/activemq-rar/</a></li><li><p>Deploy the&#160; resource adapter with the name "activemq-rar"</p><div c
 lass="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: bash; gutter: false" type="syntaxhighlighter"><![CDATA[$ bin/asadmin deploy --type rar --name activemq-rar /tmp/activemq-rar-5.11.1.rar]]></script>
+<div class="wiki-content maincontent"><h1 id="IntegratingApacheActiveMQwithGlassfish-General">General</h1><p>See this article for a description of how to connect Glassfish 3 to an ActiveMQ 5 broker, and consume messages using a Message Driven Bean: <a shape="rect" class="external-link" href="http://geertschuring.wordpress.com/2012/04/20/how-to-connect-glassfish-3-to-activemq-5/" rel="nofollow">http://geertschuring.wordpress.com/2012/04/20/how-to-connect-glassfish-3-to-activemq-5/</a></p><h1 id="IntegratingApacheActiveMQwithGlassfish-Glassfish4.1">Glassfish 4.1</h1><p>&#160;</p><ol><li>Add resource adapter<br clear="none"><ol><li>Download the resource-adapter file suitable to your broker version:<br clear="none"><a shape="rect" class="external-link" href="http://repo1.maven.org/maven2/org/apache/activemq/activemq-rar/" rel="nofollow">http://repo1.maven.org/maven2/org/apache/activemq/activemq-rar/</a></li><li><p>Deploy the&#160; resource adapter with the name "activemq-rar"</p><div cl
 ass="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: bash; gutter: false" type="syntaxhighlighter"><![CDATA[bin/asadmin deploy --type rar --name activemq-rar /tmp/activemq-rar-5.11.1.rar]]></script>
 </div></div></li><li><p>Configure resource adapter <br clear="none">(Failover Setup)</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: bash; gutter: false" type="syntaxhighlighter"><![CDATA[bin/asadmin create-resource-adapter-config   --property ServerUrl=&#39;failover\:(tcp\://broker-c1.foobar.local\:61616,tcp\://broker-c2.foobar.local\:61616,tcp\://broker-c3.foobar.local\:61616)?initialReconnectDelay\=2000&amp;jms.useCompression\=true&#39;:UserName=&#39;admin&#39;:Password=&#39;admin&#39; activemq-rar]]></script>
+<script class="theme: Default; brush: bash; gutter: false" type="syntaxhighlighter"><![CDATA[bin/asadmin create-resource-adapter-config   \
+  --property ServerUrl=&#39;failover\:(tcp\://broker-c1.foobar.local\:61616,tcp\://broker-c2.foobar.local\:61616,tcp\://broker-c3.foobar.local\:61616)?initialReconnectDelay\=2000&amp;jms.useCompression\=true&#39;:UserName=&#39;admin&#39;:Password=&#39;admin&#39; activemq-rar]]></script>
 </div></div></li></ol></li><li><p>&#160;Create connector connection pool</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: bash; gutter: false" type="syntaxhighlighter"><![CDATA[$ bin/asadmin create-connector-connection-pool \
+<script class="theme: Default; brush: bash; gutter: false" type="syntaxhighlighter"><![CDATA[bin/asadmin create-connector-connection-pool \
   --raname activemq-rar \
   --connectiondefinition javax.jms.ConnectionFactory \
   --ping true --isconnectvalidatereq true \
   jms/myConnectionPool]]></script>
 </div></div></li><li><p>Create a connector resource (JNDI-Mapping for connection pool)</p><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/asadmin create-connector-resource \
+<script class="theme: Default; brush: bash; gutter: false" type="syntaxhighlighter"><![CDATA[bin/asadmin create-connector-resource \
   --poolname jms/myConnectionPool \
   jms/myConnectionFactory]]></script>
 </div></div></li><li><p>Configure JNDI mapping for a queue</p><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/asadmin create-admin-object \
+<script class="theme: Default; brush: bash; gutter: false" type="syntaxhighlighter"><![CDATA[bin/asadmin create-admin-object \
 	  --raname activemq-rar \
   --restype javax.jms.Queue \
   --property PhysicalName=MY.MAGIC.OUT \

Modified: websites/production/activemq/content/j2ee.html
==============================================================================
--- websites/production/activemq/content/j2ee.html (original)
+++ websites/production/activemq/content/j2ee.html Sun May 10 19:21:35 2015
@@ -75,7 +75,7 @@
 <div class="wiki-content maincontent">
 <p>In J2EE 1.4 or later the standard way to integrate with a JMS provider is via JCA 1.5 and a <a shape="rect" href="resource-adapter.html">Resource Adapter</a>.</p>
 
-<h2 id="J2EE-Introduction">Introduction</h2><p>ActiveMQ includes a Java Connector Architecture (JCA) 1.5 Resource Adapter. JCA 1.5 defines the contract between an J2EE application server and external resources such as databases and messaging middleware. It allows the application server to efficiently pool connections, control transactions and manage security. The Resource Adapter allows ActiveMQ to be used from any J2EE 1.4 application server. We have tested that the Resource Adapter works in the following J2EE 1.4 containers</p><ul><li><a shape="rect" class="external-link" href="http://tomee.apache.org/tomcat-jms.html">TomEE</a> 1</li><li>Geronimo 1</li><li>GlassFish</li><li>JBoss 4</li><li>WebLogic 9</li><li>WebSphere 6</li></ul><h2 id="J2EE-Features">Features</h2><ul><li>Inbound connection delivers messages to MDBs via XA or local transactions.</li><li>Outbound connections support standard container pooling or can reuse the inbound connection/session to avoid XA.</li><li>JTA supp
 ort: Can be enlisted in XA and local transactions.</li><li>XA transaction recovery via XAResource.recover() supported.</li><li>When used outside a JTA transaction, session transaction settings retain normal JMS semantics so that it be used by your web-app tier.</li><li>Can configure and start up embedded broker.</li><li>Can connect to external ActiveMQ broker or embedded broker.</li><li>Inbound message delivery supports fine grain control of concurrency and prefetching.</li><li>Batching so that multiple messages can be delivered within the same transaction for optimal performances.</li></ul><h2 id="J2EE-DownloadingtheRAR">Downloading the RAR</h2><p>The RAR is available via <a shape="rect" class="external-link" href="http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22activemq-rar%22" rel="nofollow">maven central</a></p><p><span style="color: rgb(102,0,51);font-size: 20.0px;line-height: 1.5;">Deployment Guides</span></p><ul><li><a shape="rect" href="tomee.html">TomEE</a></li><li><a sha
 pe="rect" href="geronimo.html">Geronimo</a></li><li><a shape="rect" class="external-link" href="http://weblogs.java.net/blog/rampsarathy/archive/2007/03/glassfish_v2_an.html" rel="nofollow">GlassFish</a></li><li><a shape="rect" href="jboss-integration.html">JBoss Integration</a></li></ul><h2 id="J2EE-TheuseofanEmbeddedBroker">The use of an Embedded Broker</h2><p>The ActiveMQ Resource Adapter can connect to a remote broker using any of the available transports, or it can start up an embedded broker. As described in the <a shape="rect" href="resource-adapter-properties.html">Resource Adapter Properties</a>, you can enable an embedded broker using the <strong>BrokerXmlConfig</strong> property.</p><h2 id="J2EE-ConfigurationReference">Configuration Reference</h2><ul><li><a shape="rect" href="resource-adapter-properties.html">Resource Adapter Properties</a></li><li><a shape="rect" href="connection-factory-properties.html">Connection Factory Properties</a></li><li><a shape="rect" href="act
 ivation-spec-properties.html">Activation Spec Properties</a></li></ul></div>
+<h2 id="J2EE-Introduction">Introduction</h2><p>ActiveMQ includes a Java Connector Architecture (JCA) 1.5 Resource Adapter. JCA 1.5 defines the contract between an J2EE application server and external resources such as databases and messaging middleware. It allows the application server to efficiently pool connections, control transactions and manage security. The Resource Adapter allows ActiveMQ to be used from any J2EE 1.4 application server. We have tested that the Resource Adapter works in the following J2EE 1.4 containers</p><ul><li><a shape="rect" class="external-link" href="http://tomee.apache.org/tomcat-jms.html">TomEE</a> 1</li><li>Geronimo 1</li><li>GlassFish</li><li>JBoss 4</li><li>WebLogic 9</li><li>WebSphere 6</li></ul><h2 id="J2EE-Features">Features</h2><ul><li>Inbound connection delivers messages to MDBs via XA or local transactions.</li><li>Outbound connections support standard container pooling or can reuse the inbound connection/session to avoid XA.</li><li>JTA supp
 ort: Can be enlisted in XA and local transactions.</li><li>XA transaction recovery via XAResource.recover() supported.</li><li>When used outside a JTA transaction, session transaction settings retain normal JMS semantics so that it be used by your web-app tier.</li><li>Can configure and start up embedded broker.</li><li>Can connect to external ActiveMQ broker or embedded broker.</li><li>Inbound message delivery supports fine grain control of concurrency and prefetching.</li><li>Batching so that multiple messages can be delivered within the same transaction for optimal performances.</li></ul><h2 id="J2EE-DownloadingtheRAR">Downloading the RAR</h2><p>The RAR is available via <a shape="rect" class="external-link" href="http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22activemq-rar%22" rel="nofollow">maven central</a></p><p><span style="color: rgb(102,0,51);font-size: 20.0px;line-height: 1.5;">Deployment Guides</span></p><ul><li><a shape="rect" href="tomee.html">TomEE</a></li><li><a sha
 pe="rect" href="geronimo.html">Geronimo</a></li><li><a shape="rect" href="integrating-apache-activemq-with-glassfish.html">Integrating Apache ActiveMQ with Glassfish</a></li><li><a shape="rect" href="jboss-integration.html">JBoss Integration</a></li></ul><h2 id="J2EE-TheuseofanEmbeddedBroker">The use of an Embedded Broker</h2><p>The ActiveMQ Resource Adapter can connect to a remote broker using any of the available transports, or it can start up an embedded broker. As described in the <a shape="rect" href="resource-adapter-properties.html">Resource Adapter Properties</a>, you can enable an embedded broker using the <strong>BrokerXmlConfig</strong> property.</p><h2 id="J2EE-ConfigurationReference">Configuration Reference</h2><ul><li><a shape="rect" href="resource-adapter-properties.html">Resource Adapter Properties</a></li><li><a shape="rect" href="connection-factory-properties.html">Connection Factory Properties</a></li><li><a shape="rect" href="activation-spec-properties.html">Acti
 vation Spec Properties</a></li></ul></div>
         </td>
         <td valign="top">
           <div class="navigation">

Modified: websites/production/activemq/content/resource-adapter.html
==============================================================================
--- websites/production/activemq/content/resource-adapter.html (original)
+++ websites/production/activemq/content/resource-adapter.html Sun May 10 19:21:35 2015
@@ -72,7 +72,7 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="ResourceAdapter-Introduction">Introduction</h2><p>ActiveMQ includes a Java Connector Architecture (JCA) 1.5 Resource Adapter. JCA 1.5 defines the contract between an J2EE application server and external resources such as databases and messaging middleware. It allows the application server to efficiently pool connections, control transactions and manage security. The Resource Adapter allows ActiveMQ to be used from any J2EE 1.4 application server. We have tested that the Resource Adapter works in the following J2EE 1.4 containers</p><ul><li><a shape="rect" class="external-link" href="http://tomee.apache.org/tomcat-jms.html">TomEE</a> 1</li><li>Geronimo 1</li><li>GlassFish</li><li>JBoss 4</li><li>WebLogic 9</li><li>WebSphere 6</li></ul><h2 id="ResourceAdapter-Features">Features</h2><ul><li>Inbound connection delivers messages to MDBs via XA or local transactions.</li><li>Outbound connections support standard container pooling or can reuse 
 the inbound connection/session to avoid XA.</li><li>JTA support: Can be enlisted in XA and local transactions.</li><li>XA transaction recovery via XAResource.recover() supported.</li><li>When used outside a JTA transaction, session transaction settings retain normal JMS semantics so that it be used by your web-app tier.</li><li>Can configure and start up embedded broker.</li><li>Can connect to external ActiveMQ broker or embedded broker.</li><li>Inbound message delivery supports fine grain control of concurrency and prefetching.</li><li>Batching so that multiple messages can be delivered within the same transaction for optimal performances.</li></ul><h2 id="ResourceAdapter-DownloadingtheRAR">Downloading the RAR</h2><p>The RAR is available via <a shape="rect" class="external-link" href="http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22activemq-rar%22" rel="nofollow">maven central</a></p><p><span style="color: rgb(102,0,51);font-size: 20.0px;line-height: 1.5;">Deployment Guides</span
 ></p><ul><li><a shape="rect" href="tomee.html">TomEE</a></li><li><a shape="rect" href="geronimo.html">Geronimo</a></li><li><a shape="rect" class="external-link" href="http://weblogs.java.net/blog/rampsarathy/archive/2007/03/glassfish_v2_an.html" rel="nofollow">GlassFish</a></li><li><a shape="rect" href="jboss-integration.html">JBoss Integration</a></li></ul><h2 id="ResourceAdapter-TheuseofanEmbeddedBroker">The use of an Embedded Broker</h2><p>The ActiveMQ Resource Adapter can connect to a remote broker using any of the available transports, or it can start up an embedded broker. As described in the <a shape="rect" href="resource-adapter-properties.html">Resource Adapter Properties</a>, you can enable an embedded broker using the <strong>BrokerXmlConfig</strong> property.</p><h2 id="ResourceAdapter-ConfigurationReference">Configuration Reference</h2><ul><li><a shape="rect" href="resource-adapter-properties.html">Resource Adapter Properties</a></li><li><a shape="rect" href="connection
 -factory-properties.html">Connection Factory Properties</a></li><li><a shape="rect" href="activation-spec-properties.html">Activation Spec Properties</a></li></ul></div>
+<div class="wiki-content maincontent"><h2 id="ResourceAdapter-Introduction">Introduction</h2><p>ActiveMQ includes a Java Connector Architecture (JCA) 1.5 Resource Adapter. JCA 1.5 defines the contract between an J2EE application server and external resources such as databases and messaging middleware. It allows the application server to efficiently pool connections, control transactions and manage security. The Resource Adapter allows ActiveMQ to be used from any J2EE 1.4 application server. We have tested that the Resource Adapter works in the following J2EE 1.4 containers</p><ul><li><a shape="rect" class="external-link" href="http://tomee.apache.org/tomcat-jms.html">TomEE</a> 1</li><li>Geronimo 1</li><li>GlassFish</li><li>JBoss 4</li><li>WebLogic 9</li><li>WebSphere 6</li></ul><h2 id="ResourceAdapter-Features">Features</h2><ul><li>Inbound connection delivers messages to MDBs via XA or local transactions.</li><li>Outbound connections support standard container pooling or can reuse 
 the inbound connection/session to avoid XA.</li><li>JTA support: Can be enlisted in XA and local transactions.</li><li>XA transaction recovery via XAResource.recover() supported.</li><li>When used outside a JTA transaction, session transaction settings retain normal JMS semantics so that it be used by your web-app tier.</li><li>Can configure and start up embedded broker.</li><li>Can connect to external ActiveMQ broker or embedded broker.</li><li>Inbound message delivery supports fine grain control of concurrency and prefetching.</li><li>Batching so that multiple messages can be delivered within the same transaction for optimal performances.</li></ul><h2 id="ResourceAdapter-DownloadingtheRAR">Downloading the RAR</h2><p>The RAR is available via <a shape="rect" class="external-link" href="http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22activemq-rar%22" rel="nofollow">maven central</a></p><p><span style="color: rgb(102,0,51);font-size: 20.0px;line-height: 1.5;">Deployment Guides</span
 ></p><ul><li><a shape="rect" href="tomee.html">TomEE</a></li><li><a shape="rect" href="geronimo.html">Geronimo</a></li><li><a shape="rect" href="integrating-apache-activemq-with-glassfish.html">Integrating Apache ActiveMQ with Glassfish</a></li><li><a shape="rect" href="jboss-integration.html">JBoss Integration</a></li></ul><h2 id="ResourceAdapter-TheuseofanEmbeddedBroker">The use of an Embedded Broker</h2><p>The ActiveMQ Resource Adapter can connect to a remote broker using any of the available transports, or it can start up an embedded broker. As described in the <a shape="rect" href="resource-adapter-properties.html">Resource Adapter Properties</a>, you can enable an embedded broker using the <strong>BrokerXmlConfig</strong> property.</p><h2 id="ResourceAdapter-ConfigurationReference">Configuration Reference</h2><ul><li><a shape="rect" href="resource-adapter-properties.html">Resource Adapter Properties</a></li><li><a shape="rect" href="connection-factory-properties.html">Connecti
 on Factory Properties</a></li><li><a shape="rect" href="activation-spec-properties.html">Activation Spec Properties</a></li></ul></div>
         </td>
         <td valign="top">
           <div class="navigation">

Modified: websites/production/activemq/content/run-broker.html
==============================================================================
--- websites/production/activemq/content/run-broker.html (original)
+++ websites/production/activemq/content/run-broker.html Sun May 10 19:21:35 2015
@@ -70,7 +70,7 @@
 <p></p>
         <div class="top_red_bar">
           <div id="site-breadcrumbs">
-<a href="using-activemq.html">Using ActiveMQ</a>&nbsp;&gt;&nbsp;<a href="run-broker.html">Run Broker</a>
+<a href="using-activemq-4.html">Using ActiveMQ 4</a>&nbsp;&gt;&nbsp;<a href="run-broker.html">Run Broker</a>
           </div>
           <div id="site-quicklinks">
 <p><a shape="rect" href="download.html">Download</a> | <a shape="rect" class="external-link" href="http://activemq.apache.org/maven/5.11.0/apidocs/index.html">JavaDocs</a> <a shape="rect" href="javadocs.html">More...</a> | <a shape="rect" href="source.html">Source</a> | <a shape="rect" href="discussion-forums.html">Forums</a> | <a shape="rect" href="support.html">Support</a></p>
@@ -81,120 +81,47 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h1 id="RunBroker-RunninganActiveMQBroker">Running an ActiveMQ Broker</h1>
-
-<p>Note if you want to use an <strong>embedded broker</strong> then see <a shape="rect" href="how-do-i-embed-a-broker-inside-a-connection.html">How do I embed a Broker inside a Connection</a></p>
-
-<p>This page describes how to run a broker using 4.x or later of ActiveMQ. For earlier versions of ActiveMQ see <a shape="rect" class="unresolved" href="#">Running a 3.x Broker</a></p>
-
-<p>The <a shape="rect" href="download.html">binary distribution</a> of ActiveMQ comes with a script called 'activemq' which allows you to run a broker. Typing the following will run an ActiveMQ Broker using the out of the box configuration</p>
-<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
+<div class="wiki-content maincontent"><h1 id="RunBroker-RunninganActiveMQBroker">Running an ActiveMQ Broker</h1><p>Note if you want to use an <strong>embedded broker</strong> then see <a shape="rect" href="how-do-i-embed-a-broker-inside-a-connection.html">How do I embed a Broker inside a Connection</a></p><p>This page describes how to run a broker using 4.x or later of ActiveMQ.</p><p>The <a shape="rect" href="download.html">binary distribution</a> of ActiveMQ comes with a script called 'activemq' which allows you to run a broker. Typing the following will run an ActiveMQ Broker using the out of the box configuration</p><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
 ]]></script>
-</div></div>
-<p>There are a number of different command line options to be able to run a broker. To see them type</p>
-<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 -?
+</div></div><p>There are a number of different command line options to be able to run a broker. To see them type</p><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 -?
 ]]></script>
-</div></div>
-<p>For more details regarding the activemq script file and other script files refer to <a shape="rect" href="activemq-command-line-tools-reference.html">ActiveMQ Command Line Tools Reference</a></p>
-
-<p>You can then use a <a shape="rect" href="broker-configuration-uri.html">Broker Configuration URI</a> to specify how to start and configure your broker using a single URI. For example</p>
-<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 broker:(tcp://localhost:61616,network:static:tcp://remotehost:61616)?persistent=false&amp;useJmx=true
+</div></div><p>For more details regarding the activemq script file and other script files refer to <a shape="rect" href="activemq-command-line-tools-reference.html">ActiveMQ Command Line Tools Reference</a></p><p>You can then use a <a shape="rect" href="broker-configuration-uri.html">Broker Configuration URI</a> to specify how to start and configure your broker using a single URI. For example</p><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 broker:(tcp://localhost:61616,network:static:tcp://remotehost:61616)?persistent=false&amp;useJmx=true
 ]]></script>
-</div></div>
-<p>Or you can a <a shape="rect" href="broker-xbean-uri.html">Broker XBean URI</a> to customize the Message Broker using the <a shape="rect" href="xml-configuration.html">Xml Configuration</a> to suit your needs. You can run a broker with a specific XML configuration as</p>
-<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 xbean:foo.xml
+</div></div><p>Or you can a <a shape="rect" href="broker-xbean-uri.html">Broker XBean URI</a> to customize the Message Broker using the <a shape="rect" href="xml-configuration.html">Xml Configuration</a> to suit your needs. You can run a broker with a specific XML configuration as</p><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 xbean:foo.xml
 ]]></script>
-</div></div>
-<p>Or you can use a <a shape="rect" href="broker-properties-uri.html">Broker Properties URI</a> to customize the Message Broker using a properties file; which avoids the dependency on Spring, xbean-spring and XML.</p>
-<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 properties:foo.properties
+</div></div><p>Or you can use a <a shape="rect" href="broker-properties-uri.html">Broker Properties URI</a> to customize the Message Broker using a properties file; which avoids the dependency on Spring, xbean-spring and XML.</p><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 properties:foo.properties
 ]]></script>
-</div></div>
-    <div class="aui-message problem shadowed information-macro">
+</div></div>    <div class="aui-message problem shadowed information-macro">
                     <p class="title">Unix shell warning</p>
                             <span class="aui-icon icon-problem">Icon</span>
                 <div class="message-content">
-                            
-<p>If you are running a broker on a remote unix machine via telnet/ssh, when you exit your shell the broker will terminate too. If you want to keep the broker running you may want to use the /etc/init.d type services to run the broker. Or try use <strong>nohup</strong>. e.g.</p>
-<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[
-nohup activemq &gt; /dev/null &amp;
+                            <p>If you are running a broker on a remote unix machine via telnet/ssh, when you exit your shell the broker will terminate too. If you want to keep the broker running you may want to use the /etc/init.d type services to run the broker. Or try use <strong>nohup</strong>. e.g.</p><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[nohup activemq &gt; /dev/null &amp;
 ]]></script>
 </div></div>
                     </div>
     </div>
-
-
-<h3 id="RunBroker-RunningthebrokerasaUnixService">Running the broker as a Unix Service</h3>
-
-<p>See the <a shape="rect" href="unix-service.html">Unix Service</a> for details.</p>
-
-<h3 id="RunBroker-RunningthebrokerusingtheJavaServiceWrapperImplementation">Running the broker using the Java Service Wrapper Implementation</h3>
-
-<p>See the&#160;<a shape="rect" href="java-service-wrapper.html">Java Service Wrapper Page</a> for details.</p>
-
-
-<h3 id="RunBroker-Monitoringthebroker">Monitoring the broker</h3>
-
-You can monitor ActiveMQ using the <a shape="rect" href="web-console.html">Web Console</a> by pointing your browser at<p><a shape="rect" class="external-link" href="http://localhost:8161/admin" rel="nofollow">http://localhost:8161/admin</a></p>    <div class="aui-message hint shadowed information-macro">
+<h3 id="RunBroker-RunningthebrokerasaUnixService">Running the broker as a Unix Service</h3><p>See the <a shape="rect" href="unix-service.html">Unix Service</a> for details.</p><h3 id="RunBroker-RunningthebrokerusingtheJavaServiceWrapperImplementation">Running the broker using the Java Service Wrapper Implementation</h3><p>See the&#160;<a shape="rect" href="java-service-wrapper.html">Java Service Wrapper Page</a> for details.</p><h3 id="RunBroker-Monitoringthebroker">Monitoring the broker</h3><p>You can monitor ActiveMQ using the <a shape="rect" href="web-console.html">Web Console</a> by pointing your browser at</p><p><a shape="rect" class="external-link" href="http://localhost:8161/admin" rel="nofollow">http://localhost:8161/admin</a></p>    <div class="aui-message hint shadowed information-macro">
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">
                             <p>From ActiveMQ 5.8 onwards the web apps is secured out of the box.<br clear="none"> The default username and password is admin/admin. You can configure this in the conf/jetty-real.properties file.</p>
                     </div>
     </div>
-<p>Or you can use the <a shape="rect" href="jmx.html">JMX</a> support to view the running state of ActiveMQ.</p><p>For more information see the file <code>docs/WebConsole-README.txt</code> in the distribution.</p>
-
-<h3 id="RunBroker-RunningthebrokerinsideaServletEngine">Running the broker inside a Servlet Engine</h3>
-
-<p>See the source code (or WAR) of the <a shape="rect" href="web-console.html">Web Console</a> for an example of how to run the broker inside a web application using Spring.</p>
-
-<h3 id="RunBroker-RunningthebrokerinsideyourJ2EE1.4ApplicationServer">Running the broker inside your J2EE 1.4 Application Server</h3>
-
-<p>Whether its Apache Geronmio, JBoss 4, WebLogic 9 or some other J2EE 1.4 container you should be able to just reconfigure and then deploy the activemq-*.rar which is included in the binary distribution as a deployment unit in your app server.  By default the rar is not configured to start an embedded broker.  But by setting the brokerXmlConfig on the resource adapter configuration, the resource adapter will start an embedded broker.</p>
-
-<p>For more details see <a shape="rect" href="j2ee.html">J2EE</a></p>
-
-<h3 id="RunBroker-Runningthebrokerfromthesourcecode">Running the broker from the source code</h3>
-
-<p>From the latest <a shape="rect" href="source.html">checkout</a> of the code you can run a broker using the <a shape="rect" href="activemq-performance-module-users-manual.html">ActiveMQ Performance Plugin</a></p>
-
-<h3 id="RunBroker-Runningthebrokerfrommaven">Running the broker from maven</h3>
-
-<p>You can download and install the ActiveMQ Startup Maven Plugin via the following command if you are in a directory with a pom.xml. More detailed usage <a shape="rect" href="maven2-activemq-broker-plugin.html">here</a></p>
-<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[
-mvn org.apache.activemq.tooling:maven-activemq-plugin:5.0-SNAPSHOT:run
+<p>Or you can use the <a shape="rect" href="jmx.html">JMX</a> support to view the running state of ActiveMQ.</p><p>For more information see the file <code>docs/WebConsole-README.txt</code> in the distribution.</p><h3 id="RunBroker-RunningthebrokerinsideaServletEngine">Running the broker inside a Servlet Engine</h3><p>See the source code (or WAR) of the <a shape="rect" href="web-console.html">Web Console</a> for an example of how to run the broker inside a web application using Spring.</p><h3 id="RunBroker-RunningthebrokerinsideyourJ2EE1.4ApplicationServer">Running the broker inside your J2EE 1.4 Application Server</h3><p>Whether its Apache Geronmio, JBoss 4, WebLogic 9 or some other J2EE 1.4 container you should be able to just reconfigure and then deploy the activemq-*.rar which is included in the binary distribution as a deployment unit in your app server. By default the rar is not configured to start an embedded broker. But by setting the brokerXmlConfig on the resource adapter c
 onfiguration, the resource adapter will start an embedded broker.</p><p>For more details see <a shape="rect" href="j2ee.html">J2EE</a></p><h3 id="RunBroker-Runningthebrokerfromthesourcecode">Running the broker from the source code</h3><p>From the latest <a shape="rect" href="source.html">checkout</a> of the code you can run a broker using the <a shape="rect" href="activemq-performance-module-users-manual.html">ActiveMQ Performance Plugin</a></p><h3 id="RunBroker-Runningthebrokerfrommaven">Running the broker from maven</h3><p>You can download and install the ActiveMQ Startup Maven Plugin via the following command if you are in a directory with a pom.xml. More detailed usage <a shape="rect" href="maven2-activemq-broker-plugin.html">here</a></p><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[mvn org.apache.activemq.tooling:maven-activemq-plugin:5.0-SNAPSHOT:run
 ]]></script>
-</div></div>
-<p>You can also include it the pom and run it using:</p>
-<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[
-mvn activemq:run
+</div></div><p>You can also include it the pom and run it using:</p><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[mvn activemq:run
 ]]></script>
-</div></div>
-
-<h2 id="RunBroker-HandlingJMSbrokersgoingdown">Handling JMS brokers going down</h2>
-
-<p>A common requirement is that if the JMS broker goes down you want to automatically detect the failure and try to reconnect under the covers so that your application does not have to worry about reconnection.</p>
-
-<p>There is detailed documentation on this in <a shape="rect" href="configuring-transports.html">Configuring Transports</a>; briefly...</p>
-
-<p>Just change your connection URI in 4.x to</p>
-<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[
-failover:tcp://host:port
+</div></div><h2 id="RunBroker-HandlingJMSbrokersgoingdown">Handling JMS brokers going down</h2><p>A common requirement is that if the JMS broker goes down you want to automatically detect the failure and try to reconnect under the covers so that your application does not have to worry about reconnection.</p><p>There is detailed documentation on this in <a shape="rect" href="configuring-transports.html">Configuring Transports</a>; briefly...</p><p>Just change your connection URI in 4.x to</p><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[failover:tcp://host:port
 ]]></script>
-</div></div>
-<p>And the JMS client will auto-reconnect to the broker if it is shutdown and restarted later on.</p></div>
+</div></div><p>And the JMS client will auto-reconnect to the broker if it is shutdown and restarted later on.</p></div>
         </td>
         <td valign="top">
           <div class="navigation">

Modified: websites/production/activemq/content/tools.html
==============================================================================
--- websites/production/activemq/content/tools.html (original)
+++ websites/production/activemq/content/tools.html Sun May 10 19:21:35 2015
@@ -72,7 +72,7 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><ul class="childpages-macro"><li><a shape="rect" href="hermes-jms.html">Hermes Jms</a></li><li><a shape="rect" href="hermes-screenshot.html">Hermes Screenshot</a></li><li><a shape="rect" href="java-service-wrapper.html">Java Service Wrapper</a></li><li><a shape="rect" href="maven2-activemq-broker-plugin.html">Maven2 ActiveMQ Broker Plugin</a></li><li><a shape="rect" href="web-console.html">Web Console</a><ul class="childpages-macro"><li><a shape="rect" href="running-a-broker.html">Running a broker</a></li></ul></li></ul> </div>
+<div class="wiki-content maincontent"><ul class="childpages-macro"><li><a shape="rect" href="hermes-jms.html">Hermes Jms</a></li><li><a shape="rect" href="hermes-screenshot.html">Hermes Screenshot</a></li><li><a shape="rect" href="java-service-wrapper.html">Java Service Wrapper</a></li><li><a shape="rect" href="maven2-activemq-broker-plugin.html">Maven2 ActiveMQ Broker Plugin</a></li><li><a shape="rect" href="web-console.html">Web Console</a></li></ul> </div>
         </td>
         <td valign="top">
           <div class="navigation">

Modified: websites/production/activemq/content/unix-service.html
==============================================================================
--- websites/production/activemq/content/unix-service.html (original)
+++ websites/production/activemq/content/unix-service.html Sun May 10 19:21:35 2015
@@ -32,15 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- Unix Service
@@ -81,157 +72,7 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="UnixService-CreatingaUnixServiceforActiveMQ">Creating a Unix Service for ActiveMQ</h2>
-
-<p>Below are steps to make ActiveMQ a Linux Daemon on Red Hat 4 ES.</p>
-
-<p>It's based on <a shape="rect" class="external-link" href="http://www-128.ibm.com/developerworks/java/library/l-secjav.html" rel="nofollow">this article</a>.</p>
-
-<p>Alternatively, you could also use the Java Service Wrapper implementation, refer to the <a shape="rect" href="java-service-wrapper.html">Java Service Wrapper Page</a> for more details.</p>
-
-<h3 id="UnixService-Settings">Settings</h3>
-
-<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[
-JAVA_HOME = /opt/java/jdk1.5.0_06
-ActiveMQ = /opt/activemq/incubator-activemq-4.0
-]]></script>
-</div></div>
-
-<h3 id="UnixService-Installation">Installation</h3>
-
-<p>Sun Java JDK</p>
-
-<p>1. Install Sun Java JDK on /opt/java/ directory.</p>
-
-<p>2. Create a shortcut to JDK directory:</p>
-<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[
-sudo ln -s /opt/java/jdk1.5.0_06 /opt/java/java
-]]></script>
-</div></div>
-<p>ActiveMQ</p>
-
-<p>1. Install ActiveMQ on /opt/activemq/ directory.</p>
-
-<p>2. Make ActiveMQ startup and shutdown scripts executable:</p>
-<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[
-sudo chmod +x /opt/activemq/incubator-activemq-4.0/bin/activemq
-sudo chmod +x /opt/activemq/incubator-activemq-4.0/bin/shutdown
-]]></script>
-</div></div>
-<p>ActiveMQ as Linux Daemon</p>
-
-<p>1. Create activemq user:</p>
-<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[
-sudo /usr/sbin/useradd activemq
-]]></script>
-</div></div>
-<p>2. Create ActiveMQ startup script /home/activemq/activemqstart.sh with the<br clear="none">
-following content:</p>
-<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/bash
-export JDK_HOME=/opt/java/java
-export JAVA_HOME=/opt/java/java
-/opt/activemq/incubator-activemq-4.0/bin/activemq &amp;
-]]></script>
-</div></div>
-<p>3. Make /home/activemq/activemqstart.sh executable:</p>
-<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[
-sudo chmod +x /home/activemq/activemqstart.sh
-]]></script>
-</div></div>
-<p>4. Create ActiveMQ shutdown script /home/activemq/activemqstop.sh with the<br clear="none">
-following content:</p>
-<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/bash
-export JDK_HOME=/opt/java/java
-export JAVA_HOME=/opt/java/java
-/opt/activemq/incubator-activemq-4.0/bin/shutdown
-]]></script>
-</div></div>
-<p>5. Make /home/activemq/activemqstop.sh executable:</p>
-<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[
-sudo chmod +x /home/activemq/activemqstop.sh
-]]></script>
-</div></div>
-<p>6. Create ActiveMQ Linux service configuration script /etc/init.d/activemq<br clear="none">
-with the following content:</p>
-<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/bash
-#
-# activemq       Starts ActiveMQ.
-#
-#
-# chkconfig: 345 88 12
-# description: ActiveMQ is a JMS Messaging Queue Server.
-### BEGIN INIT INFO
-# Provides: $activemq
-### END INIT INFO
-
-# Source function library.
-. /etc/init.d/functions
-
-[ -f /home/activemq/activemqstart.sh ] || exit 0
-[ -f /home/activemq/activemqstop.sh ] || exit 0
-
-RETVAL=0
-
-umask 077
-
-start() {
-       echo -n $&quot;Starting ActiveMQ: &quot;
-       daemon /home/activemq/activemqstart.sh
-       echo
-       return $RETVAL
-}
-stop() {
-       echo -n $&quot;Shutting down ActiveMQ: &quot;
-       daemon su -c /home/activemq/activemqstop.sh activemq
-       echo
-       return $RETVAL
-}
-restart() {
-       stop
-       start
-}
-case &quot;$1&quot; in
- start)
-       start
-       ;;
- stop)
-       stop
-       ;;
- restart|reload)
-       restart
-       ;;
- *)
-       echo $&quot;Usage: $0 {start|stop|restart}&quot;
-       exit 1
-esac
-
-exit $?
-]]></script>
-</div></div>
-<p>7. Enable ActiveMQ service configuration as Linux Daemon:</p>
-<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[
-sudo chmod +x /etc/init.d/activemq
-sudo /sbin/chkconfig --add activemq
-sudo /sbin/chkconfig activemq on
-]]></script>
-</div></div>
-<p>8. Restart the server.</p>
-
-<p>Note:  activemq-data is being created in "/" root directory.  I have to<br clear="none">
-explicitly set the activemq-data location in activemq.conf</p></div>
+<div class="wiki-content maincontent"><p>This page contained a very basic procedure to create a unix service for activemq.</p><p>Due to the fact that ActiveMQ contains a very functional init script - this is not needed anymore.</p><p>&#160;</p><p><strong>Review the documentation of the init script: <a shape="rect" href="unix-shell-script.html">Unix Shell Script</a></strong></p></div>
         </td>
         <td valign="top">
           <div class="navigation">

Added: websites/production/activemq/content/using-activemq-4.html
==============================================================================
--- websites/production/activemq/content/using-activemq-4.html (added)
+++ websites/production/activemq/content/using-activemq-4.html Sun May 10 19:21:35 2015
@@ -0,0 +1,138 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<html>
+<head>
+    <link href="http://activemq.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+    <link href="http://activemq.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/>
+    <script src="http://activemq.apache.org/styles/prototype.js" type="text/javascript"></script>
+    <script src="http://activemq.apache.org/styles/rico.js" type="text/javascript"></script>    
+    <script src="http://activemq.apache.org/styles/site.js" type="text/javascript"></script>
+    <style type="text/css">
+      .maincontent { overflow:hidden; }
+    </style>
+    <!--[if IE]>
+    <style type="text/css">
+      .maincontent { width:100%; }
+    </style>
+    <![endif]-->
+
+    
+    <title>
+    Apache ActiveMQ &#8482; -- Using ActiveMQ 4
+    </title>
+</head>
+<body>
+<div class="white_box">
+<div class="header">
+  <div class="header_l">
+    <div class="header_r">
+    </div>
+  </div>
+</div>
+<div class="content">
+  <div class="content_l">
+    <div class="content_r">
+      <div>
+
+<!-- Banner -->
+<p>
+	</p><div id="asf_logo">
+	<div id="activemq_logo">
+            <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
+            <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
+	</div>
+        </div>
+<p></p>
+        <div class="top_red_bar">
+          <div id="site-breadcrumbs">
+<a href="using-activemq-4.html">Using ActiveMQ 4</a>
+          </div>
+          <div id="site-quicklinks">
+<p><a shape="rect" href="download.html">Download</a> | <a shape="rect" class="external-link" href="http://activemq.apache.org/maven/5.11.0/apidocs/index.html">JavaDocs</a> <a shape="rect" href="javadocs.html">More...</a> | <a shape="rect" href="source.html">Source</a> | <a shape="rect" href="discussion-forums.html">Forums</a> | <a shape="rect" href="support.html">Support</a></p>
+          </div>
+        </div>
+
+  <table border="0">
+  <tbody>
+        <tr>
+        <td valign="top" width="100%">
+<div class="wiki-content maincontent"><h2 id="UsingActiveMQ4-UsingApacheActiveMQ4">Using Apache ActiveMQ 4</h2><p>To help you get started using Apache ActiveMQ you may wish to start off with the <a shape="rect" href="getting-started.html">Getting Started</a> guide or the <a shape="rect" href="configuring-transports.html">Configuring Transports</a>. Otherwise here is a complete list of the guides.</p><p></p><ul class="childpages-macro"><li><a shape="rect" href="configuring-brokers.html">Configuring Brokers</a></li><li><a shape="rect" href="configuring-transports.html">Configuring Transports</a><ul class="childpages-macro"><li><a shape="rect" href="activemq-4-connection-uris.html">ActiveMQ 4 Connection URIs</a><ul class="childpages-macro"><li><a shape="rect" href="broker-configuration-uri.html">Broker Configuration URI</a><ul class="childpages-macro"><li><a shape="rect" href="broker-properties-uri.html">Broker Properties URI</a></li><li><a shape="rect" href="broker-uri.html">Broker UR
 I</a></li><li><a shape="rect" href="broker-xbean-uri.html">Broker XBean URI</a></li></ul></li><li><a shape="rect" href="configuring-wire-formats.html">Configuring Wire Formats</a></li><li><a shape="rect" href="connection-configuration-uri.html">Connection Configuration URI</a></li><li><a shape="rect" href="discovery-transport-reference.html">Discovery Transport Reference</a></li><li><a shape="rect" href="failover-transport-reference.html">Failover Transport Reference</a></li><li><a shape="rect" href="fanout-transport-reference.html">Fanout Transport Reference</a></li><li><a shape="rect" href="http-and-https-transports-reference.html">HTTP and HTTPs Transports Reference</a></li><li><a shape="rect" href="multicast-transport-reference.html">Multicast Transport Reference</a></li><li><a shape="rect" href="peer-transport-reference.html">Peer Transport Reference</a></li><li><a shape="rect" href="ssl-transport-reference.html">SSL Transport Reference</a></li><li><a shape="rect" href="static-
 transport-reference.html">Static Transport Reference</a></li><li><a shape="rect" href="tcp-transport-reference.html">TCP Transport Reference</a></li><li><a shape="rect" href="udp-transport-reference.html">UDP Transport Reference</a></li><li><a shape="rect" href="vm-transport-reference.html">VM Transport Reference</a></li></ul></li><li><a shape="rect" href="activemq-inactivitymonitor.html">ActiveMQ InactivityMonitor</a></li><li><a shape="rect" href="zeroconf-transport-reference.html">ZeroConf Transport Reference</a><ul class="childpages-macro"><li><a shape="rect" href="zeroconf.html">ZeroConf</a></li></ul></li></ul></li><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a><ul class="childpages-macro"><li><a shape="rect" href="monitoring-activemq.html">Monitoring ActiveMQ</a></li></ul></li><li><a shape="rect" href="hello-world.html">Hello World</a></li><li><a shape="rect" href="initial-configuration.html">Initial 
 Configuration</a></li><li><a shape="rect" href="installation.html">Installation</a></li><li><a shape="rect" href="known-bad-os-and-jvm-combinations.html">Known Bad OS and JVM Combinations</a></li><li><a shape="rect" href="performance-tuning.html">Performance Tuning</a></li><li><a shape="rect" href="run-broker.html">Run Broker</a></li><li><a shape="rect" href="topologies.html">Topologies</a></li><li><a shape="rect" href="use-cases.html">Use Cases</a></li><li><a shape="rect" href="user-submitted-configurations.html">User Submitted Configurations</a><ul class="childpages-macro"><li><a shape="rect" href="complex-single-broker-configuration-stomp-only.html">Complex Single Broker Configuration (STOMP only)</a></li><li><a shape="rect" href="jms-and-jdbc-operations-in-one-transaction.html">JMS and JDBC operations in one transaction</a></li><li><a shape="rect" href="jms-bridge-with-local-broker.html">JMS Bridge With Local Broker</a></li><li><a shape="rect" href="jms-bridge-with-oracle-aq.htm
 l">JMS Bridge With Oracle AQ</a></li><li><a shape="rect" href="jms-bridge-with-remote-broker.html">JMS Bridge With Remote Broker</a></li><li><a shape="rect" href="jms-bridge-with-remote-tibco-broker.html">JMS Bridge With Remote TIBCO Broker</a></li><li><a shape="rect" href="sample-camel-routes.html">Sample Camel Routes</a></li></ul></li><li><a shape="rect" href="web-samples.html">Web Samples</a></li><li><a shape="rect" href="xml-configuration.html">Xml Configuration</a></li><li><a shape="rect" href="xml-reference.html">Xml Reference</a><ul class="childpages-macro"><li><a shape="rect" href="xbean-xml-reference-41.html">XBean XML Reference 4.1</a></li><li><a shape="rect" href="xbean-xml-reference-50.html">XBean XML Reference 5.0</a></li></ul></li></ul></div>
+        </td>
+        <td valign="top">
+          <div class="navigation">
+            <div class="navigation_top">
+              <div class="navigation_bottom">
+<h3 id="Navigation-Overview"><a shape="rect" href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" href="index.html">Index</a></li><li><a shape="rect" href="news.html">News</a></li><li><a shape="rect" href="new-features.html">New Features</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li><li><a shape="rect" href="faq.html">FAQ</a></li><li><a shape="rect" href="articles.html">Articles</a></li><li><a shape="rect" href="books.html">Books</a></li><li><a shape="rect" href="download.html">Download</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/licenses/">License</a></li></ul><h3 id="Navigation-Search">Search</h3><div>
+<form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
+<input type="hidden" name="ie" value="UTF-8">
+<input type="hidden" name="oe" value="UTF-8">
+  <input maxlength="255" type="text" name="q" size="15" value="value"><br clear="none">
+  <input type="submit" name="btnG" value="Search">
+  <input type="hidden" name="domains" value="activemq.apache.org">
+  <input type="hidden" name="sitesearch" value="activemq.apache.org">
+</form>
+</div>
+<h3 id="Navigation-SubProjects">Sub Projects</h3><ul class="alternate"><li><a shape="rect" class="external-link" href="http://activemq.apache.org/apollo" title="ActiveMQ Apollo">Apollo</a></li><li><a shape="rect" class="external-link" href="http://activemq.apache.org/cms/">CMS</a></li><li><a shape="rect" class="external-link" href="http://activemq.apache.org/nms/" title="NMS is the .Net Messaging API">NMS</a></li></ul><h3 id="Navigation-Community"><a shape="rect" href="community.html">Community</a></h3><ul class="alternate"><li><a shape="rect" href="support.html">Support</a></li><li><a shape="rect" href="contributing.html">Contributing</a></li><li><a shape="rect" href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" href="irc.html">IRC</a></li><li><a shape="rect" class="external-link" href="http://javabot.evanchooly.com/logs/%23apache-activemq/today" rel="nofollow">IRC Log</a></li><li><a shape=
 "rect" href="site.html">Site</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li><li><a shape="rect" href="projects-using-activemq.html">Projects Using ActiveMQ</a></li><li><a shape="rect" href="users.html">Users</a></li><li><a shape="rect" href="team.html">Team</a></li><li><a shape="rect" href="thanks.html">Thanks</a></li></ul><h3 id="Navigation-Features"><a shape="rect" href="features.html">Features</a></h3><ul class="alternate"><li><a shape="rect" href="advisory-message.html">Advisory Message</a></li><li><a shape="rect" href="clustering.html">Clustering</a></li><li><a shape="rect" href="cross-language-clients.html">Cross Language Clients</a></li><li><a shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a></li><li><a shape="rect" href="jmx.html">JMX</a></li><li><a shape="rect" href="jms-to-jms-bridge.html">JMS to JMS Bridge</a></li><li><a shape="rect" href="masterslave
 .html">MasterSlave</a></li><li><a shape="rect" href="message-groups.html">Message Groups</a></li><li><a shape="rect" href="networks-of-brokers.html">Networks of Brokers</a></li><li><a shape="rect" href="performance.html">Performance</a></li><li><a shape="rect" href="persistence.html">Persistence</a></li><li><a shape="rect" href="security.html">Security</a></li><li><a shape="rect" href="virtual-destinations.html">Virtual Destinations</a></li><li><a shape="rect" href="visualisation.html">Visualisation</a></li><li><a shape="rect" href="features.html">More ...</a></li></ul><h3 id="Navigation-Connectivity"><a shape="rect" href="connectivity.html">Connectivity</a></h3><ul class="alternate"><li><a shape="rect" href="ajax.html">Ajax</a></li><li><a shape="rect" href="amqp.html">AMQP</a></li><li><a shape="rect" href="axis-and-cxf-support.html">Axis and CXF Support</a></li><li><a shape="rect" href="c-integration.html">C Integration</a></li><li><a shape="rect" href="activemq-c-clients.html">C++
 </a></li><li><a shape="rect" class="external-link" href="http://activemq.apache.org/nms/">C# and .Net Integration</a></li><li><a shape="rect" class="external-link" href="http://activemq.apache.org/cms/">CMS</a></li><li><a shape="rect" href="j2ee.html">J2EE</a></li><li><a shape="rect" href="jboss-integration.html">JBoss Integration</a></li><li><a shape="rect" class="external-link" href="http://docs.codehaus.org/display/JETTY/Integrating+with+ActiveMQ" rel="nofollow">Jetty</a></li><li><a shape="rect" href="jndi-support.html">JNDI Support</a></li><li><a shape="rect" class="external-link" href="http://activemq.apache.org/nms/" title="NMS is the .Net Messaging API">NMS</a></li><li><a shape="rect" href="rest.html">REST</a></li><li><a shape="rect" href="rss-and-atom.html">RSS and Atom</a></li><li><a shape="rect" href="spring-support.html">Spring Support</a></li><li><a shape="rect" href="stomp.html">Stomp</a></li><li><a shape="rect" href="tomcat.html">Tomcat</a></li><li><a shape="rect" href
 ="unix-service.html">Unix Service</a></li><li><a shape="rect" href="weblogic-integration.html">WebLogic Integration</a></li><li><a shape="rect" href="xmpp.html">XMPP</a></li><li><a shape="rect" href="connectivity.html">More ...</a></li></ul><h3 id="Navigation-UsingActiveMQ5"><a shape="rect" href="using-activemq-5.html">Using ActiveMQ 5</a></h3><ul class="alternate"><li><a shape="rect" href="version-5-getting-started.html">Getting Started</a></li><li><a shape="rect" href="version-5-initial-configuration.html">Initial Configuration</a></li><li><a shape="rect" href="version-5-run-broker.html">Running a Broker</a></li><li><a shape="rect" href="how-do-i-embed-a-broker-inside-a-connection.html">Embedded Brokers</a></li><li><a shape="rect" href="activemq-command-line-tools-reference.html">Command Line Tools</a></li><li><a shape="rect" href="configuring-version-5-transports.html">Configuring Transports</a></li><li><a shape="rect" href="version-5-examples.html">Examples</a></li><li><a shape=
 "rect" href="version-5-web-samples.html">Web Samples</a></li><li><a shape="rect" href="how-can-i-monitor-activemq.html">Monitoring the Broker</a></li><li><a shape="rect" href="version-5-xml-configuration.html">Xml Configuration</a></li><li><a shape="rect" href="xml-reference.html">Xml Reference</a></li><li><a shape="rect" href="using-activemq-5.html">More ...</a></li></ul><h3 id="Navigation-Tools"><a shape="rect" href="tools.html">Tools</a></h3><ul class="alternate"><li><a shape="rect" href="web-console.html">Web Console</a></li><li><a shape="rect" href="activemq-performance-module-users-manual.html">Maven2 Performance Plugin</a></li></ul><h3 id="Navigation-Support"><a shape="rect" href="support.html">Support</a></h3><ul class="alternate"><li><a shape="rect" class="external-link" href="http://issues.apache.org/jira/browse/AMQ">Issues</a></li><li><a shape="rect" class="external-link" href="http://issues.apache.org/activemq/browse/AMQ?report=com.atlassian.jira.plugin.system.project:ro
 admap-panel">Roadmap</a></li><li><a shape="rect" class="external-link" href="http://issues.apache.org/activemq/browse/AMQ?report=com.atlassian.jira.plugin.system.project:changelog-panel">Change log</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" href="developers.html">Developers</a></h3><ul class="alternate"><li><a shape="rect" href="source.html">Source</a></li><li><a shape="rect" href="building.html">Building</a></li><li><a shape="rect" href="developer-guide.html">Developer Guide</a></li><li><a shape="rect" href="becoming-a-committer.html">Becoming a committer</a></li><li><a shape="rect" href="code-overview.html">Code Overview</a></li><li><a shape="rect" href="wire-protocol.html">Wire Protocol</a></li><li><a shape="rect" href="release-guide.html">Release Guide</a></li></ul><h3 id="Navigation-Tests">Tests</h3><ul class="alternate"><li><a shape="rect" href="activemq-performance-module-users-manual.html">Maven2 Performance Plugin</a></li><li><a shape="rect" href="benchmark
 -tests.html">Benchmark Tests</a></li><li><a shape="rect" href="jmeter-system-tests.html">JMeter System Tests</a></li><li><a shape="rect" href="jmeter-performance-tests.html">JMeter Performance Tests</a></li><li><a shape="rect" href="integration-tests.html">Integration Tests</a></li></ul><h3 id="Navigation-ProjectReports">Project Reports</h3><ul class="alternate"><li><a shape="rect" href="junit-reports.html">JUnit Reports</a></li><li><a shape="rect" href="source-xref.html">Source XRef</a></li><li><a shape="rect" href="test-source-xref.html">Test Source XRef</a></li><li><a shape="rect" href="xml-reference.html">Xml Reference</a><br clear="none"><br clear="none"><br clear="none"></li></ul>
+              </div>
+            </div>
+          </div>
+        </td>
+        </tr>
+  </tbody>
+        </table>
+        <div class="bottom_red_bar"></div>
+      </div>
+    </div>
+  </div>
+</div>
+<div class="black_box">
+<div class="footer">
+  <div class="footer_l">
+    <div class="footer_r">
+      <div>
+        <a href="http://activemq.apache.org/privacy-policy.html">Privacy Policy</a> -
+        (<a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=36095">edit this page</a>)
+      </div>
+    </div>
+  </div>
+</div>
+</div>
+</div>
+<div class="design_attribution">
+&copy; 2004-2011 The Apache Software Foundation.
+<br/>          
+Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation.  All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+<br/>
+<a href="http://hiramchirino.com">Graphic Design By Hiram</a>
+</div>
+
+<!-- delay the loading of large javascript files to the end so that they don't interfere with the loading of page content -->
+<span style="display: none">
+  <script type="text/javascript">
+    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type="text/javascript">
+    var pageTracker = _gat._getTracker("UA-1347593-1");
+    pageTracker._initData();
+    pageTracker._trackPageview();
+  </script>
+</span>
+</body>
+</html>

Modified: websites/production/activemq/content/version-5-run-broker.html
==============================================================================
--- websites/production/activemq/content/version-5-run-broker.html (original)
+++ websites/production/activemq/content/version-5-run-broker.html Sun May 10 19:21:35 2015
@@ -36,6 +36,7 @@
       <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
       <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
               <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
+              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushBash.js' type='text/javascript'></script> 
          
       <script type="text/javascript"> 
         SyntaxHighlighter.defaults['toolbar'] = false; 
@@ -81,119 +82,33 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h1 id="Version5RunBroker-RunninganActiveMQBroker">Running an ActiveMQ Broker</h1>
-
-<p>Note if you want to use an <strong>embedded broker</strong> then see <a shape="rect" href="how-do-i-embed-a-broker-inside-a-connection.html">How do I embed a Broker inside a Connection</a></p>
-
-
-<p>The <a shape="rect" href="download.html">binary distribution</a> of ActiveMQ comes with a script called 'activemq' which allows you to run a broker. Typing the following will run an ActiveMQ Broker using the out of the box configuration</p>
-<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
-]]></script>
-</div></div>
-
-<p>There are a number of different command line options to be able to run a broker. To see them type</p>
-<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 -?
-]]></script>
-</div></div>
-<p>For more details regarding the activemq script file and other script files refer to <a shape="rect" href="activemq-command-line-tools-reference.html">ActiveMQ Command Line Tools Reference</a></p>
-
-<p>You can then use a <a shape="rect" href="broker-configuration-uri.html">Broker Configuration URI</a> to specify how to start and configure your broker using a single URI. For example</p>
-<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 broker:(tcp://localhost:61616,network:static:tcp://remotehost:61616)?persistent=false&amp;useJmx=true
-]]></script>
-</div></div>
-
-<p>Or you can a <a shape="rect" href="broker-xbean-uri.html">Broker XBean URI</a> to customize the Message Broker using the <a shape="rect" href="xml-configuration.html">Xml Configuration</a> to suit your needs. You can run a broker with a specific XML configuration as</p>
-<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 xbean:foo.xml
+<div class="wiki-content maincontent"><h1 id="Version5RunBroker-RunninganActiveMQBroker">Running an ActiveMQ Broker</h1><p>Note if you want to use an <strong>embedded broker</strong> then see <a shape="rect" href="how-do-i-embed-a-broker-inside-a-connection.html">How do I embed a Broker inside a Connection</a></p><p>The <a shape="rect" href="download.html">binary distribution</a> of ActiveMQ comes with a script called 'activemq' which allows you to run a broker. <br clear="none">For details regarding the activemq init script file review&#160; <a shape="rect" href="unix-shell-script.html">Unix Shell Script</a>&#160; and&#160; <a shape="rect" href="activemq-command-line-tools-reference.html">ActiveMQ Command Line Tools Reference</a></p><p>&#160;</p><p>Typing the following will run an ActiveMQ Broker using the out of the box configuration in the foreground</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: bash; gutter: false" type="syntaxhighlighter"><![CDATA[bin/activemq console
 ]]></script>
-</div></div>
-
-<p>Or you can use a <a shape="rect" href="broker-properties-uri.html">Broker Properties URI</a> to customize the Message Broker using a properties file; which avoids the dependency on Spring, xbean-spring and XML.</p>
-
-<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 properties:foo.properties
+</div></div><p>You can then use a <a shape="rect" href="broker-configuration-uri.html">Broker Configuration URI</a> to specify how to start and configure your broker using a single URI. For example</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: bash; gutter: false" type="syntaxhighlighter"><![CDATA[bin/activemq console broker:(tcp://localhost:61616,network:static:tcp://remotehost:61616)?persistent=false&amp;useJmx=true
 ]]></script>
-</div></div>
-
-    <div class="aui-message problem shadowed information-macro">
-                    <p class="title">Unix shell warning</p>
-                            <span class="aui-icon icon-problem">Icon</span>
-                <div class="message-content">
-                            
-<p>If you are running a broker on a remote unix machine via telnet/ssh, when you exit your shell the broker will terminate too. If you want to keep the broker running you may want to use the /etc/init.d type services to run the broker. Or try use <strong>nohup</strong>. e.g.</p>
-
-<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[
-nohup activemq &gt; /dev/null &amp;
+</div></div><p>Or you can a <a shape="rect" href="broker-xbean-uri.html">Broker XBean URI</a> to customize the Message Broker using the <a shape="rect" href="xml-configuration.html">Xml Configuration</a> to suit your needs. You can run a broker with a specific XML configuration as</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: bash; gutter: false" type="syntaxhighlighter"><![CDATA[bin/activemq console xbean:foo.xml
 ]]></script>
-</div></div>
-                    </div>
-    </div>
-
-
-<h3 id="Version5RunBroker-Monitoringthebroker">Monitoring the broker</h3>
-
-You can monitor ActiveMQ using the <a shape="rect" href="web-console.html">Web Console</a> by pointing your browser at<p><a shape="rect" class="external-link" href="http://localhost:8161/admin" rel="nofollow">http://localhost:8161/admin</a></p>    <div class="aui-message hint shadowed information-macro">
+</div></div><p>Or you can use a <a shape="rect" href="broker-properties-uri.html">Broker Properties URI</a> to customize the Message Broker using a properties file; which avoids the dependency on Spring, xbean-spring and XML.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: bash; gutter: false" type="syntaxhighlighter"><![CDATA[bin/activemq console properties:foo.properties]]></script>
+</div></div><h3 id="Version5RunBroker-Monitoringthebroker">Monitoring the broker</h3><p>You can monitor ActiveMQ using the <a shape="rect" href="web-console.html">Web Console</a> by pointing your browser at</p><p><a shape="rect" class="external-link" href="http://localhost:8161/admin" rel="nofollow">http://localhost:8161/admin</a></p>    <div class="aui-message hint shadowed information-macro">
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">
                             <p>From ActiveMQ 5.8 onwards the web apps is secured out of the box.<br clear="none"> The default username and password is admin/admin. You can configure this in the conf/jetty-real.properties file.</p>
                     </div>
     </div>
-<p>Or you can use the <a shape="rect" href="jmx.html">JMX</a> support to view the running state of ActiveMQ.</p><p>For more information see the file <code>docs/WebConsole-README.txt</code> in the distribution.</p>
-
-<h3 id="Version5RunBroker-RunningthebrokerinsideaServletEngine">Running the broker inside a Servlet Engine</h3>
-
-<p>See the source code (or WAR) of the <a shape="rect" href="web-console.html">Web Console</a> for an example of how to run the broker inside a web application using Spring.</p>
-
-<h3 id="Version5RunBroker-RunningthebrokerinsideyourJ2EE1.4ApplicationServer">Running the broker inside your J2EE 1.4 Application Server</h3>
-
-<p>Whether its Apache Geronmio, JBoss 4, WebLogic 9 or some other J2EE 1.4 container you should be able to just reconfigure and then deploy the activemq-*.rar which is included in the binary distribution as a deployment unit in your app server.  By default the rar is not configured to start an embedded broker.  But by setting the brokerXmlConfig on the resource adapter configuration, the resource adapter will start an embedded broker.</p>
-
-<p>For more details see <a shape="rect" href="j2ee.html">J2EE</a></p>
-
-<h3 id="Version5RunBroker-Runningthebrokerfromthesourcecode">Running the broker from the source code</h3>
-
-<p>From the latest <a shape="rect" href="source.html">checkout</a> of the code you can run a broker using the <a shape="rect" href="activemq-performance-module-users-manual.html">ActiveMQ Performance Plugin</a></p>
-
-<h3 id="Version5RunBroker-Runningthebrokerfrommaven">Running the broker from maven</h3>
-
-<p>You can download and install the ActiveMQ Startup Maven Plugin via the following command if you are in a directory with a pom.xml. More detailed usage <a shape="rect" href="maven2-activemq-broker-plugin.html">here</a></p>
-
-<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[
-mvn org.apache.activemq.tooling:maven-activemq-plugin:5.0-SNAPSHOT:run    
+<p>Or you can use the <a shape="rect" href="jmx.html">JMX</a> support to view the running state of ActiveMQ.</p><p>For more information see the file <code>docs/WebConsole-README.txt</code> in the distribution.</p><h3 id="Version5RunBroker-RunningthebrokerinsideaServletEngine">Running the broker inside a Servlet Engine</h3><p>See the source code (or WAR) of the <a shape="rect" href="web-console.html">Web Console</a> for an example of how to run the broker inside a web application using Spring.</p><h3 id="Version5RunBroker-RunningthebrokerinsideyourJ2EEApplicationServer">Running the broker inside your J2EE Application Server</h3><p>Whether its Apache Geronmio, JBoss, WebLogic or some other J2EE container you should be able to just reconfigure and then deploy the activemq-*.rar which is included in the binary distribution as a deployment unit in your app server. By default the rar is not configured to start an embedded broker. But by setting the brokerXmlConfig on the resource adapter 
 configuration, the resource adapter will start an embedded broker.</p><p>For more details see <a shape="rect" href="j2ee.html">J2EE</a></p><h3 id="Version5RunBroker-Runningthebrokerfromthesourcecode">Running the broker from the source code</h3><p>From the latest <a shape="rect" href="source.html">checkout</a> of the code you can run a broker using the <a shape="rect" href="activemq-performance-module-users-manual.html">ActiveMQ Performance Plugin</a></p><h3 id="Version5RunBroker-Runningthebrokerfrommaven">Running the broker from maven</h3><p>You can download and install the ActiveMQ Startup Maven Plugin via the following command if you are in a directory with a pom.xml. More detailed usage <a shape="rect" href="maven2-activemq-broker-plugin.html">here</a></p><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[mvn org.apache.activemq.tooling:maven-activemq-plugin:5.0-SNAPSHOT:run    
 ]]></script>
-</div></div>
-
-<p>You can also include it the pom and run it using:</p>
-
-<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[
-mvn activemq:run          
+</div></div><p>You can also include it the pom and run it using:</p><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[mvn activemq:run          
 ]]></script>
-</div></div>
-
-<h2 id="Version5RunBroker-HandlingJMSbrokersgoingdown">Handling JMS brokers going down</h2>
-
-<p>A common requirement is that if the JMS broker goes down you want to automatically detect the failure and try to reconnect under the covers so that your application does not have to worry about reconnection.</p>
-
-<p>There is detailed documentation on this in <a shape="rect" href="configuring-version-5-transports.html">Configuring version 5 Transports</a>; briefly...</p>
-
-<p>Just change your connection URI i to</p>
-<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[
-failover:tcp://host:port
+</div></div><h2 id="Version5RunBroker-HandlingJMSbrokersgoingdown">Handling JMS brokers going down</h2><p>A common requirement is that if the JMS broker goes down you want to automatically detect the failure and try to reconnect under the covers so that your application does not have to worry about reconnection.</p><p>There is detailed documentation on this in <a shape="rect" href="configuring-version-5-transports.html">Configuring Version 5 Transports</a>; briefly...</p><p>Just change your connection URI i to</p><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[failover:tcp://host:port
 ]]></script>
-</div></div>
-<p>And the JMS client will auto-reconnect to the broker if it is shutdown and restarted later on.</p></div>
+</div></div><p>And the JMS client will auto-reconnect to the broker if it is shutdown and restarted later on.</p></div>
         </td>
         <td valign="top">
           <div class="navigation">