[jboss-cvs] JBossAS SVN: r95015 - in projects/docs/enterprise/5.0/Examples/jboss-messaging-examples: queue and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Oct 16 04:40:52 EDT 2009


Author: laubai
Date: 2009-10-16 04:40:52 -0400 (Fri, 16 Oct 2009)
New Revision: 95015

Modified:
   projects/docs/enterprise/5.0/Examples/jboss-messaging-examples/mdb/README.html
   projects/docs/enterprise/5.0/Examples/jboss-messaging-examples/queue/README.html
Log:
Corrected mdb and queue readmes.

Modified: projects/docs/enterprise/5.0/Examples/jboss-messaging-examples/mdb/README.html
===================================================================
--- projects/docs/enterprise/5.0/Examples/jboss-messaging-examples/mdb/README.html	2009-10-16 08:21:42 UTC (rev 95014)
+++ projects/docs/enterprise/5.0/Examples/jboss-messaging-examples/mdb/README.html	2009-10-16 08:40:52 UTC (rev 95015)
@@ -96,7 +96,7 @@
   </tbody>
 </table>
 
-<h2>Troublesooting</h2>
+<h2>Troubleshooting</h2>
 <h3>1. I get a <span style="font-family: monospace;">"javax.jms.JMSSecurityException:
 User null is NOT authenticated"</span> exception</h3>
 <p>

Modified: projects/docs/enterprise/5.0/Examples/jboss-messaging-examples/queue/README.html
===================================================================
--- projects/docs/enterprise/5.0/Examples/jboss-messaging-examples/queue/README.html	2009-10-16 08:21:42 UTC (rev 95014)
+++ projects/docs/enterprise/5.0/Examples/jboss-messaging-examples/queue/README.html	2009-10-16 08:40:52 UTC (rev 95015)
@@ -8,60 +8,33 @@
 <body>
 <br>
 <h1>JBoss Messaging Queue Example</h1>
-$Revision: 2750 $
+$ Revision: 2750 $
 <h2>Overview</h2>
-<br>
-This example creates a JMS Connection to a JBoss Messaging instance
-and uses it to create a session and a message producer, which sends a
-message to the queue "queue/testQueue".&nbsp; Then, the example uses
-the same connection to create a consumer that that reads
-a single message from the queue. The example is considered successful
-if the message consumer receives without any error the message that was
-sent by the producer. <br>
-<br>
-This example relies on having access to a running JBoss Messaging
-instance.
-The JBoss Messaging instance must be installed and started according to
-the
-"Installation" paragraph from the release documentation. However, the
-example will automatically deploy its own queue, unless a queue with
-the same name is already deployed. <br>
-<br>
-This example also relies on having access to <span
- style="font-family: monospace;">jboss-messaging-client.jar</span>
-archive that comes with the release bundle. If you run this example
-from an unzipped installation bundle, the example run script is
-correctly configured to find the client jar. Otherwise, you must modify
-example's <span style="font-family: monospace;">build.xml</span>
-accordingly.<br>
-<br>
-<span style="font-style: italic;"></span>
+<p>
+  This example creates a Java Message Service connection to a JBoss Messaging instance and uses it to create a session and a message producer, which sends a message to the <emphasis>queue/testQueue</emphasis>. The example then uses that connection to create a consumer that reads a single message from the queue. This example is considered successful if the message consumer receives, without error, the message that was sent by the producer.
+</p>
+<p>
+  This example requires access to a running JBoss Messaging instance installed and started according to the <emphasis>Installation</emphasis> section in the release documentation. The example will automatically deploy its own queue unless a queue with the same name is already deployed.
+</p>
+<p>
+  Finally, this example requires access to the <span style="font-family: monospace;">jboss-messaging-client.jar</span> archive included in the release bundle. If you run this example from an unzipped installation bundle, the example run script is already configured to locate the archive. Otherwise, you must modify the example's <span style="font-family: monospace;">build.xml</span> to reference the correct path.
+</p>
+
 <h2>Running the example</h2>
-1. Set up the JBOSS_HOME environment variable to point to the JBoss
-instance you deployed JBoss Messaging into. For example, if you
-deployed JBoss Messaging in <span style="font-family: monospace;">C:\jboss-4.2.0.GA\server\messaging\deploy,</span>
-then your JBOSS_HOME value should be <span
- style="font-family: monospace;">C:\</span><span
- style="font-family: monospace;">jboss-4.2.0.GA</span><br>
-<span style="font-family: monospace;"></span><span
- style="font-family: monospace;"></span><br>
-2. Go to the example's home directory<br>
-<br>
-<div style="margin-left: 40px;"><span style="font-family: monospace;">cd
-...\examples\queue</span><br>
-</div>
-<br>
-3. Run the example:<br>
-<br>
-<div style="margin-left: 40px;"><span style="font-family: monospace;">ant</span>
-<br>
-<br>
-<br>
-</div>
-The output of a successful run should be similar to:<br>
-<div style="margin-left: 40px;"><br>
-</div>
-<table
+<ol>
+  <li>
+    <p>Set the JBOSS_HOME environment variable to point to the JBoss Application Server instance into which you deployed JBoss Messaging. If you deployed JBoss Messaging into <span style="font-family: monospace;">C:\jboss-4.2.0.GA\server\messaging\deploy</span>, your JBOSS_HOME value should be <span style="font-family: monospace;">C:\jboss-4.2.0.GA.</span>.</p>
+  </li>
+  <li>
+    <p>Go to the example's home directory:</p>
+    <div style="margin-left: 40px;"><span style="font-family: monospace;">cd ...\examples\queue</span></div>
+  </li>
+  <li>
+    <p>Run the example:</p>
+    <div style="margin-left: 40px;"><span style="font-family: monospace;">ant</span></div>
+  </li>
+</ol>
+<p>A successful run should have output similar to the following:</p><table
  style="width: 90%; text-align: left; font-family: monospace; background-color: rgb(204, 204, 204); margin-left: 40px;"
  border="1" cellpadding="2" cellspacing="2">
   <tbody>
@@ -104,29 +77,12 @@
     </tr>
   </tbody>
 </table>
-<div style="margin-left: 40px;"><br>
-</div>
-<br>
-<br>
-<h2>Troublesooting</h2>
-<h3>1. I get <span style="font-family: monospace;">"javax.jms.JMSSecurityException:
-User null is NOT authenticated" <br>
-</span></h3>
-You probably didn't install JBoss Messaging correctly. A fresh JBoss
-Messaging installation requires changes in the security configuration
-of a <span style="font-family: monospace;">default </span>JBoss
-instance, specifically a properly configured "<small><span
- style="font-family: courier new,courier,monospace;">messaging</span></small>"
-security domain.&nbsp; Follow the instructions from the "Installation"
-paragraph of the release documentation. <br>
-<br>
-<br>
-<hr style="width: 100%; height: 2px;"><br>
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
+
+<h2>Troubleshooting</h2>
+<h3>1. I get a <span style="font-family: monospace;">"javax.jms.JMSSecurityException:
+User null is NOT authenticated"</span> exception</h3>
+<p>
+  JBoss Messaging may not have been installed correctly. A fresh installation of JBoss Messaging requires changes to the security configuration of a <span style="font-family: monospace;">default</span> JBoss instance. In particular, it requires a properly configured <span style="font-family: courier new,courier,monospace;">messaging</span> security domain. Follow the instructions in the <emphasis>Installation</emphasis> section of the release documentation.
+</p>
 </body>
 </html>




More information about the jboss-cvs-commits mailing list