[jboss-cvs] JBoss Messaging SVN: r6581 - trunk/examples/javaee/hajndi.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Apr 27 12:06:37 EDT 2009
Author: jmesnil
Date: 2009-04-27 12:06:37 -0400 (Mon, 27 Apr 2009)
New Revision: 6581
Modified:
trunk/examples/javaee/hajndi/readme.html
Log:
updated readme with new AS 5 profile name
Modified: trunk/examples/javaee/hajndi/readme.html
===================================================================
--- trunk/examples/javaee/hajndi/readme.html 2009-04-27 14:45:41 UTC (rev 6580)
+++ trunk/examples/javaee/hajndi/readme.html 2009-04-27 16:06:37 UTC (rev 6581)
@@ -25,16 +25,19 @@
manual and the <i>Instantiate Connection Factory</i> example.</p>
<p>For more information on HA-JNDI, please consult the <a href="http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/5/html/clustering-jndi.html">JBoss Application Server Clustering Documentation</a>.</p>
<p>This example demonstrates a simple symmetric clustering configuration, and failover on JNDI (HAJNDI).</p>
- <h2>Please follow these steps to configure the example:</h2>
- <ol>
- <li>Define the property JBOSS_HOME pointing to the root of a JBoss 5.1 distribution</li>
- <li>Create a JBoss messaging clustered profile by typing <code>ant</code> int the <code>AS</code> directory off the root of
- the JBoss Messaging distribution. This will create a server profile called <code>$JBOSS_HOME/server/jbm2_symmetric</code>.</li>
- <li>Copy the directory <code>$JBOSS_HOME/server/jbm2_symmetric</code> to <code>$JBOSS_HOME/server/jbm2_symmetric_2</code>.</li>
- <li>Start the first server with <code>./run.sh -c jbm2_symmetric</code></li>
- <li>Start the second server with <code>./run.sh -c jbm2_symmetric_2 -Djboss.service.binding.set=ports-01</li>
+
+ <h2>Example configuration</h2>
+
+ <p>To run the example, you need to download JBoss AS 5.x and create a clustered configuration for JBoss Messaging.</p>
+
+ <p>Please refer to JBoss Messaging documentation to deploy it for JBoss AS 5 <span class="missing-doc">add a link to the doc</span></p>
+
+ <p>To run this example, we will need two clustered profiles, one for each server instance:</li>
+ <li>Copy the directory <code>$JBOSS_HOME/server/all-with-jbm2</code> to <code>$JBOSS_HOME/server/all-with-jbm2_2</code></li>
+ <li>Start the first server with <code>./run.sh -c all-with-jbm2</code></li>
+ <li>Start the second server with <code>./run.sh -c all-with-jbm2_2 -Djboss.service.binding.set=ports-01</code></li>
</ol>
- <h1>Example step by step</h1>
+ <h2>Example step by step</h2>
<ol>
<li>Create a JNDI Context using HAJNDI Properties.
<p>This JNDI is performing auto-discovery of the servers, by using the default UDP properties.</p>
More information about the jboss-cvs-commits
mailing list