[jboss-cvs] JBoss Messaging SVN: r5392 - in branches/Branch_1_4/docs: examples/destinations and 10 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Nov 19 19:41:52 EST 2008


Author: clebert.suconic at jboss.com
Date: 2008-11-19 19:41:52 -0500 (Wed, 19 Nov 2008)
New Revision: 5392

Added:
   branches/Branch_1_4/docs/examples/destinations/
   branches/Branch_1_4/docs/examples/destinations/jbm-examples-destinations-service.xml
Removed:
   branches/Branch_1_4/docs/examples/ejb3mdb/etc/META-INF/ejb-jar.xml
   branches/Branch_1_4/docs/examples/ejb3mdb/etc/META-INF/jboss.xml
Modified:
   branches/Branch_1_4/docs/examples/distributed-queue/README.html
   branches/Branch_1_4/docs/examples/distributed-queue/build.xml
   branches/Branch_1_4/docs/examples/distributed-topic/README.html
   branches/Branch_1_4/docs/examples/distributed-topic/build.xml
   branches/Branch_1_4/docs/examples/ejb3mdb/build.xml
   branches/Branch_1_4/docs/examples/http/build.xml
   branches/Branch_1_4/docs/examples/mdb-failure/build.xml
   branches/Branch_1_4/docs/examples/mdb/build.xml
   branches/Branch_1_4/docs/examples/queue-failover/README.html
   branches/Branch_1_4/docs/examples/queue-failover/build.xml
   branches/Branch_1_4/docs/examples/queue/build.xml
   branches/Branch_1_4/docs/userguide/en/modules/configuration.xml
   branches/Branch_1_4/docs/userguide/en/modules/installation.xml
   branches/Branch_1_4/docs/userguide/en/modules/runningexamples.xml
Log:
Adequating examples

Added: branches/Branch_1_4/docs/examples/destinations/jbm-examples-destinations-service.xml
===================================================================
--- branches/Branch_1_4/docs/examples/destinations/jbm-examples-destinations-service.xml	                        (rev 0)
+++ branches/Branch_1_4/docs/examples/destinations/jbm-examples-destinations-service.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+     Messaging Example Destinations
+ -->
+
+<server>
+   <mbean code="org.jboss.jms.server.destination.TopicService"
+      name="jboss.messaging.destination:service=Topic,name=testTopic"
+      xmbean-dd="xmdesc/Topic-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+      <attribute name="SecurityConfig">
+         <security>
+            <role name="guest" read="true" write="true"/>
+            <role name="publisher" read="true" write="true" create="false"/>
+            <role name="durpublisher" read="true" write="true" create="true"/>
+         </security>
+      </attribute>
+   </mbean>
+
+   <mbean code="org.jboss.jms.server.destination.TopicService"
+      name="jboss.messaging.destination:service=Topic,name=securedTopic"
+      xmbean-dd="xmdesc/Topic-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+      <attribute name="SecurityConfig">
+         <security>
+            <role name="publisher" read="true" write="true" create="false"/>
+         </security>
+      </attribute>
+   </mbean>
+
+   <mbean code="org.jboss.jms.server.destination.TopicService"
+      name="jboss.messaging.destination:service=Topic,name=testDurableTopic"
+      xmbean-dd="xmdesc/Topic-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+      <attribute name="SecurityConfig">
+         <security>
+            <role name="guest" read="true" write="true"/>
+            <role name="publisher" read="true" write="true" create="false"/>
+            <role name="durpublisher" read="true" write="true" create="true"/>
+         </security>
+      </attribute>
+   </mbean>
+
+   <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.messaging.destination:service=Queue,name=testQueue"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+      <attribute name="SecurityConfig">
+         <security>
+            <role name="guest" read="true" write="true"/>
+            <role name="publisher" read="true" write="true" create="false"/>
+            <role name="noacc" read="false" write="false" create="false"/>
+         </security>
+      </attribute>
+   </mbean>
+
+   <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.messaging.destination:service=Queue,name=A"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+   </mbean>
+
+   <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.messaging.destination:service=Queue,name=B"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+   </mbean>
+
+   <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.messaging.destination:service=Queue,name=C"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+   </mbean>
+
+   <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.messaging.destination:service=Queue,name=D"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+   </mbean>
+
+   <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.messaging.destination:service=Queue,name=ex"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+   </mbean>
+   
+   <!-- It's possible for indiviual queues and topics to use a specific queue for
+   an expiry or DLQ -->
+   
+   <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.messaging.destination:service=Queue,name=PrivateDLQ"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+   </mbean>
+   
+   <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+   </mbean>      
+   
+   <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.messaging.destination:service=Queue,name=QueueWithOwnDLQAndExpiryQueue"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+      <attribute name="DLQ">jboss.messaging.destination:service=Queue,name=PrivateDLQ</attribute>
+      <attribute name="ExpiryQueue">jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue</attribute>
+   </mbean> 
+   
+   <mbean code="org.jboss.jms.server.destination.TopicService"
+      name="jboss.messaging.destination:service=Topic,name=TopicWithOwnDLQAndExpiryQueue"
+      xmbean-dd="xmdesc/Topic-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+      <attribute name="DLQ">jboss.messaging.destination:service=Queue,name=PrivateDLQ</attribute>
+      <attribute name="ExpiryQueue">jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue</attribute>
+   </mbean>       
+   
+   <!-- Queues and Topics can also specify their own redelivery delay -->
+   
+   <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.messaging.destination:service=Queue,name=QueueWithOwnRedeliveryDelay"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+      <attribute name="RedeliveryDelay">5000</attribute>
+   </mbean>
+   
+   <mbean code="org.jboss.jms.server.destination.TopicService"
+      name="jboss.messaging.destination:service=Topic,name=TopicWithOwnRedeliveryDelay"
+      xmbean-dd="xmdesc/Topic-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+      <attribute name="RedeliveryDelay">5000</attribute>
+   </mbean>     
+   
+   <!--
+        Example clustered destinations.
+   -->
+   
+   <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.messaging.destination:service=Queue,name=testDistributedQueue"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+      <attribute name="Clustered">true</attribute>
+   </mbean>   
+   
+   <mbean code="org.jboss.jms.server.destination.TopicService"
+      name="jboss.messaging.destination:service=Topic,name=testDistributedTopic"
+      xmbean-dd="xmdesc/Topic-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+      <depends>jboss.messaging:service=PostOffice</depends>
+      <attribute name="Clustered">true</attribute>
+   </mbean>   
+</server>
\ No newline at end of file

Modified: branches/Branch_1_4/docs/examples/distributed-queue/README.html
===================================================================
--- branches/Branch_1_4/docs/examples/distributed-queue/README.html	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/distributed-queue/README.html	2008-11-20 00:41:52 UTC (rev 5392)
@@ -21,8 +21,15 @@
 This example relies on having access to a running JBoss Messaging
 cluster with at least two nodes. The JBoss Messaging cluster must be
 installed and started according to the user guide.
+<br><br>
+For JBoss5, you should copy all as messaging-node0, configure mysql as a database, make it clustered, and copy it as messaging-node1. Start each instance as:
+<br><br>
+./run -c messaging-node0
+<br><br>
 <br>
-<br>
+and in another window
+<br><br>
+./run.sh -c messaging-node1 -Djboss.service.binding.set=ports-01 -Djboss.messaging.ServerPeerID=1
 <span style="font-style: italic;"></span><br>
 <h2>Running the example</h2>
 <span style="font-family: monospace;"></span><span

Modified: branches/Branch_1_4/docs/examples/distributed-queue/build.xml
===================================================================
--- branches/Branch_1_4/docs/examples/distributed-queue/build.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/distributed-queue/build.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -19,12 +19,15 @@
 	<property name="messaging.client.jar.path" value="../../" />
 	<property name="messaging.client.jar.name" value="jboss-messaging-client.jar" />
 	<property name="jboss.home" value="${ENV.JBOSS_HOME}" />
-	<property name="jboss.configuration0" value="messaging-node0" />
+	<property name="jboss.configuration" value="messaging-node0" />
 	<property name="example.queue.name" value="testDistributedQueue" />
 
+	<!-- Use this following set of variables for JBoss4 and EAP 4.3
+
+	<property name="ej3-extension" value="ejb3"/>
+	
 	<path id="common.compilation.classpath">
 		<fileset file="${jboss.home}/client/jboss-j2ee.jar" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
 		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
 	</path>
 
@@ -37,9 +40,50 @@
 		<pathelement path="./etc" />
 		<pathelement path="../common/output/classes" />
 		<pathelement path="./output/classes" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
+		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jbossall-client.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/log4j.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/javassist.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/trove.jar" />
 	</path>
+	
+	 
+	End Set for JBoss4 and EAP 4.3 -->
+	
+	<property name="ej3-extension" value="jar"/>
 
+	<path id="common.compilation.classpath">
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+	</path>
+
+	<path id="example.compilation.classpath">
+		<path refid="common.compilation.classpath" />
+		<pathelement path="../common/output/classes" />
+	</path>
+
+	<path id="execution.classpath">
+		<pathelement path="./etc" />
+		<pathelement path="../common/output/classes" />
+		<pathelement path="./output/classes" />
+		<fileset file="${jboss.home}/client/jnp-client.jar" />
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+		<fileset file="${jboss.home}/client/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jboss-serialization.jar" />
+		<fileset file="${jboss.home}/client/javassist.jar" />
+		<fileset file="${jboss.home}/client/jboss-aop-client.jar" />
+		<fileset file="${jboss.home}/client/trove.jar" />
+		<fileset file="${jboss.home}/client/log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-spi.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-common-core.jar" />
+		<fileset file="${jboss.home}/client/jboss-mdr.jar" />
+		<fileset file="${jboss.home}/client/concurrent.jar" />
+	</path>
+
 	<target name="identify">
 		<echo message="###########################################################################" />
 		<echo message="#                Running the DISTRIBUTED QUEUE example                    #" />

Modified: branches/Branch_1_4/docs/examples/distributed-topic/README.html
===================================================================
--- branches/Branch_1_4/docs/examples/distributed-topic/README.html	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/distributed-topic/README.html	2008-11-20 00:41:52 UTC (rev 5392)
@@ -22,7 +22,17 @@
 This example relies on having access to a running JBoss Messaging
 cluster with at least two nodes. The JBoss Messaging cluster must be
 installed and started according to the userguide.
+<br><br>
+<br><br>
+For JBoss5, you should copy all as messaging-node0, configure mysql as a database, make it clustered, and copy it as messaging-node1. Start each instance as:
+<br><br>
+./run -c messaging-node0
+<br><br>
 <br>
+and in another window
+<br><br>
+./run.sh -c messaging-node1 -Djboss.service.binding.set=ports-01 -Djboss.messaging.ServerPeerID=1
+<br>
 <span style="font-style: italic;"></span><br>
 <h2>Running the example</h2>
 <span style="font-family: monospace;"></span><span

Modified: branches/Branch_1_4/docs/examples/distributed-topic/build.xml
===================================================================
--- branches/Branch_1_4/docs/examples/distributed-topic/build.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/distributed-topic/build.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -22,9 +22,12 @@
 	<property name="jboss.configuration0" value="messaging-node0" />
 	<property name="example.topic.name" value="testDistributedTopic" />
 
+	<!-- Use this following set of variables for JBoss4 and EAP 4.3
+
+	<property name="ej3-extension" value="ejb3"/>
+	
 	<path id="common.compilation.classpath">
 		<fileset file="${jboss.home}/client/jboss-j2ee.jar" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
 		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
 	</path>
 
@@ -37,9 +40,50 @@
 		<pathelement path="./etc" />
 		<pathelement path="../common/output/classes" />
 		<pathelement path="./output/classes" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
+		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jbossall-client.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/log4j.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/javassist.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/trove.jar" />
 	</path>
+	
+	 
+	End Set for JBoss4 and EAP 4.3 -->
+	
+	<property name="ej3-extension" value="jar"/>
 
+	<path id="common.compilation.classpath">
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+	</path>
+
+	<path id="example.compilation.classpath">
+		<path refid="common.compilation.classpath" />
+		<pathelement path="../common/output/classes" />
+	</path>
+
+	<path id="execution.classpath">
+		<pathelement path="./etc" />
+		<pathelement path="../common/output/classes" />
+		<pathelement path="./output/classes" />
+		<fileset file="${jboss.home}/client/jnp-client.jar" />
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+		<fileset file="${jboss.home}/client/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jboss-serialization.jar" />
+		<fileset file="${jboss.home}/client/javassist.jar" />
+		<fileset file="${jboss.home}/client/jboss-aop-client.jar" />
+		<fileset file="${jboss.home}/client/trove.jar" />
+		<fileset file="${jboss.home}/client/log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-spi.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-common-core.jar" />
+		<fileset file="${jboss.home}/client/jboss-mdr.jar" />
+		<fileset file="${jboss.home}/client/concurrent.jar" />
+	</path>
+
 	<target name="identify">
 		<echo message="###########################################################################" />
 		<echo message="#                Running the DISTRIBUTED TOPIC example                    #" />

Modified: branches/Branch_1_4/docs/examples/ejb3mdb/build.xml
===================================================================
--- branches/Branch_1_4/docs/examples/ejb3mdb/build.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/ejb3mdb/build.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -19,10 +19,14 @@
 	<property name="jboss.home" value="${ENV.JBOSS_HOME}" />
 	<property name="jboss.configuration" value="messaging" />
 	<property name="example.queue.name" value="testQueue" />
+	
 
+	<!-- Use this following set of variables for JBoss4 and EAP 4.3
+
+	<property name="ej3-extension" value="ejb3"/>
+	
 	<path id="common.compilation.classpath">
 		<fileset file="${jboss.home}/client/jboss-j2ee.jar" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
 		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
 	</path>
 
@@ -35,9 +39,51 @@
 		<pathelement path="./etc" />
 		<pathelement path="../common/output/classes" />
 		<pathelement path="./output/classes" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
+		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jbossall-client.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/log4j.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/javassist.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/trove.jar" />
 	</path>
+	
+	 
+	End Set for JBoss4 and EAP 4.3 -->
+	
+	<property name="ej3-extension" value="jar"/>
 
+	<path id="common.compilation.classpath">
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+	</path>
+
+	<path id="example.compilation.classpath">
+		<path refid="common.compilation.classpath" />
+		<pathelement path="../common/output/classes" />
+	</path>
+
+	<path id="execution.classpath">
+		<pathelement path="./etc" />
+		<pathelement path="../common/output/classes" />
+		<pathelement path="./output/classes" />
+		<fileset file="${jboss.home}/client/jnp-client.jar" />
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+		<fileset file="${jboss.home}/client/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jboss-serialization.jar" />
+		<fileset file="${jboss.home}/client/javassist.jar" />
+		<fileset file="${jboss.home}/client/jboss-aop-client.jar" />
+		<fileset file="${jboss.home}/client/trove.jar" />
+		<fileset file="${jboss.home}/client/log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-spi.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-common-core.jar" />
+		<fileset file="${jboss.home}/client/jboss-mdr.jar" />
+		<fileset file="${jboss.home}/client/concurrent.jar" />
+	</path>
+
+
 	<target name="identify">
 		<echo message="###########################################################################" />
 		<echo message="#                     Running the EJB3 MDB example                        #" />
@@ -46,14 +92,7 @@
 		<echo message="The client jar: ${messaging.client.jar.path}/${messaging.client.jar.name}" />
 	</target>
 
-	<target name="sanity-check" depends="identify">
-		<available property="client.jar.present" file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
-		<fail message="Could not find client jar ${messaging.client.jar.path}/${messaging.client.jar.name}" unless="client.jar.present" />
-		<available property="ejb3.support.installed" file="${jboss.home}/server/${jboss.configuration}/deploy/ejb3.deployer" />
-		<fail message="EJB3 does not seem to be installed in ${jboss.home}/server/${jboss.configuration}! Install it and try again." unless="ejb3.support.installed" />
-	</target>
-
-	<target name="init" depends="sanity-check">
+	<target name="init" >
 		<mkdir dir="./output/classes/META-INF" />
 		<mkdir dir="./output/lib/META-INF" />
 		<mkdir dir="../common/output/classes" />
@@ -77,11 +116,11 @@
 				<filter token="QUEUE_NAME" value="${example.queue.name}" />
 			</filterset>
 		</copy>
-		<jar destfile="./output/lib/mdb-example.ejb3" basedir="./output/classes" includes="META-INF/**,org/jboss/example/**/EJB3MDBExample.class" />
+		<jar destfile="./output/lib/mdb-example.${ej3-extension}" basedir="./output/classes" includes="META-INF/**,org/jboss/example/**/EJB3MDBExample.class" />
 	</target>
 
 	<target name="deploy" depends="jar">
-		<copy file="./output/lib/mdb-example.ejb3" todir="${jboss.home}/server/${jboss.configuration}/deploy" />
+		<copy file="./output/lib/mdb-example.${ej3-extension}" todir="${jboss.home}/server/${jboss.configuration}/deploy" />
 		<antcall target="sleep">
 			<param name="sleep.interval" value="5" />
 		</antcall>
@@ -105,7 +144,7 @@
 	</target>
 
 	<target name="undeploy">
-		<delete file="${jboss.home}/server/${jboss.configuration}/deploy/mdb-example.ejb3" quiet="true" />
+		<delete file="${jboss.home}/server/${jboss.configuration}/deploy/mdb-example.${ej3-extension}" quiet="true" />
 	</target>
 
 	<target name="clean" depends="undeploy">

Deleted: branches/Branch_1_4/docs/examples/ejb3mdb/etc/META-INF/ejb-jar.xml
===================================================================
--- branches/Branch_1_4/docs/examples/ejb3mdb/etc/META-INF/ejb-jar.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/ejb3mdb/etc/META-INF/ejb-jar.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -1,25 +0,0 @@
-<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
-    "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
-
-<!-- $Id$ -->
-
-<!--
-    Note: This deployment descriptor (or any deployment descriptor) is NOT mandatory with EJB3 beans.
-          It is here to:
-          1. Demonstrate the use of deployment descriptors, in case you need to override
-             configuration at deployment.
-          2. Add a degree of flexibility to this example to be used with smoke tests.
--->
-<ejb-jar>
-    <enterprise-beans>
-        <message-driven>
-            <ejb-name>EJB3MDBExample</ejb-name>
-            <ejb-class>org.jboss.example.jms.ejb3mdb.EJB3MDBExample</ejb-class>
-            <transaction-type>Container</transaction-type>
-            <message-driven-destination>
-               <destination-type>javax.jms.Queue</destination-type>
-            </message-driven-destination>
-        </message-driven>
-    </enterprise-beans>
-</ejb-jar>
\ No newline at end of file

Deleted: branches/Branch_1_4/docs/examples/ejb3mdb/etc/META-INF/jboss.xml
===================================================================
--- branches/Branch_1_4/docs/examples/ejb3mdb/etc/META-INF/jboss.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/ejb3mdb/etc/META-INF/jboss.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE jboss PUBLIC
-   "-//JBoss//DTD JBOSS 3.0//EN"
-   "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">
-
-<!-- $Id$ -->
-
-<!--
-    Note: This deployment descriptor (or any deployment descriptor) is NOT mandatory with EJB3 beans.
-          It is here to:
-          1. Demonstrate the use of deployment descriptors, in case you need to override
-             configuration at deployment.
-          2. Add a degree of flexibility to this example to be used with smoke tests.
--->
-<jboss>
-
-   <enterprise-beans>
-      <message-driven>
-         <ejb-name>EJB3MDBExample</ejb-name>
-         <destination-jndi-name>queue/@QUEUE_NAME@</destination-jndi-name>
-      </message-driven>
-   </enterprise-beans>
-
-</jboss>
-

Modified: branches/Branch_1_4/docs/examples/http/build.xml
===================================================================
--- branches/Branch_1_4/docs/examples/http/build.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/http/build.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -21,9 +21,10 @@
 	<property name="jboss.configuration" value="messaging" />
 	<property name="example.queue.name" value="testQueue" />
 
+	<!-- Use this following set of variables for JBoss4 and EAP 4.3
+	
 	<path id="common.compilation.classpath">
 		<fileset file="${jboss.home}/client/jboss-j2ee.jar" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
 		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
 	</path>
 
@@ -36,9 +37,53 @@
 		<pathelement path="./etc" />
 		<pathelement path="../common/output/classes" />
 		<pathelement path="./output/classes" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
+		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jbossall-client.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/log4j.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/javassist.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/trove.jar" />
 	</path>
+	
+	 
+	End Set for JBoss4 and EAP 4.3 -->
 
+	<path id="common.compilation.classpath">
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+	</path>
+
+	<path id="example.compilation.classpath">
+		<path refid="common.compilation.classpath" />
+		<pathelement path="../common/output/classes" />
+	</path>
+
+	<path id="execution.classpath">
+		<pathelement path="./etc" />
+		<pathelement path="../common/output/classes" />
+		<pathelement path="./output/classes" />
+		<fileset file="${jboss.home}/client/jnp-client.jar" />
+		<!-- this is for the HTTP JNDI -->
+		<fileset file="${jboss.home}/client/jboss-client.jar" />
+		<fileset file="${jboss.home}/client/jbosssx-client.jar" />
+		<fileset file="${jboss.home}/client/jboss-security-spi.jar" />
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+		<fileset file="${jboss.home}/client/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jboss-serialization.jar" />
+		<fileset file="${jboss.home}/client/javassist.jar" />
+		<fileset file="${jboss.home}/client/jboss-aop-client.jar" />
+		<fileset file="${jboss.home}/client/trove.jar" />
+		<fileset file="${jboss.home}/client/log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-spi.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-common-core.jar" />
+		<fileset file="${jboss.home}/client/jboss-mdr.jar" />
+		<fileset file="${jboss.home}/client/concurrent.jar" />
+	</path>
+
+
 	<target name="identify">
 		<echo message="############################################################################" />
 		<echo message="#                         Running the HTTP example                         #" />
@@ -47,12 +92,7 @@
 		<echo message="The client jar: ${messaging.client.jar.path}/${messaging.client.jar.name}" />
 	</target>
 
-	<target name="sanity-check" depends="identify">
-		<available property="client.jar.present" file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
-		<fail message="Could not find client jar ${messaging.client.jar.path}/${messaging.client.jar.name}" unless="client.jar.present" />
-	</target>
-
-	<target name="init" depends="sanity-check">
+	<target name="init" >
 		<mkdir dir="./output/classes" />
 		<mkdir dir="../common/output/classes" />
 	</target>

Modified: branches/Branch_1_4/docs/examples/mdb/build.xml
===================================================================
--- branches/Branch_1_4/docs/examples/mdb/build.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/mdb/build.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -20,9 +20,12 @@
 	<property name="jboss.configuration" value="messaging" />
 	<property name="example.queue.name" value="testQueue" />
 
+	<!-- Use this following set of variables for JBoss4 and EAP 4.3
+
+	<property name="ej3-extension" value="ejb3"/>
+	
 	<path id="common.compilation.classpath">
 		<fileset file="${jboss.home}/client/jboss-j2ee.jar" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
 		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
 	</path>
 
@@ -35,9 +38,50 @@
 		<pathelement path="./etc" />
 		<pathelement path="../common/output/classes" />
 		<pathelement path="./output/classes" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
+		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jbossall-client.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/log4j.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/javassist.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/trove.jar" />
 	</path>
+	
+	 
+	End Set for JBoss4 and EAP 4.3 -->
+	
+	<property name="ej3-extension" value="jar"/>
 
+	<path id="common.compilation.classpath">
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+	</path>
+
+	<path id="example.compilation.classpath">
+		<path refid="common.compilation.classpath" />
+		<pathelement path="../common/output/classes" />
+	</path>
+
+	<path id="execution.classpath">
+		<pathelement path="./etc" />
+		<pathelement path="../common/output/classes" />
+		<pathelement path="./output/classes" />
+		<fileset file="${jboss.home}/client/jnp-client.jar" />
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+		<fileset file="${jboss.home}/client/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jboss-serialization.jar" />
+		<fileset file="${jboss.home}/client/javassist.jar" />
+		<fileset file="${jboss.home}/client/jboss-aop-client.jar" />
+		<fileset file="${jboss.home}/client/trove.jar" />
+		<fileset file="${jboss.home}/client/log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-spi.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-common-core.jar" />
+		<fileset file="${jboss.home}/client/jboss-mdr.jar" />
+		<fileset file="${jboss.home}/client/concurrent.jar" />
+	</path>
+
 	<target name="identify">
 		<echo message="###########################################################################" />
 		<echo message="#                        Running the MDB example                          #" />

Modified: branches/Branch_1_4/docs/examples/mdb-failure/build.xml
===================================================================
--- branches/Branch_1_4/docs/examples/mdb-failure/build.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/mdb-failure/build.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -23,9 +23,12 @@
 	<property name="jboss.configuration" value="messaging" />
 	<property name="example.queue.name" value="testQueue" />
 
+	<!-- Use this following set of variables for JBoss4 and EAP 4.3
+
+	<property name="ej3-extension" value="ejb3"/>
+	
 	<path id="common.compilation.classpath">
 		<fileset file="${jboss.home}/client/jboss-j2ee.jar" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
 		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
 	</path>
 
@@ -38,9 +41,50 @@
 		<pathelement path="./etc" />
 		<pathelement path="../common/output/classes" />
 		<pathelement path="./output/classes" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
+		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jbossall-client.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/log4j.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/javassist.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/trove.jar" />
 	</path>
+	
+	 
+	End Set for JBoss4 and EAP 4.3 -->
+	
+	<property name="ej3-extension" value="jar"/>
 
+	<path id="common.compilation.classpath">
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+	</path>
+
+	<path id="example.compilation.classpath">
+		<path refid="common.compilation.classpath" />
+		<pathelement path="../common/output/classes" />
+	</path>
+
+	<path id="execution.classpath">
+		<pathelement path="./etc" />
+		<pathelement path="../common/output/classes" />
+		<pathelement path="./output/classes" />
+		<fileset file="${jboss.home}/client/jnp-client.jar" />
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+		<fileset file="${jboss.home}/client/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jboss-serialization.jar" />
+		<fileset file="${jboss.home}/client/javassist.jar" />
+		<fileset file="${jboss.home}/client/jboss-aop-client.jar" />
+		<fileset file="${jboss.home}/client/trove.jar" />
+		<fileset file="${jboss.home}/client/log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-spi.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-common-core.jar" />
+		<fileset file="${jboss.home}/client/jboss-mdr.jar" />
+		<fileset file="${jboss.home}/client/concurrent.jar" />
+	</path>
+
 	<target name="identify">
 		<echo message="###########################################################################" />
 		<echo message="#                    Running the MDB Failure example                      #" />

Modified: branches/Branch_1_4/docs/examples/queue/build.xml
===================================================================
--- branches/Branch_1_4/docs/examples/queue/build.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/queue/build.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -20,9 +20,10 @@
 	<property name="jboss.configuration" value="messaging" />
 	<property name="example.queue.name" value="testQueue" />
 
+	<!-- Use this following set of variables for JBoss4 and EAP 4.3
+	
 	<path id="common.compilation.classpath">
 		<fileset file="${jboss.home}/client/jboss-j2ee.jar" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
 		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
 	</path>
 
@@ -35,9 +36,48 @@
 		<pathelement path="./etc" />
 		<pathelement path="../common/output/classes" />
 		<pathelement path="./output/classes" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
+		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jbossall-client.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/log4j.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/javassist.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/trove.jar" />
 	</path>
+	
+	 
+	End Set for JBoss4 and EAP 4.3 -->
 
+	<path id="common.compilation.classpath">
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+	</path>
+
+	<path id="example.compilation.classpath">
+		<path refid="common.compilation.classpath" />
+		<pathelement path="../common/output/classes" />
+	</path>
+
+	<path id="execution.classpath">
+		<pathelement path="./etc" />
+		<pathelement path="../common/output/classes" />
+		<pathelement path="./output/classes" />
+		<fileset file="${jboss.home}/client/jnp-client.jar" />
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+		<fileset file="${jboss.home}/client/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jboss-serialization.jar" />
+		<fileset file="${jboss.home}/client/javassist.jar" />
+		<fileset file="${jboss.home}/client/jboss-aop-client.jar" />
+		<fileset file="${jboss.home}/client/trove.jar" />
+		<fileset file="${jboss.home}/client/log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-spi.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-common-core.jar" />
+		<fileset file="${jboss.home}/client/jboss-mdr.jar" />
+		<fileset file="${jboss.home}/client/concurrent.jar" />
+	</path>
+
 	<target name="identify">
 		<echo message="###########################################################################" />
 		<echo message="#                       Running the QUEUE example                         #" />

Modified: branches/Branch_1_4/docs/examples/queue-failover/README.html
===================================================================
--- branches/Branch_1_4/docs/examples/queue-failover/README.html	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/queue-failover/README.html	2008-11-20 00:41:52 UTC (rev 5392)
@@ -23,6 +23,16 @@
 cluster with at least two nodes. The JBoss Messaging cluster must be
 installed and started according to the userguide.
 <br>
+<br><br>
+For JBoss5, you should copy all as messaging-node0, configure mysql as a database, make it clustered, and copy it as messaging-node1. Start each instance as:
+<br><br>
+./run -c messaging-node0
+<br><br>
+<br>
+and in another window
+<br><br>
+./run.sh -c messaging-node1 -Djboss.service.binding.set=ports-01 -Djboss.messaging.ServerPeerID=1
+
 This example also relies on having access to the <span
  style="font-family: monospace;">jboss-messaging-client.jar</span>
 archive included with the release bundle. If you run this example

Modified: branches/Branch_1_4/docs/examples/queue-failover/build.xml
===================================================================
--- branches/Branch_1_4/docs/examples/queue-failover/build.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/examples/queue-failover/build.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -20,9 +20,10 @@
 	<property name="jboss.configuration0" value="messaging-node0" />
 	<property name="example.queue.name" value="testDistributedQueue" />
 
+	<!-- Use this following set of variables for JBoss4 and EAP 4.3
+	
 	<path id="common.compilation.classpath">
 		<fileset file="${jboss.home}/client/jboss-j2ee.jar" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
 		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
 	</path>
 
@@ -35,9 +36,48 @@
 		<pathelement path="./etc" />
 		<pathelement path="../common/output/classes" />
 		<pathelement path="./output/classes" />
-		<fileset dir="${jboss.home}/client" includes="*.jar" />
+		<fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jbossall-client.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/log4j.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/lib/javassist.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar" />
+		<fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/trove.jar" />
 	</path>
+	
+	 
+	End Set for JBoss4 and EAP 4.3 -->
 
+	<path id="common.compilation.classpath">
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+	</path>
+
+	<path id="example.compilation.classpath">
+		<path refid="common.compilation.classpath" />
+		<pathelement path="../common/output/classes" />
+	</path>
+
+	<path id="execution.classpath">
+		<pathelement path="./etc" />
+		<pathelement path="../common/output/classes" />
+		<pathelement path="./output/classes" />
+		<fileset file="${jboss.home}/client/jnp-client.jar" />
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${jboss.home}/client/jboss-messaging.jar" />
+		<fileset file="${jboss.home}/client/jboss-remoting.jar" />
+		<fileset file="${jboss.home}/client/jboss-serialization.jar" />
+		<fileset file="${jboss.home}/client/javassist.jar" />
+		<fileset file="${jboss.home}/client/jboss-aop-client.jar" />
+		<fileset file="${jboss.home}/client/trove.jar" />
+		<fileset file="${jboss.home}/client/log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-spi.jar" />
+		<fileset file="${jboss.home}/client/jboss-logging-log4j.jar" />
+		<fileset file="${jboss.home}/client/jboss-common-core.jar" />
+		<fileset file="${jboss.home}/client/jboss-mdr.jar" />
+		<fileset file="${jboss.home}/client/concurrent.jar" />
+	</path>
+
 	<target name="identify">
 		<echo message="###########################################################################" />
 		<echo message="#                Running the QUEUE FAILOVER example                       #" />

Modified: branches/Branch_1_4/docs/userguide/en/modules/configuration.xml
===================================================================
--- branches/Branch_1_4/docs/userguide/en/modules/configuration.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/userguide/en/modules/configuration.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -106,10 +106,6 @@
     </section>
   </section>
 
-  <section id="conf.jb4.security">
-    <title>JBoss4/EAP4.3 Specific - Configuring the SecurityStore</title>
-  </section>
-
   <section id="conf.serverpeer">
     <title>Configuring the ServerPeer</title>
 
@@ -2507,6 +2503,8 @@
     
     <para>On JBoss4 you must match the remoting configs accordingly to remoting-bisocket-service.xml. On JBoss5 there is a simpler configuration where you just define the Ports using properties.</para>
     
+    <para>On JBoss5 you just need to define -Djboss.service.binding.set=ports-default|ports-01|ports-02 when you start your application server. Look at /server/conf/bindings.mxl and on JBoss5 documentation for more information.</para>
+    
     <para>If you are using a newer version of JBM in an older version of JBAS
     then the example bindings in the AS distribution may well be out of date.
     It is therefore imperative that the relevant sections are overwritten with

Modified: branches/Branch_1_4/docs/userguide/en/modules/installation.xml
===================================================================
--- branches/Branch_1_4/docs/userguide/en/modules/installation.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/userguide/en/modules/installation.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -250,7 +250,8 @@
               
               </programlisting>
 
-              <warning>You must ensure that the config (like above) is
+              <warning>The above config only apply to JBoss 4.2 and EAP 4.3.
+              On EAP4.3 and JBOSS 4.2 You must ensure that the config (like above) is
               identical to that in
               <literal>remoting-bisocket-service.xml</literal> With the
               exception of the actual serverBindPort which clearly must be
@@ -260,7 +261,8 @@
               may be out of date and you will need to copy the config from
               <literal>remoting-bisocket-service.xml. DO NOT just copy and
               paste from the above example - copy it from the JBoss Messaging
-              distribution.</literal></warning>
+              distribution.</literal>. On JBoss5 the ports are controlled by 
+              system-property substitution hence you don't need to worry about copying the config into bindings.xml</warning>
 
               <para>You should ensure that each node is configured to use a
               different ports range.</para>
@@ -904,7 +906,7 @@
   </section>
 
   <section id="inst.remoteclient">
-    <title>Accessing JBoss Messaging from a remote client</title>
+    <title>Accessing JBoss Messaging from a remote client - JBoss 4.2 and EAP 4.3</title>
 
     <para>In order to access JBoss Messaging from a client outside the JBoss
     app server, you will need to ensure the following jar files are on the
@@ -913,7 +915,7 @@
     <itemizedlist>
       <listitem>
         <para><note>
-             If you are using JBoss Messaging 1.4.1 outiside of JBoss 5 or EAP 4.3, you need to make sure you use a JBoss Remoting 2.5.0.SP1. If you are using JBoss5 or EAP 4.3 you will have the required JAR available already: 
+             If you are using JBoss Messaging 1.4.1 outiside of JBoss 4.2 or EAP 4.3, you need to make sure you use a JBoss Remoting 2.5.0.SP1. If you are using JBoss5 or EAP 4.3 you will have the required JAR available already: 
              The version could be found at: 
 
             <ulink
@@ -950,7 +952,7 @@
         <para>Javassist 3.9.0.GA-brew</para>
 
         <para><ulink
-		    url="http://repository.jboss.com/javassist/3.9.0.GA-brew/lib/">http://repository.jboss.com/javassist/3.9.0.GA-brew/lib/</ulink></para>
+		    url="http://repository.jboss.com/javassist/3.9.0.GA/lib/">http://repository.jboss.com/javassist/3.9.0.GA-brew/lib/</ulink></para>
       </listitem>
 
       <listitem>
@@ -968,6 +970,58 @@
     </itemizedlist>
   </section>
 
+  <section id="inst.remoteclient">
+    <title>Accessing JBoss Messaging from a remote client - JBoss 5.0</title>
+
+    <para>In order to access JBoss Messaging from a client outside the JBoss
+    app server, you will need to ensure the following jar files are on the
+    client classpath:</para>
+
+    <itemizedlist>
+      <listitem>
+        <para>/jboss/client/jboss-messaging.jar</para>
+      </listitem>
+
+      <listitem>
+        <para>jbossall-client.jar - This is available in your
+        $JBOSS_HOME/client directory</para>
+      </listitem>
+
+      <listitem>
+        <para>$JBOSS_HOME/server/&lt;SERVER_NAME&gt;/deploy/jboss-aop.deployer/jboss-aop.jar</para>
+
+        <para>JBoss AOP 2.0.0.GA</para>
+
+	<para><ulink  url="http://repository.jboss.com/jboss/aop/2.0.0.GA/lib/">http://repository.jboss.com/jboss/aop/2.0.0.GA/lib/</ulink></para>
+
+        <para>(For AOP, sometimes you have to use a specific JAR according to
+        your JVM of choice. Use the most convenient for you)</para>
+      </listitem>
+
+      <listitem>
+        <para>$JBOSS_HOME/server/&lt;SERVER_NAME&gt;/lib/javassist.jar</para>
+
+        <para>Javassist 3.9.0.GA-brew</para>
+
+        <para><ulink
+		    url="http://repository.jboss.com/javassist/3.9.0.GA/lib/">http://repository.jboss.com/javassist/3.9.0.GA-brew/lib/</ulink></para>
+      </listitem>
+
+      <listitem>
+        <para>$JBOSS_HOME/server/&lt;SERVER_NAME&gt;/lib/trove.jar</para>
+
+        <para>trove 1.0.2-brew</para>
+
+        <para><ulink
+        url="http://repository.jboss.com/trove/1.0.2-brew/lib/">http://repository.jboss.com/trove/1.0.2-brew/lib/</ulink></para>
+      </listitem>
+
+      <listitem>
+        <para>log4j</para>
+      </listitem>
+    </itemizedlist>
+  </section>
+
   <section id="inst.mqmessagemigration">
     <title>Migrating Messages from JBoss MQ to JBoss Messaging</title>
 

Modified: branches/Branch_1_4/docs/userguide/en/modules/runningexamples.xml
===================================================================
--- branches/Branch_1_4/docs/userguide/en/modules/runningexamples.xml	2008-11-19 16:06:47 UTC (rev 5391)
+++ branches/Branch_1_4/docs/userguide/en/modules/runningexamples.xml	2008-11-20 00:41:52 UTC (rev 5392)
@@ -3,8 +3,12 @@
   <title>Running the Examples</title>
 
   <para>In the directory <literal>docs/examples</literal>, you will find a set
-  of examples demonstrating JBoss Messaging working in various examples, they
-  include: <itemizedlist>
+  of examples demonstrating JBoss Messaging working in various examples</para>
+
+  <para>Before running these examples, you must deploy the example-destinations located under /docs/examples/destinations</para>
+
+  <para>Examples list:
+  <itemizedlist>
       <listitem>
         <para>docs/example/queue</para>
 




More information about the jboss-cvs-commits mailing list