Author: buildbot
Date: Fri Feb 6 12:21:40 2015
New Revision: 939207
Log:
Production update by buildbot for activemq
Modified:
websites/production/activemq/content/building.html
websites/production/activemq/content/cache/main.pageCache
websites/production/activemq/content/getting-started.html
Modified: websites/production/activemq/content/building.html
==============================================================================
--- websites/production/activemq/content/building.html (original)
+++ websites/production/activemq/content/building.html Fri Feb 6 12:21:40 2015
@@ -81,106 +81,38 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2
id="Building-BuildingActiveMQfromSource">Building ActiveMQ from Source</h2>
-
-<p>ActiveMQ uses <a shape="rect" class="external-link"
href="http://maven.apache.org/">Maven</a> as its build and management tool. If
you don't fancy using Maven you can use your IDE directly or <a shape="rect"
href="download.html">Download</a> a distribution or JAR.</p>
-
-<h3 id="Building-Prequisites">Prequisites</h3>
-
-<p><strong>Required:</strong></p>
-<ul><li>Download and <a shape="rect" class="external-link"
href="http://maven.apache.org/download.html">install Maven</a>.<br clear="none">
-(Maven 2.0.9 or better is required).</li><li>Get the latest <a shape="rect"
href="source.html">Source</a></li><li>JDK 1.4.x or greater for deployment and
1.5.x (Java 5) for compiling/building.</li></ul>
-
-
-<h2 id="Building-UsingMaven2(ActiveMQ4.1.xandUp)">Using Maven 2 (ActiveMQ
4.1.x and Up)</h2>
-
-<p>ActiveMQ 4.1.x and up use Maven 2 to Build. We recommend you download and
install <a shape="rect" class="external-link"
href="http://maven.apache.org/download.html">Maven 2.0.4</a>. </p>
-
- <div class="aui-message warning shadowed information-macro">
+<div class="wiki-content maincontent"><h2
id="Building-BuildingActiveMQfromSource">Building ActiveMQ from
Source</h2><p>ActiveMQ uses <a shape="rect" class="external-link"
href="http://maven.apache.org/">Maven</a> as its build and management tool. If
you don't fancy using Maven you can use your IDE directly or <a shape="rect"
href="download.html">Download</a> a distribution or JAR.</p><h3
id="Building-Prequisites">Prequisites</h3><p><strong>Required:</strong></p><ul><li>Download
and <a shape="rect" class="external-link"
href="http://maven.apache.org/download.html">install Maven</a>.</li><li>Get the
latest <a shape="rect" href="source.html">Source</a></li><li>JDK (1.6 for
version <= 5.10, 1.7 for version > 5.10)</li></ul><h2
id="Building-UsingMaven2(ActiveMQ4.1.xandUp)">Using Maven 2 (ActiveMQ 4.1.x and
Up)</h2><p>ActiveMQ 4.1.x and up use Maven 2 to Build. We recommend you
download and install <a shape="rect" class="external-link"
href="http://maven.apache.org/download.html">M
aven 2.0.4</a>.</p> <div class="aui-message warning shadowed
information-macro">
<span class="aui-icon icon-warning">Icon</span>
<div class="message-content">
-
-<p>You should set the MAVEN_OPTS environment variable to -Xmx800m. There are
portions of the ActiveMQ build that are very memory intensive. Increase the
maven memory limit so that the build does not fail for you. </p>
+ <p>You should set the MAVEN_OPTS environment
variable to -Xmx800m. There are portions of the ActiveMQ build that are very
memory intensive. Increase the maven memory limit so that the build does not
fail for you.</p>
</div>
</div>
-
-
-<h3 id="Building-DoingaQuickBuild">Doing a Quick Build</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[
-mvn -Dtest=false -DfailIfNoTests=false clean install
-]]></script>
-</div></div>
-
-<h3 id="Building-UsinganIDE">Using an IDE</h3>
-
-<p>If you prefer to use an IDE then you can auto-generate the IDE's project
files using maven plugins. 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[
-mvn eclipse:eclipse
-]]></script>
-</div></div>
-
-<p>or</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 idea:idea
-]]></script>
-</div></div>
-
-
- <div class="aui-message hint shadowed information-macro">
+<h3 id="Building-DoingaQuickBuild">Doing a Quick Build</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[mvn -Dtest=false -DfailIfNoTests=false clean
install
+]]></script>
+</div></div><h3 id="Building-UsinganIDE">Using an IDE</h3><p>If you prefer to
use an IDE then you can auto-generate the IDE's project files using maven
plugins. 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[mvn eclipse:eclipse
+]]></script>
+</div></div><p>or</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 idea:idea
+]]></script>
+</div></div> <div class="aui-message hint shadowed information-macro">
<p class="title">Importing into Eclipse</p>
<span class="aui-icon icon-hint">Icon</span>
<div class="message-content">
-
-<p>If you have not already done so, you will need to make Eclipse aware of the
Maven repository so that it can build everything. In the preferences, go to
Java->Build Path->Classpath and define a new Classpath Variable named
M2_REPO that points to your local Maven repository (i.e.,
<code>~/.m2/repository</code> on Unix and <code>c:\Documents and
Settings\<user>\.m2\repository</code> on Windows). </p>
+ <p>If you have not already done so, you will need
to make Eclipse aware of the Maven repository so that it can build everything.
In the preferences, go to Java->Build Path->Classpath and define a new
Classpath Variable named M2_REPO that points to your local Maven repository
(i.e., <code>~/.m2/repository</code> on Unix and <code>c:\Documents and
Settings\<user>\.m2\repository</code> on Windows).</p>
</div>
</div>
-
-
-<h3 id="Building-OtherMaven2Goals">Other Maven 2 Goals</h3>
-<p>For more details try the <a shape="rect" href="examples.html">Examples</a>
or <a shape="rect" href="benchmark-tests.html">Benchmark Tests</a><br
clear="none">
-Please refer to the <a shape="rect" class="external-link"
href="http://maven.apache.org/plugins/index.html">plugin reference</a> for more
details on using them.</p>
-
-<h2 id="Building-UsingMaven1(ActiveMQ4.0.xandDown)">Using Maven 1 (ActiveMQ
4.0.x and Down)</h2>
-
-<p>ActiveMQ 4.0.x and down use Maven 1 to Build. We recommend you download
and install <a shape="rect" class="external-link"
href="http://maven.apache.org/maven-1.x/start/download.html">Maven 1.0.2</a>.
</p>
-
-
-<h3 id="Building-DoingaQuickBuild.1">Doing a Quick Build</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[
-maven -Dmaven.test.skip.exec=true
-]]></script>
-</div></div>
-
-<h3 id="Building-UsinganIDE.1">Using an IDE</h3>
-
-<p>If you prefer to use an IDE then you can autogenerate the IDE's project
files using maven plugins. 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[
-maven eclipse
-]]></script>
-</div></div>
-
-<p>or</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[
-maven idea
-]]></script>
-</div></div>
-
-<p>etc.</p>
-
-<h3 id="Building-OtherMaven1Goals">Other Maven 1 Goals</h3>
-
-<p>For more details try the <a shape="rect" href="examples.html">Examples</a>
or <a shape="rect" href="benchmark-tests.html">Benchmark Tests</a><br
clear="none">
-Please refer to the <a shape="rect" class="external-link"
href="http://maven.apache.org/maven-1.x/plugins/bundled/">plugin reference</a>
for more details on using them.</p></div>
+<h3 id="Building-OtherMaven2Goals">Other Maven 2 Goals</h3><p>For more details
try the <a shape="rect" href="examples.html">Examples</a> or <a shape="rect"
href="benchmark-tests.html">Benchmark Tests</a><br clear="none"> Please refer
to the <a shape="rect" class="external-link"
href="http://maven.apache.org/plugins/index.html">plugin reference</a> for more
details on using them.</p><h2
id="Building-UsingMaven1(ActiveMQ4.0.xandDown)">Using Maven 1 (ActiveMQ 4.0.x
and Down)</h2><p>ActiveMQ 4.0.x and down use Maven 1 to Build. We recommend you
download and install <a shape="rect" class="external-link"
href="http://maven.apache.org/maven-1.x/start/download.html">Maven
1.0.2</a>.</p><h3 id="Building-DoingaQuickBuild.1">Doing a Quick Build</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[maven -Dmaven.test.skip.exec=true
+]]></script>
+</div></div><h3 id="Building-UsinganIDE.1">Using an IDE</h3><p>If you prefer
to use an IDE then you can autogenerate the IDE's project files using maven
plugins. 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[maven eclipse
+]]></script>
+</div></div><p>or</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[maven idea
+]]></script>
+</div></div><p>etc.</p><h3 id="Building-OtherMaven1Goals">Other Maven 1
Goals</h3><p>For more details try the <a shape="rect"
href="examples.html">Examples</a> or <a shape="rect"
href="benchmark-tests.html">Benchmark Tests</a><br clear="none"> Please refer
to the <a shape="rect" class="external-link"
href="http://maven.apache.org/maven-1.x/plugins/bundled/">plugin reference</a>
for more details on using them.</p></div>
</td>
<td valign="top">
<div class="navigation">
Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/activemq/content/getting-started.html
==============================================================================
--- websites/production/activemq/content/getting-started.html (original)
+++ websites/production/activemq/content/getting-started.html Fri Feb 6
12:21:40 2015
@@ -81,158 +81,48 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2
id="GettingStarted-Introduction">Introduction</h2>
-
-<p>This document describes how to install and configure ActiveMQ 4.x/5.x for
both Unix and Windows' platforms.</p>
-
-<h2 id="GettingStarted-DocumentOrganization">Document Organization</h2>
-
-<p>The Getting Started Guide for ActiveMQ 4.x document contains the following
sections:</p>
-<ul><li><a shape="rect"
href="#GettingStarted-Introduction">#Introduction</a></li><li><a shape="rect"
href="#GettingStarted-DocumentOrganization">#Document
Organization</a></li><li><a shape="rect"
href="#GettingStarted-Pre-InstallationRequirements">#Pre-Installation
Requirements</a></li><li><a shape="rect"
href="#GettingStarted-InstallationProcedureforWindows">#Installation Procedure
for Windows</a>
- <ul><li><a shape="rect"
href="#GettingStarted-WindowsBinaryInstallation">#Windows Binary
Installation</a></li><li><a shape="rect"
href="#GettingStarted-WindowsSourceInstallation">#Windows Source
Installation</a></li><li><a shape="rect"
href="#GettingStarted-WindowsDevelopers&#39;Release">#Windows Developers'
Release</a></li></ul>
- </li><li><a shape="rect"
href="#GettingStarted-InstallationProcedureforUnix">#Installation Procedure for
Unix</a>
- <ul><li><a shape="rect"
href="#GettingStarted-UnixBinaryInstallation">#Unix Binary
Installation</a></li><li><a shape="rect"
href="#GettingStarted-UsingHomebrewinstalleronOSX">#Using Homebrew installer on
OSX</a></li><li><a shape="rect"
href="#GettingStarted-UnixSourceInstallation">#Unix Source
Installation</a></li><li><a shape="rect"
href="#GettingStarted-UnixDevelopers&#39;Release">#Unix Developers'
Release</a></li></ul>
- </li><li><a shape="rect"
href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a></li><li><a
shape="rect" href="#GettingStarted-TestingtheInstallation">#Testing the
Installation</a></li><li><a shape="rect"
href="#GettingStarted-MonitoringActiveMQ">#Monitoring ActiveMQ</a></li><li><a
shape="rect" href="#GettingStarted-StoppingActiveMQ">#Stopping
ActiveMQ</a></li><li><a shape="rect"
href="#GettingStarted-ConfiguringActiveMQ">#Configuring ActiveMQ</a></li></ul>
-
-
-<h2 id="GettingStarted-Pre-InstallationRequirements">Pre-Installation
Requirements</h2>
-
-<p><strong>Hardware:</strong></p>
-<ul><li>33 MB of free disk space for the ActiveMQ 4.x binary
distribution.</li><li>200 MB of free disk space for the ActiveMQ 4.x source or
developer's distributions.</li></ul>
-
-
-<p><strong>Operating Systems:</strong></p>
-<ul><li>Windows: Windows XP SP2, Windows 2000, Windows Vista, Windows
7.</li><li>Unix: Ubuntu Linux, Powerdog Linux, MacOS, AIX, HP-UX, Solaris, or
any Unix platform that supports Java.</li></ul>
-
-
-<p><strong>Environment:</strong></p>
-<ul><li>Java Developer Kit (JDK) 1.4.x or greater for deployment and 1.5.x
(Java 5) for compiling/building. <strong>As of AMQ 5.5.0 you need JDK 1.6.0 to
build.</strong></li><li>The JAVA_HOME environment variable must be set to the
directory where the JDK is installed, e.g., <code>c:\Program
Files\jsdk.1.4.2-09</code>.</li><li>Maven 1.0.2 or greater (required when
installing source or developer's releases).</li><li><a shape="rect"
class="external-link"
href="http://cvs.apache.org/repository/geronimo-spec/jars/">JARs</a> that will
be used must be added to the classpath.</li></ul>
-
-
-<h2 id="GettingStarted-InstallationProcedureforWindows">Installation Procedure
for Windows</h2>
-
-<p>This section of the Getting Started Guide explains how to install binary
and source distributions of ActiveMQ on a Windows system.</p>
-
-<h4 id="GettingStarted-WindowsBinaryInstallation">Windows Binary
Installation</h4>
-
-<p>This procedure explains how to download and install the binary distribution
on a Windows system.</p>
-<ol><li>From a browser, navigate to <a shape="rect" class="external-link"
href="http://activemq.apache.org/">activemq.apache.org/</a>.</li><li>Click the
<a shape="rect" href="#GettingStarted-Download">#Download</a> link in the
navigation pane (the left pane).</li><li>Click the <a shape="rect"
href="#GettingStarted-ActiveMQ4.xRelease">#ActiveMQ 4.x Release</a> link under
the "Latest Releases" section. This brings up a new page.</li><li>Under the <a
shape="rect" href="#GettingStarted-DownloadHere">#Download Here</a> section,
select the desired distribution (you may have to scroll down to see the
"Download Here" section).<br clear="none">
-For a binary distribution, the filename will be similar to:
<code>activemq-x.x.x.zip</code>.</li><li>Extract the files from the ZIP file
into a directory of your choice.</li><li>Proceed to the <a shape="rect"
href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a> section of this
document.</li><li>Following start-up, go to the <a shape="rect"
href="#GettingStarted-TestingtheInstallation">#Testing the Installation</a>
section of this document.</li></ol>
-
-
-<h4 id="GettingStarted-WindowsSourceInstallation">Windows Source
Installation</h4>
-
-<p>This procedure explains how to download and install the source distribution
on a Windows system.</p>
-
-<p><strong>NOTE:</strong> ActiveMQ can be run on a Java 1.4.x system, however,
Java 1.5 is required to compile/build ActiveMQ.</p>
-<ol><li>From a browser, navigate to <a shape="rect" class="external-link"
href="http://activemq.apache.org/">activemq.apache.org/</a>.</li><li>Click the
<a shape="rect" href="#GettingStarted-Download">#Download</a> link in the
navigation pane (the left pane).</li><li>Click the <a shape="rect"
href="#GettingStarted-ActiveMQ4.xRelease">#ActiveMQ 4.x Release</a> link under
the "Latest Releases" section. This brings up another page.</li><li>Under the
<a shape="rect" href="#GettingStarted-DownloadHere">#Download Here</a> section,
select the desired distribution (if necessary, scroll down to see the "Download
Here" section).<br clear="none">
-For a source distribution, the filename will be similar to:
<code>activemq-x.x-src.zip</code>.</li><li>Extract ActiveMQ from the ZIP file
into a directory of your choice.</li><li><span class="confluence-anchor-link"
id="GettingStarted-WindowsSourceInstallation"></span> Build ActiveMQ using
Maven 2.0.4 or greater and Java 1.5.</li></ol>
-
-
-<p>The recommended method of building ActiveMQ is the following:</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[
-cd [activemq_install_dir]
+<div class="wiki-content maincontent"><h2
id="GettingStarted-Introduction">Introduction</h2><p>This document describes
how to install and configure ActiveMQ 4.x/5.x for both Unix and Windows'
platforms.</p><h2 id="GettingStarted-DocumentOrganization">Document
Organization</h2><p>The Getting Started Guide for ActiveMQ 4.x document
contains the following sections:</p><ul><li><a shape="rect"
href="#GettingStarted-Introduction">#Introduction</a></li><li><a shape="rect"
href="#GettingStarted-DocumentOrganization">#Document
Organization</a></li><li><a shape="rect"
href="#GettingStarted-Pre-InstallationRequirements">#Pre-Installation
Requirements</a></li><li><a shape="rect"
href="#GettingStarted-InstallationProcedureforWindows">#Installation Procedure
for Windows</a><ul><li><a shape="rect"
href="#GettingStarted-WindowsBinaryInstallation">#Windows Binary
Installation</a></li><li><a shape="rect"
href="#GettingStarted-WindowsSourceInstallation">#Windows Source
Installation</a></li><li><a shap
e="rect" href="#GettingStarted-WindowsDevelopers&#39;Release">#Windows
Developers' Release</a></li></ul></li><li><a shape="rect"
href="#GettingStarted-InstallationProcedureforUnix">#Installation Procedure for
Unix</a><ul><li><a shape="rect"
href="#GettingStarted-UnixBinaryInstallation">#Unix Binary
Installation</a></li><li><a shape="rect"
href="#GettingStarted-UsingHomebrewinstalleronOSX">#Using Homebrew installer on
OSX</a></li><li><a shape="rect"
href="#GettingStarted-UnixSourceInstallation">#Unix Source
Installation</a></li><li><a shape="rect"
href="#GettingStarted-UnixDevelopers&#39;Release">#Unix Developers'
Release</a></li></ul></li><li><a shape="rect"
href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a></li><li><a
shape="rect" href="#GettingStarted-TestingtheInstallation">#Testing the
Installation</a></li><li><a shape="rect"
href="#GettingStarted-MonitoringActiveMQ">#Monitoring ActiveMQ</a></li><li><a
shape="rect" href="#GettingStarted-StoppingActiveMQ">#Sto
pping ActiveMQ</a></li><li><a shape="rect"
href="#GettingStarted-ConfiguringActiveMQ">#Configuring
ActiveMQ</a></li></ul><h2
id="GettingStarted-Pre-InstallationRequirements">Pre-Installation
Requirements</h2><p><strong>Hardware:</strong></p><ul><li>33 MB of free disk
space for the ActiveMQ 4.x binary distribution.</li><li>200 MB of free disk
space for the ActiveMQ 4.x source or developer's
distributions.</li></ul><p><strong>Operating
Systems:</strong></p><ul><li>Windows: Windows XP SP2, Windows 2000, Windows
Vista, Windows 7.</li><li>Unix: Ubuntu Linux, Powerdog Linux, MacOS, AIX,
HP-UX, Solaris, or any Unix platform that supports
Java.</li></ul><p><strong>Environment:</strong></p><ul><li>Java Developer Kit
(JDK)  J<strong>DK 1.7</strong> (1.6 for version <=5.10.0)</li><li>The
JAVA_HOME environment variable must be set to the directory where the JDK is
installed</li><li>Maven</li><li><a shape="rect" class="external-link"
href="http://cvs.apache.org/repository/geronimo-spec/j
ars/">JARs</a> that will be used must be added to the classpath.</li></ul><h2
id="GettingStarted-InstallationProcedureforWindows">Installation Procedure for
Windows</h2><p>This section of the Getting Started Guide explains how to
install binary and source distributions of ActiveMQ on a Windows system.</p><h4
id="GettingStarted-WindowsBinaryInstallation">Windows Binary
Installation</h4><p>This procedure explains how to download and install the
binary distribution on a Windows system.</p><ol><li>From a browser, navigate to
<a shape="rect" class="external-link"
href="http://activemq.apache.org/">activemq.apache.org/</a>.</li><li>Click the
<a shape="rect" href="#GettingStarted-Download">#Download</a> link in the
navigation pane (the left pane).</li><li>Click the <a shape="rect"
href="#GettingStarted-ActiveMQ4.xRelease">#ActiveMQ 4.x Release</a> link under
the "Latest Releases" section. This brings up a new page.</li><li>Under the <a
shape="rect" href="#GettingStarted-DownloadHere">#Down
load Here</a> section, select the desired distribution (you may have to scroll
down to see the "Download Here" section).<br clear="none"> For a binary
distribution, the filename will be similar to:
<code>activemq-x.x.x.zip</code>.</li><li>Extract the files from the ZIP file
into a directory of your choice.</li><li>Proceed to the <a shape="rect"
href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a> section of this
document.</li><li>Following start-up, go to the <a shape="rect"
href="#GettingStarted-TestingtheInstallation">#Testing the Installation</a>
section of this document.</li></ol><h4
id="GettingStarted-WindowsSourceInstallation">Windows Source
Installation</h4><p>This procedure explains how to download and install the
source distribution on a Windows system.</p><p><strong>NOTE:</strong> ActiveMQ
can be run on a Java 1.4.x system, however, Java 1.5 is required to
compile/build ActiveMQ.</p><ol><li>From a browser, navigate to <a shape="rect"
class="external-link" href="h
ttp://activemq.apache.org/">activemq.apache.org/</a>.</li><li>Click the <a
shape="rect" href="#GettingStarted-Download">#Download</a> link in the
navigation pane (the left pane).</li><li>Click the <a shape="rect"
href="#GettingStarted-ActiveMQ4.xRelease">#ActiveMQ 4.x Release</a> link under
the "Latest Releases" section. This brings up another page.</li><li>Under the
<a shape="rect" href="#GettingStarted-DownloadHere">#Download Here</a> section,
select the desired distribution (if necessary, scroll down to see the "Download
Here" section).<br clear="none"> For a source distribution, the filename will
be similar to: <code>activemq-x.x-src.zip</code>.</li><li>Extract ActiveMQ from
the ZIP file into a directory of your choice.</li><li><span
class="confluence-anchor-link"
id="GettingStarted-WindowsSourceInstallation"></span> Build ActiveMQ using
Maven 2.0.4 or greater and Java 1.5.</li></ol><p>The recommended method of
building ActiveMQ is the following:</p><div class="code panel pdl" s
tyle="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[cd [activemq_install_dir]
mvn clean install
]]></script>
-</div></div>
-<p>where [activemq_install_dir] is the directory in which ActiveMQ was
installed.</p>
-
-<p>If the above build fails on some tests, type the following:</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[
-cd [activemq_install_dir]
+</div></div><p>where [activemq_install_dir] is the directory in which ActiveMQ
was installed.</p><p>If the above build fails on some tests, type the
following:</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[cd [activemq_install_dir]
mvn clean install -Dmaven.test.skip=true
]]></script>
-</div></div>
-<ol><li>If you prefer to use an IDE, then you can auto-generate the IDE's
project file using maven plugins:
-<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 eclipse:eclipse
+</div></div><ol><li><p>If you prefer to use an IDE, then you can auto-generate
the IDE's project file using maven plugins:</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 eclipse:eclipse
]]></script>
-</div></div>
-or
-<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 idea:idea
+</div></div><p>or</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 idea:idea
]]></script>
-</div></div>
-Feel free to use any other applicable IDE. Please refer to the <a shape="rect"
class="external-link"
href="http://maven.apache.org/reference/plugins/plugins.html">plugin
reference</a> for more details.</li><li>Start ActiveMQ from the target
directory, for example:
-<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[
-cd [activemq_install_dir]\assembly\target
+</div></div><p>Feel free to use any other applicable IDE. Please refer to the
<a shape="rect" class="external-link"
href="http://maven.apache.org/reference/plugins/plugins.html">plugin
reference</a> for more details.</p></li><li><p>Start ActiveMQ from the target
directory, 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[cd [activemq_install_dir]\assembly\target
unzip activemq-x.x-SNAPSHOT.zip
cd activemq-x.x-SNAPSHOT
bin\activemq
]]></script>
-</div></div>
-<strong>NOTE:</strong> Working directories get created relative to the current
directory. To create the working directories in the proper place, ActiveMQ must
be launched from its home/installation directory.</li><li>Proceed to the <a
shape="rect" href="#GettingStarted-TestingtheInstallation">#Testing the
Installation</a> section.</li></ol>
-
-
- <div class="aui-message problem shadowed information-macro">
+</div></div><p><strong>NOTE:</strong> Working directories get created relative
to the current directory. To create the working directories in the proper
place, ActiveMQ must be launched from its home/installation
directory.</p></li><li>Proceed to the <a shape="rect"
href="#GettingStarted-TestingtheInstallation">#Testing the Installation</a>
section.</li></ol> <div class="aui-message problem shadowed
information-macro">
<p class="title">Warning</p>
<span class="aui-icon icon-problem">Icon</span>
<div class="message-content">
-
-<p>If you are building ActiveMQ 4.x under Windows using Cygwin there is a path
name length limitation. If the path name length is exceeded, you may see build
errors. To correct this, move the ActiveMQ source directory higher in the file
system tree, e.g., /cygdrive/c/d/sm.</p>
+ <p>If you are building ActiveMQ 4.x under Windows
using Cygwin there is a path name length limitation. If the path name length is
exceeded, you may see build errors. To correct this, move the ActiveMQ source
directory higher in the file system tree, e.g., /cygdrive/c/d/sm.</p>
</div>
</div>
-
-
-<h4 id="GettingStarted-WindowsDeveloper'sRelease">Windows Developer's
Release</h4>
-
-<p>This procedure explains how to download and install the latest developer's
snapshot.</p>
-
-<p><strong>NOTE:</strong> ActiveMQ can be run on a Java 1.4.x system, however,
Java 1.5 is required to compile/build ActiveMQ.</p>
-<ol><li>From a browser, navigate to <a shape="rect" class="external-link"
href="http://activemq.apache.org/">activemq.apache.org/</a>.</li><li>Click the
<a shape="rect" href="#GettingStarted-Download">#Download</a> link in the
navigation pane (the left pane).</li><li>Click the <a shape="rect"
href="#GettingStarted-CurrentdevelopmentSNAPSHOTrelease">#Current development
SNAPSHOT release</a> link.</li><li>Select the version of ActiveMQ to download
(if necessary, scroll down to see the ActiveMQ snapshots).</li><li>Extract the
files from the ZIP file into a directory of your choice.</li><li>If a binary
snapshot was downloaded, proceed to the <a shape="rect"
href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a> section of this
document.<br clear="none">
-If a source snapshot was downloaded, perform step 6 and step 7 of the <a
shape="rect" href="#GettingStarted-WindowsSourceInstallation">#Windows Source
Installation</a> procedure.</li><li>Following start-up, proceed to the <a
shape="rect" href="#GettingStarted-TestingtheInstallation">#Testing the
Installation</a> section.</li></ol>
-
-
-<h2 id="GettingStarted-InstallationProcedureforUnix">Installation Procedure
for Unix</h2>
-
-
-<h4 id="GettingStarted-UnixBinaryInstallationUnixBinaryInstallation"><span
class="confluence-anchor-link"
id="GettingStarted-UnixBinaryInstallation"></span> Unix Binary Installation</h4>
-
-<p>This procedure explains how to download and install the binary distribution
on a Unix system.<br clear="none">
-<strong>NOTE:</strong> There are several alternative ways to perform this type
of installation.</p>
-
-<ol><li>Download the activemq gzip file to the Unix machine, using either a
browser or a tool, i.e., wget, scp, ftp, etc. for example:
-<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[
-> wget
http://activemq.apache.org/path/tofile/apache-activemq-4.1.0-incubator.tar.gz
-]]></script>
-</div></div></li><li>Extract the files from the gzip file into a directory of
your choice. For example:
-<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[
-> tar zxvf activemq-x.x.x.tar.gz
-]]></script>
-</div></div></li><li>If the <code>ActiveMQ</code> start-up script is not
executable, change its permissions. The <code>ActiveMQ</code> script is located
in the <code>bin</code> directory. For example:
-<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[
-> cd [activemq_install_dir]/bin
+<h4 id="GettingStarted-WindowsDeveloper'sRelease">Windows Developer's
Release</h4><p>This procedure explains how to download and install the latest
developer's snapshot.</p><p><strong>NOTE:</strong> ActiveMQ can be run on a
Java 1.4.x system, however, Java 1.5 is required to compile/build
ActiveMQ.</p><ol><li>From a browser, navigate to <a shape="rect"
class="external-link"
href="http://activemq.apache.org/">activemq.apache.org/</a>.</li><li>Click the
<a shape="rect" href="#GettingStarted-Download">#Download</a> link in the
navigation pane (the left pane).</li><li>Click the <a shape="rect"
href="#GettingStarted-CurrentdevelopmentSNAPSHOTrelease">#Current development
SNAPSHOT release</a> link.</li><li>Select the version of ActiveMQ to download
(if necessary, scroll down to see the ActiveMQ snapshots).</li><li>Extract the
files from the ZIP file into a directory of your choice.</li><li>If a binary
snapshot was downloaded, proceed to the <a shape="rect"
href="#GettingStarted-StartingAc
tiveMQ">#Starting ActiveMQ</a> section of this document.<br clear="none"> If a
source snapshot was downloaded, perform step 6 and step 7 of the <a
shape="rect" href="#GettingStarted-WindowsSourceInstallation">#Windows Source
Installation</a> procedure.</li><li>Following start-up, proceed to the <a
shape="rect" href="#GettingStarted-TestingtheInstallation">#Testing the
Installation</a> section.</li></ol><h2
id="GettingStarted-InstallationProcedureforUnix">Installation Procedure for
Unix</h2><h4
id="GettingStarted-UnixBinaryInstallationUnixBinaryInstallation"><span
class="confluence-anchor-link"
id="GettingStarted-UnixBinaryInstallation"></span> Unix Binary
Installation</h4><p>This procedure explains how to download and install the
binary distribution on a Unix system.<br clear="none"> <strong>NOTE:</strong>
There are several alternative ways to perform this type of
installation.</p><ol><li><p>Download the activemq gzip file to the Unix
machine, using either a browser or a tool, i.e.,
wget, scp, ftp, etc. 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[> wget
http://activemq.apache.org/path/tofile/apache-activemq-4.1.0-incubator.tar.gz
+]]></script>
+</div></div></li><li><p>Extract the files from the gzip file into a directory
of your choice. 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[> tar zxvf activemq-x.x.x.tar.gz
+]]></script>
+</div></div></li><li><p>If the <code>ActiveMQ</code> start-up script is not
executable, change its permissions. The <code>ActiveMQ</code> script is located
in the <code>bin</code> directory. 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[> cd [activemq_install_dir]/bin
> chmod 755 activemq
]]></script>
-</div></div></li><li>Proceed to the <a shape="rect"
href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a> section of this
document.</li><li>Following start-up, go to the <a shape="rect"
href="#GettingStarted-TestingtheInstallation">#Testing the Installation</a>
section.</li></ol>
-
-
-<h4 id="GettingStarted-UsingHomebrewinstalleronOSX">Using Homebrew installer
on OSX</h4>
-
-<p>If you use OSX as your platform, you can use <a shape="rect"
class="external-link" href="http://mxcl.github.com/homebrew/"
rel="nofollow">Homebrew</a> package manager to easily install Apache
ActiveMQ.</p>
-
-<ol><li>After installing Homebrew package manager successfully, just
run</li></ol>
-
-
-<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[
-$ brew install apache-activemq
+</div></div></li><li>Proceed to the <a shape="rect"
href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a> section of this
document.</li><li>Following start-up, go to the <a shape="rect"
href="#GettingStarted-TestingtheInstallation">#Testing the Installation</a>
section.</li></ol><h4 id="GettingStarted-UsingHomebrewinstalleronOSX">Using
Homebrew installer on OSX</h4><p>If you use OSX as your platform, you can use
<a shape="rect" class="external-link" href="http://mxcl.github.com/homebrew/"
rel="nofollow">Homebrew</a> package manager to easily install Apache
ActiveMQ.</p><ol><li>After installing Homebrew package manager successfully,
just run</li></ol><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[$ brew install apache-activemq
]]></script>
-</div></div>
-
-<p>You can expect the following output:</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[
-==> Downloading
http://www.gossipcheck.com/mirrors/apache/activemq/apache-activemq/x.x.x/apache-activemq-x.x.x-bin.tar.gz
+</div></div><p>You can expect the following output:</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[==> Downloading
http://www.gossipcheck.com/mirrors/apache/activemq/apache-activemq/x.x.x/apache-activemq-x.x.x-bin.tar.gz
######################################################################## 100.0%
==> Caveats
Software was installed to:
@@ -240,215 +130,84 @@ Software was installed to:
==> Summary
/usr/local/Cellar/apache-activemq/x.x.x: 406 files, 35M, built in 2 seconds
]]></script>
-</div></div>
-
-<p>ActiveMQ will be installed in
<code>/usr/local/Cellar/apache-activemq/x.x.x/</code> directory (where
<code>x.x.x</code> denotes the actual version being installed).</p>
-
-<p>Now you can proceed to <a shape="rect"
href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a> and <a
shape="rect" href="#GettingStarted-TestingtheInstallation">#Testing the
Installation</a> sections.</p>
-
-<h4 id="GettingStarted-UnixSourceInstallation">Unix Source Installation</h4>
-
-<p>This procedure explains how to download and install the source distribution
on a Unix system. This procedure assumes the Unix machine has a browser. Please
see the previous <a shape="rect"
href="#GettingStarted-UnixBinaryInstallation">#Unix Binary Installation</a>
section for details on how to install ActiveMQ without a browser.</p>
-
-<p><strong>NOTE:</strong> ActiveMQ can be run on a Java 1.4.x system, however,
Java 1.5 is required to compile/build ActiveMQ.</p>
-<ol><li>From a browser, navigate to <a shape="rect" class="external-link"
href="http://activemq.apache.org/">activemq.apache.org/</a>.</li><li>Click the
<a shape="rect" href="#GettingStarted-Download">#Download</a> link in the
navigation pane (the left pane).</li><li>Click the <a shape="rect"
href="#GettingStarted-ActiveMQ4.xRelease">#ActiveMQ 4.x Release</a> link under
the "Latest Releases" section. This brings up a new page.</li><li>Under the <a
shape="rect" href="#GettingStarted-DownloadHere">#Download Here</a> section,
select the desired distribution (if necessary, scroll down to see the "Download
Here" section).<br clear="none">
-For a source distribution, the filename will be similar to:
<code>activemq-x.x-src.tar.gz</code>.</li><li>Extract the files from the ZIP
file into a directory of your choice. For example:
-<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[
-tar zxvf activemq.x.x-src.tar.gz
-]]></script>
-</div></div></li><li>Build ActiveMQ using Maven 2.0.4 or greater and Java
5:<br clear="none">
-The preferred method of building ActiveMQ is the following:
-<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[
-cd [activemq_install_dir]
+</div></div><p>ActiveMQ will be installed in
<code>/usr/local/Cellar/apache-activemq/x.x.x/</code> directory (where
<code>x.x.x</code> denotes the actual version being installed).</p><p>Now you
can proceed to <a shape="rect"
href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a> and <a
shape="rect" href="#GettingStarted-TestingtheInstallation">#Testing the
Installation</a> sections.</p><h4
id="GettingStarted-UnixSourceInstallation">Unix Source Installation</h4><p>This
procedure explains how to download and install the source distribution on a
Unix system. This procedure assumes the Unix machine has a browser. Please see
the previous <a shape="rect"
href="#GettingStarted-UnixBinaryInstallation">#Unix Binary Installation</a>
section for details on how to install ActiveMQ without a
browser.</p><p><strong>NOTE:</strong> ActiveMQ can be run on a Java 1.4.x
system, however, Java 1.5 is required to compile/build
ActiveMQ.</p><ol><li>From a browser, navigate to <a shape="rect" class
="external-link"
href="http://activemq.apache.org/">activemq.apache.org/</a>.</li><li>Click the
<a shape="rect" href="#GettingStarted-Download">#Download</a> link in the
navigation pane (the left pane).</li><li>Click the <a shape="rect"
href="#GettingStarted-ActiveMQ4.xRelease">#ActiveMQ 4.x Release</a> link under
the "Latest Releases" section. This brings up a new page.</li><li>Under the <a
shape="rect" href="#GettingStarted-DownloadHere">#Download Here</a> section,
select the desired distribution (if necessary, scroll down to see the "Download
Here" section).<br clear="none"> For a source distribution, the filename will
be similar to: <code>activemq-x.x-src.tar.gz</code>.</li><li><p>Extract the
files from the ZIP file into a directory of your choice. 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[tar zxvf activemq.x.x-src.tar.gz
+]]></script>
+</div></div></li><li><p>Build ActiveMQ using Maven 2.0.4 or greater and Java
5:<br clear="none"> The preferred method of building ActiveMQ is the
following:</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[cd [activemq_install_dir]
mvn clean install
]]></script>
-</div></div>
-If Maven crashes with a java.lang.OutOfMemoryError, you you need to do this
first (assuming a Bourne-like shell):
-<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[
-export MAVEN_OPTS=-Xmx512M
+</div></div><p>If Maven crashes with a java.lang.OutOfMemoryError, you you
need to do this first (assuming a Bourne-like shell):</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[export MAVEN_OPTS=-Xmx512M
]]></script>
-</div></div>
-If the above build fails on some tests, do the following:
-<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[
-cd [activemq_install_dir]
+</div></div><p>If the above build fails on some tests, do the
following:</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[cd [activemq_install_dir]
mvn clean install -Dmaven.test.skip=true
]]></script>
-</div></div>
-If you prefer to use an IDE then you can auto-generate the IDE's project file
using maven plugins:
-<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 eclipse:eclipse
+</div></div><p>If you prefer to use an IDE then you can auto-generate the
IDE's project file using maven plugins:</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 eclipse:eclipse
]]></script>
-</div></div>
- or
-<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 idea:idea
+</div></div><p>or</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 idea:idea
]]></script>
-</div></div>
-Feel free to use any other applicable IDE. Please refer to the <a shape="rect"
class="external-link"
href="http://maven.apache.org/reference/plugins/plugins.html">plugin
reference</a> for more details.<br clear="none">
-<strong>NOTE:</strong> Working directories get created relative to the current
directory. To create working directories in the proper place, ActiveMQ must be
launched from its home/installation directory.</li><li>Proceed to the <a
shape="rect" href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a>
section of this document.</li><li>Proceed to <a shape="rect"
href="#GettingStarted-TestingtheInstallation">#Testing the Installation</a>
section.</li></ol>
-
-
-<h4 id="GettingStarted-UnixDeveloper'sRelease">Unix Developer's Release</h4>
-
-<p>This procedure explains how to download and install the latest developer's
snapshot.</p>
-
-<p><strong>NOTE:</strong> ActiveMQ can be run on a Java 1.4.x system, however,
Java 5 is required to compile/build ActiveMQ.</p>
-<ol><li>From a browser, navigate to <a shape="rect" class="external-link"
href="http://activemq.apache.org/">activemq.apache.org/</a>.</li><li>Click the
<a shape="rect" href="#GettingStarted-Download">#Download</a> link in the
navigation pane (the left pane).</li><li>Click the <a shape="rect"
href="#GettingStarted-CurrentdevelopmentSNAPSHOTrelease">#Current development
SNAPSHOT release</a> link.</li><li>Select the version of ActiveMQ to download
(you may have to scroll down to see the ActiveMQ snapshots). The filename will
be similar to: <code>activemq-x.x.x-tar.gz</code> or
<code>activemq-x.x.x-src.tar.gz</code>.</li><li>Extract the files from the gzip
file into a directory of your choice. For example:<br clear="none">
-For a binary developer's snapshot:
-<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[
-tar zxvf activemq-x.x.x.tar.gz
+</div></div><p>Feel free to use any other applicable IDE. Please refer to the
<a shape="rect" class="external-link"
href="http://maven.apache.org/reference/plugins/plugins.html">plugin
reference</a> for more details.<br clear="none"> <strong>NOTE:</strong> Working
directories get created relative to the current directory. To create working
directories in the proper place, ActiveMQ must be launched from its
home/installation directory.</p></li><li>Proceed to the <a shape="rect"
href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a> section of this
document.</li><li>Proceed to <a shape="rect"
href="#GettingStarted-TestingtheInstallation">#Testing the Installation</a>
section.</li></ol><h4 id="GettingStarted-UnixDeveloper'sRelease">Unix
Developer's Release</h4><p>This procedure explains how to download and install
the latest developer's snapshot.</p><p><strong>NOTE:</strong> ActiveMQ can be
run on a Java 1.4.x system, however, Java 5 is required to compile/build
ActiveMQ.</p><o
l><li>From a browser, navigate to <a shape="rect" class="external-link"
href="http://activemq.apache.org/">activemq.apache.org/</a>.</li><li>Click the
<a shape="rect" href="#GettingStarted-Download">#Download</a> link in the
navigation pane (the left pane).</li><li>Click the <a shape="rect"
href="#GettingStarted-CurrentdevelopmentSNAPSHOTrelease">#Current development
SNAPSHOT release</a> link.</li><li>Select the version of ActiveMQ to download
(you may have to scroll down to see the ActiveMQ snapshots). The filename will
be similar to: <code>activemq-x.x.x-tar.gz</code> or
<code>activemq-x.x.x-src.tar.gz</code>.</li><li><p>Extract the files from the
gzip file into a directory of your choice. For example:<br clear="none"> For a
binary developer's snapshot:</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[tar zxvf activemq-x.x.x.tar.gz
]]></script>
-</div></div>
-For a source developer's snapshot:
-<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[
-tar zxvf activemq-x.x.x-src.tar.gz
-]]></script>
-</div></div></li><li>If a binary snapshot was downloaded, to make it
executable, the <code>ActiveMQ</code> script may need its permissions changed:
-<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[
-cd [activemq_install_dir]/bin
+</div></div><p>For a source developer's snapshot:</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[tar zxvf activemq-x.x.x-src.tar.gz
+]]></script>
+</div></div></li><li><p>If a binary snapshot was downloaded, to make it
executable, the <code>ActiveMQ</code> script may need its permissions
changed:</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[cd [activemq_install_dir]/bin
chmod 755 activemq
]]></script>
-</div></div></li><li>For a binary snapshot, proceed to the <a shape="rect"
href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a> section of this
document.</li><li>If a source snapshot was downloaded perform steps 6 - 8 of
the <a shape="rect" href="#GettingStarted-UnixSourceInstallation">#Unix Source
Installation</a> procedure.</li><li>Proceed to the <a shape="rect"
href="#GettingStarted-TestingtheInstallation">#Testing the Installation</a>
section.</li></ol>
-
-
-<h2 id="GettingStarted-StartingActiveMQStartingActiveMQ"><span
class="confluence-anchor-link" id="GettingStarted-StartingActiveMQ"></span>
Starting ActiveMQ</h2>
-
-<p>There now follows instructions on how to <a shape="rect"
href="run-broker.html">run the ActiveMQ Message Broker</a>.</p>
-
-<h4 id="GettingStarted-OnWindows:">On Windows:</h4>
-
-<p>From a console window, change to the installation directory and run
<code>ActiveMQ</code>:</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[
-cd [activemq_install_dir]
+</div></div></li><li>For a binary snapshot, proceed to the <a shape="rect"
href="#GettingStarted-StartingActiveMQ">#Starting ActiveMQ</a> section of this
document.</li><li>If a source snapshot was downloaded perform steps 6 - 8 of
the <a shape="rect" href="#GettingStarted-UnixSourceInstallation">#Unix Source
Installation</a> procedure.</li><li>Proceed to the <a shape="rect"
href="#GettingStarted-TestingtheInstallation">#Testing the Installation</a>
section.</li></ol><h2
id="GettingStarted-StartingActiveMQStartingActiveMQ"><span
class="confluence-anchor-link" id="GettingStarted-StartingActiveMQ"></span>
Starting ActiveMQ</h2><p>There now follows instructions on how to <a
shape="rect" href="run-broker.html">run the ActiveMQ Message Broker</a>.</p><h4
id="GettingStarted-OnWindows:">On Windows:</h4><p>From a console window, change
to the installation directory and run <code>ActiveMQ</code>:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pd
l">
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[cd [activemq_install_dir]
]]></script>
-</div></div>
-<p>where <code>activemq_install_dir</code> is the directory in which ActiveMQ
was installed, e.g., <code>c:\Program Files\ActiveMQ-4.x</code>.
-<br clear="none" class="atl-forced-newline">
-Then 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[
-bin\activemq
+</div></div><p>where <code>activemq_install_dir</code> is the directory in
which ActiveMQ was installed, e.g., <code>c:\Program Files\ActiveMQ-4.x</code>.
<br clear="none" class="atl-forced-newline"> Then 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[bin\activemq
]]></script>
-</div></div>
-<p><strong>NOTE:</strong> Working directories get created relative to the
current directory. To create working directories in the proper place, ActiveMQ
must be launched from its home/installation directory.</p>
-
-<h4 id="GettingStarted-OnUnix:">On Unix:</h4>
-
-<p>From a command shell, change to the installation directory and run
<code>ActiveMQ</code>:</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[
-cd [activemq_install_dir]
+</div></div><p><strong>NOTE:</strong> Working directories get created relative
to the current directory. To create working directories in the proper place,
ActiveMQ must be launched from its home/installation directory.</p><h4
id="GettingStarted-OnUnix:">On Unix:</h4><p>From a command shell, change to the
installation directory and run <code>ActiveMQ</code>:</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[cd [activemq_install_dir]
]]></script>
-</div></div>
-<p>where <code>activemq_install_dir</code> is the directory in which ActiveMQ
was installed, e.g., <code>/usr/local/activemq-4.x</code>.
-<br clear="none" class="atl-forced-newline">
-Then 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[
-bin/activemq
+</div></div><p>where <code>activemq_install_dir</code> is the directory in
which ActiveMQ was installed, e.g., <code>/usr/local/activemq-4.x</code>. <br
clear="none" class="atl-forced-newline"> Then 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[bin/activemq
OR
bin/activemq > /tmp/smlog 2>&1 &;
Note: /tmp/smlog may be changed to another file name.
]]></script>
-</div></div>
-<p><strong>NOTE:</strong> Working directories get created relative to the
current directory. To create working directories in the proper place, ActiveMQ
must be launched from its home/installation directory.</p>
- <div class="aui-message problem shadowed information-macro">
+</div></div><p><strong>NOTE:</strong> Working directories get created relative
to the current directory. To create working directories in the proper place,
ActiveMQ must be launched from its home/installation directory.</p> <div
class="aui-message problem shadowed information-macro">
<p class="title">Warning</p>
<span class="aui-icon icon-problem">Icon</span>
<div class="message-content">
-
-<p>Do NOT close the console or shell in which ActiveMQ was started, as that
will terminate ActiveMQ (unless ActiveMQ was started with nohup).</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 bin/activemq > /tmp/smlog 2>&1 &
+ <p>Do NOT close the console or shell in which
ActiveMQ was started, as that will terminate ActiveMQ (unless ActiveMQ was
started with nohup).</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 bin/activemq > /tmp/smlog
2>&1 &
]]></script>
</div></div>
</div>
</div>
-
-
-<h3 id="GettingStarted-Morehelp">More help</h3>
-
-<p>For other ways of running the broker see <a shape="rect"
href="run-broker.html">Here</a>. For example you can run an <a shape="rect"
href="how-do-i-embed-a-broker-inside-a-connection.html">embedded broker</a>
inside your JMS Connection to avoid starting a separate process.</p>
-
-<h2 id="GettingStarted-TestingtheInstallationTestingtheInstallation"><span
class="confluence-anchor-link"
id="GettingStarted-TestingtheInstallation"></span> Testing the Installation</h2>
-
-<p>If ActiveMQ is up and running without problems, the Window's console window
or the Unix command shell will display information similar to the following log
line:</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[
-INFO ActiveMQ JMS Message Broker
(ID:apple-s-Computer.local-51222-1140729837569-0:0) has started
+<h3 id="GettingStarted-Morehelp">More help</h3><p>For other ways of running
the broker see <a shape="rect" href="run-broker.html">Here</a>. For example you
can run an <a shape="rect"
href="how-do-i-embed-a-broker-inside-a-connection.html">embedded broker</a>
inside your JMS Connection to avoid starting a separate process.</p><h2
id="GettingStarted-TestingtheInstallationTestingtheInstallation"><span
class="confluence-anchor-link"
id="GettingStarted-TestingtheInstallation"></span> Testing the
Installation</h2><p>If ActiveMQ is up and running without problems, the
Window's console window or the Unix command shell will display information
similar to the following log line:</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[INFO ActiveMQ JMS Message Broker
(ID:apple-s-Computer.local-51222-1140729837569-0:0) has started
]]></script>
-</div></div>
-<p><br clear="none" class="atl-forced-newline">
-ActiveMQ's default port is 61616. From another window run netstat and search
for port 61616.</p>
-
-<p>From a Windows console, 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[
-netstat -an|find "61616"
+</div></div><p><br clear="none" class="atl-forced-newline"> ActiveMQ's default
port is 61616. From another window run netstat and search for port
61616.</p><p>From a Windows console, 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[netstat -an|find "61616"
]]></script>
-</div></div>
-<p><strong>OR</strong></p>
-
-<p>From a Unix command shell, 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[
-netstat -an|grep 61616
+</div></div><p><strong>OR</strong></p><p>From a Unix command shell,
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[netstat -an|grep 61616
]]></script>
-</div></div>
-
-<h2 id="GettingStarted-MonitoringActiveMQ">Monitoring ActiveMQ</h2>
-
-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><h2 id="GettingStarted-MonitoringActiveMQ">Monitoring
ActiveMQ</h2><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>
-
-<h2 id="GettingStarted-StoppingActiveMQ">Stopping ActiveMQ</h2>
-
-<p>For both Windows and Unix installations, terminate ActiveMQ by typing
"CTRL-C" in the console or command shell in which it is running.</p>
-
-<p>If ActiveMQ was started in the background on Unix, the process can be
killed, with the following:</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[
-ps -ef|grep activemq
+<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><h2
id="GettingStarted-StoppingActiveMQ">Stopping ActiveMQ</h2><p>For both Windows
and Unix installations, terminate ActiveMQ by typing "CTRL-C" in the console or
command shell in which it is running.</p><p>If ActiveMQ was started in the
background on Unix, the process can be killed, with the following:</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[ps -ef|grep activemq
kill [PID]
where [PID] is the process id of the ActiveMQ process.
]]></script>
-</div></div>
-
-<h2 id="GettingStarted-ConfiguringActiveMQ">Configuring ActiveMQ</h2>
-
-<p>The ActiveMQ broker should now run. You can configure the broker by
specifying an <a shape="rect" href="xml-configuration.html">Xml
Configuration</a> file as a parameter to the <em>activemq</em> command. An
alternative is to use the <a shape="rect"
href="broker-configuration-uri.html">Broker Configuration URI</a> to configure
things on the command line in a concise format (though the configuration
options are not as extensive as if you use Java or XML code). You can also</p>
-
-<p>Also see <a shape="rect" href="configuring-transports.html">Configuring
Transports</a> to see how you can configure the various connection, transport
and broker options using the connection URL in the
ActiveMQConnectionFactory.</p>
-
-<p>See the <a shape="rect" href="initial-configuration.html">Initial
Configuration</a> for details of which jars you need to add to your classpath
to start using ActiveMQ in your Java code</p>
-
-<p>If you want to use JNDI to connect to your JMS provider then please view
the <a shape="rect" href="jndi-support.html">JNDI Support</a>. If you are a
Spring user you should read about <a shape="rect"
href="spring-support.html">Spring Support</a></p>
-
-<p>After the installation, ActiveMQ is running with a basic configuration. For
details on configuring options, please see refer to the <a shape="rect"
href="configuration.html">Configuration</a> section.</p>
-
-<h2 id="GettingStarted-AdditionalResources">Additional Resources</h2>
-
-<p>If you are new to using ActiveMQ, running the <a shape="rect"
href="web-samples.html">Web Samples</a> or the <a shape="rect"
href="examples.html">Examples</a> is a good next step to learn more about
ActiveMQ.</p>
-
-<p>The Commercial Providers listed on the <a shape="rect"
href="support.html">Support</a> page may also have additional documentation,
examples, tutorials, etc... that can help you get started.</p></div>
+</div></div><h2 id="GettingStarted-ConfiguringActiveMQ">Configuring
ActiveMQ</h2><p>The ActiveMQ broker should now run. You can configure the
broker by specifying an <a shape="rect" href="xml-configuration.html">Xml
Configuration</a> file as a parameter to the <em>activemq</em> command. An
alternative is to use the <a shape="rect"
href="broker-configuration-uri.html">Broker Configuration URI</a> to configure
things on the command line in a concise format (though the configuration
options are not as extensive as if you use Java or XML code). You can
also</p><p>Also see <a shape="rect"
href="configuring-transports.html">Configuring Transports</a> to see how you
can configure the various connection, transport and broker options using the
connection URL in the ActiveMQConnectionFactory.</p><p>See the <a shape="rect"
href="initial-configuration.html">Initial Configuration</a> for details of
which jars you need to add to your classpath to start using ActiveMQ in your
Java code</p><p>If yo
u want to use JNDI to connect to your JMS provider then please view the <a
shape="rect" href="jndi-support.html">JNDI Support</a>. If you are a Spring
user you should read about <a shape="rect" href="spring-support.html">Spring
Support</a></p><p>After the installation, ActiveMQ is running with a basic
configuration. For details on configuring options, please see refer to the <a
shape="rect" href="configuration.html">Configuration</a> section.</p><h2
id="GettingStarted-AdditionalResources">Additional Resources</h2><p>If you are
new to using ActiveMQ, running the <a shape="rect" href="web-samples.html">Web
Samples</a> or the <a shape="rect" href="examples.html">Examples</a> is a good
next step to learn more about ActiveMQ.</p><p>The Commercial Providers listed
on the <a shape="rect" href="support.html">Support</a> page may also have
additional documentation, examples, tutorials, etc... that can help you get
started.</p></div>
</td>
<td valign="top">
<div class="navigation">