Author: jmesnil
Date: 2009-10-13 11:39:49 -0400 (Tue, 13 Oct 2009)
New Revision: 8094
Modified:
trunk/docs/user-manual/en/using-jms.xml
Log:
"Using JMS" documentation
* added a note about JNDIServer bean being required only in stand-alone mode
Modified: trunk/docs/user-manual/en/using-jms.xml
===================================================================
--- trunk/docs/user-manual/en/using-jms.xml 2009-10-13 15:03:46 UTC (rev 8093)
+++ trunk/docs/user-manual/en/using-jms.xml 2009-10-13 15:39:49 UTC (rev 8094)
@@ -105,9 +105,7 @@
is the port used by the JNDI server and may vary depending on how you have
configured
your JNDI server.</para>
<para>In the default standalone configuration, JNDI server ports are
configured in the file
- <literal>hornetq-beans.xml</literal> (or
<literal>hornetq-beans.xml</literal> if
- you're running JBoss Application Server) where the JNDIServer bean is
confgured, here's
- a snippet from the file:</para>
+ <literal>hornetq-beans.xml</literal> by setting properties on
the <literal>JNDIServer</literal> bean:</para>
<programlisting>
<bean name="JNDIServer" class="org.jnp.server.Main">
<property name="namingInfo">
@@ -124,6 +122,12 @@
change it's bind address to something other than <literal
localhost</literal>!</para>
</note>
+ <note>
+ <para>The JNDIServer bean must be defined <emphasis>only when
HornetQ is running in stand-alone mode</emphasis>.
+ When HornetQ is integrated to JBoss Application Server, JBoss AS will
provide a ready-to-use
+ JNDI server without any additional configuration.</para>
+ </note>
+
</section>
<section>
<title>The code</title>