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 2013/01/04 22:20:56 UTC

svn commit: r845027 [3/3] - in /websites/production/activemq/content: ./ cache/ cms/ integrating-apache-activemq-with-jboss.data/ nms/ polo-page.data/

Modified: websites/production/activemq/content/siteindex.html
==============================================================================
--- websites/production/activemq/content/siteindex.html (original)
+++ websites/production/activemq/content/siteindex.html Fri Jan  4 21:20:56 2013
@@ -1022,7 +1022,7 @@
                                  <span class="icon icon-page" title="Page">Page:</span>
                          <a shape="rect" href="how-do-i-find-the-size-of-a-queue.html">How do I find the Size of a Queue</a>
         <br clear="none">
-             <div class="smalltext" style="margin: 0 0 0 36px">How do I check on the size of the queue? I know it's not JMS standard, but most JMS implementations have a way to do this.  You can view the queue depth using the MBeans in ActiveMQ 4.x. Use any JMX management console ... </div>
+             <div class="smalltext" style="margin: 0 0 0 36px">How do I check on the size of the queue? I know it's not JMS standard, but most JMS implementations have a way to do this.  You can view the queue depth using the MBeans in ActiveMQ 5.x. Use any JMX management console ... </div>
                                  <span class="icon icon-page" title="Page">Page:</span>
                          <a shape="rect" href="how-do-i-get-started-with-jms.html">How do I get started with JMS</a>
         <br clear="none">
@@ -1110,7 +1110,7 @@
                                  <span class="icon icon-page" title="Page">Page:</span>
                          <a shape="rect" href="how-does-activemq-compare-to-amqp.html">How does ActiveMQ compare to AMQP</a>
         <br clear="none">
-             <div class="smalltext" style="margin: 0 0 0 36px">AMQP stands for the Advanced Message Queue Protocol and is a specification for how messaging clients and brokers can interoperate. AMQP is a specification of a wirelevel protocol for client to message broker communication. It is not a messaging system like ActiveMQ, but just a messaging protocol.  ActiveMQ is aiming ... </div>
+             <div class="smalltext" style="margin: 0 0 0 36px">AMQP stands for the Advanced Message Queue Protocol and is a specification for how messaging clients and brokers can interoperate. AMQP is a specification of a wirelevel protocol for client to message broker communication. It is not a messaging system like ActiveMQ, but just a messaging protocol.  ActiveMQ now ... </div>
                                  <span class="icon icon-page" title="Page">Page:</span>
                          <a shape="rect" href="how-does-activemq-compare-to-fuse-message-broker.html">How does ActiveMQ compare to Fuse Message Broker?</a>
         <br clear="none">
@@ -1776,7 +1776,7 @@
                                  <span class="icon icon-page" title="Page">Page:</span>
                          <a shape="rect" href="rest.html">REST</a>
         <br clear="none">
-             <div class="smalltext" style="margin: 0 0 0 36px">ActiveMQ implements a REST http://rest.blueoxen.net/ful API to messaging which allows any web capable device to publish or consume messages using a regular HTTP POST or GET.  If you are working with DHTML or web browsers you might wanna ... </div>
+             <div class="smalltext" style="margin: 0 0 0 36px">ActiveMQ implements a RESTful API to messaging which allows any web capable device to publish or consume messages using a regular HTTP POST or GET.  If you are interested in messaging directly from web browsers you might wanna check ... </div>
                                  <span class="icon icon-page" title="Page">Page:</span>
                          <a shape="rect" href="rest-protocols.html">REST protocols</a>
         <br clear="none">
@@ -2169,7 +2169,7 @@
                                  <span class="icon icon-page" title="Page">Page:</span>
                          <a shape="rect" href="web-samples.html">Web Samples</a>
         <br clear="none">
-             <div class="smalltext" style="margin: 0 0 0 36px">few example programs demonstrating the REST messaging or Ajax in the activemq/activemqwebdemo https://svn.apache.org/repos/asf/activemq/trunk/activemqwebdemo/ module.    Running the Web Samples from version 5.0 onwards  In 5.0 we have integrated the Web Samples ... </div>
+             <div class="smalltext" style="margin: 0 0 0 36px">few example programs demonstrating the REST, Ajax and WebSockets messaging that comes with the ActiveMQ distribution.  Up until version 5.8 web demos were included in the default configuration and could be accessed directly using http://localhost:8161/demo url after ... </div>
                                  <span class="icon icon-page" title="Page">Page:</span>
                          <a shape="rect" href="weblogic-integration.html">WebLogic Integration</a>
         <br clear="none">

Modified: websites/production/activemq/content/support.html
==============================================================================
--- websites/production/activemq/content/support.html (original)
+++ websites/production/activemq/content/support.html Fri Jan  4 21:20:56 2013
@@ -84,7 +84,7 @@
 <p>Before you report a problem you might want to read the <a shape="rect" href="faq.html" title="FAQ">FAQ</a>. <br clear="none">
 Whenever you are reporting a problem please be sure to include as much information as possible; the more we know the more chance of a quicker resolution.</p>
 
-<ul><li>Which <a shape="rect" class="external-link" href="http://activemq.apache.org/download.html">version</a> of ActiveMQ</li><li>What platform of Java (e.g., Java SE 6 with JRE/<a shape="rect" class="createlink" href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=ACTIVEMQ&amp;title=JDK&amp;linkCreation=true&amp;fromPageId=35919">JDK</a> 1.6.0 or J2SE 5 with JRE/<a shape="rect" class="createlink" href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=ACTIVEMQ&amp;title=JDK&amp;linkCreation=true&amp;fromPageId=35919">JDK</a> 1.5.0)</li><li>Any particular application/web server or container being used - if so what version?</li><li>Stack traces generally really help! If in doubt include the whole thing; often exceptions get wrapped in other exceptions and the exception right near the bottom explains the actual error, not the first few lines at the top. It's very easy for us to skim-read past unnecessary parts of a stack trace.</li><l
 i>Log output (e.g., <tt>data/activemq.log</tt>) can be useful too; sometimes <a shape="rect" href="how-do-i-change-the-logging.html" title="How do I change the logging">enabling DEBUG logging</a> can help</li><li>Your code &amp; configuration files are often useful</li></ul>
+<ul><li>Which <a shape="rect" class="external-link" href="http://activemq.apache.org/download.html">version</a> of ActiveMQ</li><li>What platform of Java (e.g., Java SE 6 with JRE/<span class="error">[JDK]</span> 1.6.0 or J2SE 5 with JRE/<span class="error">[JDK]</span> 1.5.0)</li><li>Any particular application/web server or container being used - if so what version?</li><li>Stack traces generally really help! If in doubt include the whole thing; often exceptions get wrapped in other exceptions and the exception right near the bottom explains the actual error, not the first few lines at the top. It's very easy for us to skim-read past unnecessary parts of a stack trace.</li><li>Log output (e.g., <tt>data/activemq.log</tt>) can be useful too; sometimes <a shape="rect" href="how-do-i-change-the-logging.html" title="How do I change the logging">enabling DEBUG logging</a> can help</li><li>Your code &amp; configuration files are often useful</li></ul>
 
 
 <h3><a shape="rect" name="Support-Howtogethelpfaster"></a>How to get help faster</h3>

Modified: websites/production/activemq/content/web-samples.html
==============================================================================
--- websites/production/activemq/content/web-samples.html (original)
+++ websites/production/activemq/content/web-samples.html Fri Jan  4 21:20:56 2013
@@ -72,45 +72,17 @@
         <tr>
         <td valign="top" width="100%">
           <div class="wiki-content maincontent">
-<p>There are a few example programs demonstrating the <a shape="rect" href="rest.html" title="REST">REST</a> messaging or <a shape="rect" href="ajax.html" title="Ajax">Ajax</a> in the <a shape="rect" class="external-link" href="https://svn.apache.org/repos/asf/activemq/trunk/activemq-web-demo/">activemq/activemq-web-demo</a> module. </p>
+<p>There are a few example programs demonstrating the <a shape="rect" href="rest.html" title="REST">REST</a>, <a shape="rect" href="ajax.html" title="Ajax">Ajax</a> and <a shape="rect" href="websockets.html" title="WebSockets">WebSockets</a> messaging that comes with the ActiveMQ distribution.</p>
 
-<h2><a shape="rect" name="WebSamples-RunningtheWebSamplesfromversion5.0onwards"></a>Running the Web Samples from version 5.0 onwards</h2>
+<p>Up until version 5.8 web demos were included in the default configuration and could be accessed directly using <a shape="rect" class="external-link" href="http://localhost:8161/demo" rel="nofollow">http://localhost:8161/demo</a> url after starting the broker.</p>
 
-<p>In 5.0 we have integrated the Web Samples into the binary distribution. So <a shape="rect" href="download.html" title="Download">Download</a> a binary distribution then point your browser to <a shape="rect" class="external-link" href="http://localhost:8161/demo" rel="nofollow">http://localhost:8161/demo</a></p>
+<p>From 5.8 onwards, demos are excluded from default configuration. To start a broker with web examples, use <tt>activemq-demo.xml</tt> configuration file, like</p>
 
-<h2><a shape="rect" name="WebSamples-RunningtheWebSampleson4.1.xandearlier"></a>Running the Web Samples on 4.1.x and earlier</h2>
-
-<p>To run the Web Samples, grab the <a shape="rect" href="source.html" title="Source">Source</a> or try <a shape="rect" href="download.html" title="Download">Download</a> a binary distribution. Then follow the <a shape="rect" href="building.html" title="Building">Building</a> instructions for the activemq-web module.</p>
-
-<p>In particular type the following (assuming you have Maven installed)</p>
-
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-cd activemq-web-demo
-mvn jetty:run
-</pre>
-</div></div>
-
-<p>This will run a Jetty server with a web application with an embedded ActiveMQ message broker.</p>
-
-<p>Then clicking your browser on <a shape="rect" class="external-link" href="http://localhost:8080/activemq-web-demo/" rel="nofollow">http://localhost:8080/activemq-web-demo/</a> should bring up the home page of the examples. The examples include</p>
-<ul><li>a sample stock porfolio with real time updates via <a shape="rect" href="ajax.html" title="Ajax">Ajax</a>. You need open a browser window for the market data publisher first, then open the portfolio screen and see your portfolio update in real time</li></ul>
-
-
-<ul><li>a simple chat application showing how multiple uses can interact via Ajax using a simple JavaScript library to interact with the Ajax</li><li>simple HTTP GET / POST via regular web browser technology (hyperlinks and HTML forms)</li></ul>
-
-
-<h3><a shape="rect" name="WebSamples-CreatingaWAR"></a>Creating a WAR</h3>
-
-<p>If you would like to package up the examples as a WAR and then deploy it inside your own web container then try the following...</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-mvn war
-</pre>
+<pre class="code-java">bin/activemq console xbean:conf/activemq-demo.xml</pre>
 </div></div>
-<p>which will build a WAR in the target directory.</p>
 
-<h3><a shape="rect" name="WebSamples-SeeAlso"></a>See Also</h3>
+<h2><a shape="rect" name="WebSamples-SeeAlso"></a>See Also</h2>
 
 <ul><li><a shape="rect" href="examples.html" title="Examples">Examples</a></li><li><a shape="rect" href="jmx.html" title="JMX">JMX</a></li><li><a shape="rect" href="web-console.html" title="Web Console">Web Console</a></li></ul>
 

Modified: websites/production/activemq/content/what-open-source-integration-solution-works-best-with-activemq-.html
==============================================================================
--- websites/production/activemq/content/what-open-source-integration-solution-works-best-with-activemq-.html (original)
+++ websites/production/activemq/content/what-open-source-integration-solution-works-best-with-activemq-.html Fri Jan  4 21:20:56 2013
@@ -796,7 +796,12 @@ activemq:[topic:]destinationName
 <pre class="code-xml">
 activemq.journal:directory-on-filesystem
 </pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Apache </td><td colspan="1" rowspan="1" class="confluenceTd"> Uses ActiveMQ's fast disk journaling implementation to store message bodies in a rolling log file </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="https://cwiki.apache.org/confluence/display/CAMEL/Db4o" title="Db4o">Db4o</a> / camel-db4o in <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/" rel="nofollow">camel-extra</a>
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Apache </td><td colspan="1" rowspan="1" class="confluenceTd"> Uses ActiveMQ's fast disk journaling implementation to store message bodies in a rolling log file </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" class="external-link" href="http://www.activiti.org/" rel="nofollow">Activiti</a> / activiti-camel 
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">
+activiti:camelProcess:serviceTask
+</pre>
+</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Apache </td><td colspan="1" rowspan="1" class="confluenceTd"> For working with <a shape="rect" class="external-link" href="http://www.activiti.org/" rel="nofollow">Activiti</a>, a light-weight workflow and Business Process Management (BPM) platform which supports BPMN 2 </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="https://cwiki.apache.org/confluence/display/CAMEL/Db4o" title="Db4o">Db4o</a> / camel-db4o in <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/" rel="nofollow">camel-extra</a>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <pre class="code-xml">
 db4o://className

Modified: websites/production/activemq/content/what-platforms-does-activemq-support.html
==============================================================================
--- websites/production/activemq/content/what-platforms-does-activemq-support.html (original)
+++ websites/production/activemq/content/what-platforms-does-activemq-support.html Fri Jan  4 21:20:56 2013
@@ -74,7 +74,7 @@
           <div class="wiki-content maincontent">
 <h2><a shape="rect" name="WhatplatformsdoesActiveMQsupport-WhatplatformsdoesActiveMQSupport%3F"></a>What platforms does ActiveMQ Support?</h2>
 
-<p>ActiveMQ 5.x supports any Java platform of JDK 5.0 or later. To run on 1.4 see <a shape="rect" class="createlink" href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=ACTIVEMQ&amp;title=Can+I+use+ActiveMQ+5.0+or+later+on+Java+1.4&amp;linkCreation=true&amp;fromPageId=35918">these instructions</a>. You can use ActiveMQ 4.x on Java 1.4</p>
+<p>ActiveMQ 5.x supports any Java platform of JDK 5.0 or later. To run on 1.4 see <span class="error">[these instructions]</span>. You can use ActiveMQ 4.x on Java 1.4</p>
 
 <p>ActiveMQ is based on J2EE 1.4 or later and so implements JMS 1.1 and a JCA 1.5 Resource Adaptor.</p>
 

Modified: websites/production/activemq/content/why-do-kahadb-log-files-remain-after-cleanup.html
==============================================================================
--- websites/production/activemq/content/why-do-kahadb-log-files-remain-after-cleanup.html (original)
+++ websites/production/activemq/content/why-do-kahadb-log-files-remain-after-cleanup.html Fri Jan  4 21:20:56 2013
@@ -115,7 +115,7 @@ In any event, the logging will help you 
  TRACE | gc candidates: [87] | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal Checkpoint Worker
  DEBUG | Cleanup removing the data files: [87] | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal Checkpoint Worker</pre>
 </div></div>
-<p>We get one candidate, data-87.log from the existing set of journal data files <tt>[86, 87, 163, 164]</tt>. There is a current transaction using 164, destination (Queue named D) <tt>'0:D'</tt> has some messages in 163, destination <tt>'0:I'</tt> has messages in 86 and 87 is unreferenced. In this case, there must be some long standing unacked messages or a very slow consumer on destination <tt>'0:I'</tt>.<br clear="none">
+<p>We get one candidate, data-87.log from the existing set of journal data files <tt>[86, 87, 163, 164]</tt>. There is a current transaction using 164, destination (Queue named E) <tt>'0\:E'</tt> has some messages in 163, destination <tt>'0:I'</tt> has messages in 86 and 87 is unreferenced. In this case, there must be some long standing unacked messages or a very slow consumer on destination <tt>'0:I'</tt>.<br clear="none">
 The <tt>'0:'</tt> prefix is shorthand for a queue, <tt>'1:'</tt> for a topic, i.e: <tt>dest:1:B</tt> is a topic named B.</p>
 
           </div>

Modified: websites/production/activemq/content/xml-reference.html
==============================================================================
--- websites/production/activemq/content/xml-reference.html (original)
+++ websites/production/activemq/content/xml-reference.html Fri Jan  4 21:20:56 2013
@@ -85,7 +85,7 @@
 
 <h2><a shape="rect" name="XmlReference-UsingtheXSDsinconfigurationfiles"></a>Using the XSDs in configuration files</h2>
 
-<p>If you are using XBean to parse the XML configurations, the XML validation is optional so you do not need to specify the XML Schema Locations. However if you are using <a shape="rect" class="createlink" href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=ACTIVEMQ&amp;title=Spring&amp;linkCreation=true&amp;fromPageId=36211">Spring</a>'s 2.0 XML handling to parse the XML then you need to refer to the XSD locations in your XML document because Spring uses schema namespace or schema location to resolve namespace handlers. Without correct namespace definition you will get messages like below:</p>
+<p>If you are using XBean to parse the XML configurations, the XML validation is optional so you do not need to specify the XML Schema Locations. However if you are using <span class="error">[Spring]</span>'s 2.0 XML handling to parse the XML then you need to refer to the XSD locations in your XML document because Spring uses schema namespace or schema location to resolve namespace handlers. Without correct namespace definition you will get messages like below:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <pre class="code-java">Unable to locate NamespaceHandler <span class="code-keyword">for</span> namespace [http:<span class="code-comment">//activemq.org/config/1.0]</span></pre>
 </div></div>