[jboss-cvs] JBoss Messaging SVN: r5407 - branches/Branch_1_4/docs/examples/queue-failover.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Nov 20 22:58:38 EST 2008


Author: clebert.suconic at jboss.com
Date: 2008-11-20 22:58:37 -0500 (Thu, 20 Nov 2008)
New Revision: 5407

Modified:
   branches/Branch_1_4/docs/examples/queue-failover/README.html
   branches/Branch_1_4/docs/examples/queue-failover/build.xml
Log:
Added classpath and fixed README

Modified: branches/Branch_1_4/docs/examples/queue-failover/README.html
===================================================================
--- branches/Branch_1_4/docs/examples/queue-failover/README.html	2008-11-21 03:12:38 UTC (rev 5406)
+++ branches/Branch_1_4/docs/examples/queue-failover/README.html	2008-11-21 03:58:37 UTC (rev 5407)
@@ -26,12 +26,12 @@
 <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
+./run -c messaging-node0 -Djboss.service.binding.set=ports-01
 <br><br>
 <br>
 and in another window
 <br><br>
-./run.sh -c messaging-node1 -Djboss.service.binding.set=ports-01 -Djboss.messaging.ServerPeerID=1
+./run.sh -c messaging-node1 -Djboss.service.binding.set=ports-02 -Djboss.messaging.ServerPeerID=1
 <br><br>
 This example also relies on having access to the <span
  style="font-family: monospace;">jboss-messaging-client.jar</span>

Modified: branches/Branch_1_4/docs/examples/queue-failover/build.xml
===================================================================
--- branches/Branch_1_4/docs/examples/queue-failover/build.xml	2008-11-21 03:12:38 UTC (rev 5406)
+++ branches/Branch_1_4/docs/examples/queue-failover/build.xml	2008-11-21 03:58:37 UTC (rev 5407)
@@ -17,7 +17,7 @@
 	<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
@@ -63,6 +63,10 @@
 		<pathelement path="../common/output/classes" />
 		<pathelement path="./output/classes" />
 		<fileset file="${jboss.home}/client/jnp-client.jar" />
+		<fileset file="${jboss.home}/client/jboss-client.jar" />
+		<fileset file="${jboss.home}/client/jboss-integration.jar" />
+		<fileset file="${jboss.home}/client/jboss-security-spi.jar" />
+		<fileset file="${jboss.home}/client/jbosssx-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" />
@@ -116,7 +120,7 @@
 	</target>
 
 	<target name="deploy" depends="jar">
-		<copy file="./output/lib/application-server-killer.jar" todir="${jboss.home}/server/messaging-node0/deploy" />
+		<copy file="./output/lib/application-server-killer.jar" todir="${jboss.home}/server/${jboss.configuration}/deploy" />
 		<antcall target="sleep">
 			<param name="sleep.interval" value="5" />
 		</antcall>
@@ -134,7 +138,7 @@
 	</target>
 
 	<target name="undeploy">
-		<delete file="${jboss.home}/server/messaging-node0/deploy/application-server-killer.jar" quiet="true" />
+		<delete file="${jboss.home}/server/${jboss.configuration}/deploy/application-server-killer.jar" quiet="true" />
 	</target>
 
 	<target name="clean" depends="undeploy">




More information about the jboss-cvs-commits mailing list