[Jboss-cvs] JBossAS SVN: r55132 - branches/Branch_4_0/testsuite/imports

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Aug 3 15:21:08 EDT 2006


Author: bstansberry at jboss.com
Date: 2006-08-03 15:21:07 -0400 (Thu, 03 Aug 2006)
New Revision: 55132

Modified:
   branches/Branch_4_0/testsuite/imports/server-config.xml
Log:
Add toggle for whether or not buddy replication is enabled

Modified: branches/Branch_4_0/testsuite/imports/server-config.xml
===================================================================
--- branches/Branch_4_0/testsuite/imports/server-config.xml	2006-08-03 19:17:57 UTC (rev 55131)
+++ branches/Branch_4_0/testsuite/imports/server-config.xml	2006-08-03 19:21:07 UTC (rev 55132)
@@ -400,17 +400,21 @@
       </sequential>
    </macrodef>
 
-   <!-- A macro for setting up a node ready for http clustering with REPL_SYNC and JK -->
+   <!-- A macro for setting up a node ready for http clustering with REPL_SYNC, JK and BR -->
    <macrodef name="http-cluster-node-config-change">
       <attribute name="conf"/>
       <attribute name="jboss.dist" default="${jboss.dist}"
          description="The jboss dist root directory" />
+   	  <attribute name="br.enabled" default="false"/>
       <sequential>
          <echo message="Configuring the Tomcat instance under @{jboss.dist}/server/@{conf} for REPL_SYNC and UseJK"/>
          <!-- Switch from sync to async mode in tc5-cluster-service.xml -->
          <replace file="@{jboss.dist}/server/@{conf}/deploy/tc5-cluster.sar/META-INF/jboss-service.xml"
            token="&quot;CacheMode&quot;&gt;REPL_ASYNC" value="&quot;CacheMode&quot;&gt;REPL_SYNC"/>
-         <!-- Added jvmRoute in server.xml -->
+      	<!-- Toggle buddy replication in tc5-cluster-service.xml -->
+      	<replace file="@{jboss.dist}/server/@{conf}/deploy/tc5-cluster.sar/META-INF/jboss-service.xml"
+      	    token="&quot;buddyReplicationEnabled&quot;&gt;true" value="&quot;buddyReplicationEnabled&quot;&gt;@{br.enabled}"/>
+      	 <!-- Added jvmRoute in server.xml -->
          <replace file="@{jboss.dist}/server/@{conf}/deploy/jbossweb-tomcat55.sar/server.xml"
            token="jvmRoute=&quot;@{conf}&quot;" value=""/>
           <replace file="@{jboss.dist}/server/@{conf}/deploy/jbossweb-tomcat55.sar/server.xml"




More information about the jboss-cvs-commits mailing list