[Jboss-cvs] JBossAS SVN: r55139 - trunk/testsuite/imports

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Aug 3 17:11:26 EDT 2006


Author: bstansberry at jboss.com
Date: 2006-08-03 17:11:25 -0400 (Thu, 03 Aug 2006)
New Revision: 55139

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

Modified: trunk/testsuite/imports/server-config.xml
===================================================================
--- trunk/testsuite/imports/server-config.xml	2006-08-03 20:00:05 UTC (rev 55138)
+++ trunk/testsuite/imports/server-config.xml	2006-08-03 21:11:25 UTC (rev 55139)
@@ -420,12 +420,16 @@
    <!-- A macro for setting up a node ready for http clustering config change -->
    <macrodef name="http-cluster-node-config-change">
       <attribute name="conf"/>
+ 	  <attribute name="useBuddyRepl" default="false"/>
       <sequential>
          <echo message="Giving a name to the Tomcat instance under ${jboss.dist}/server/@{conf}"/>
          <!-- Switch from sync to async mode in tc6-cluster.sar/META-INF/jboss-service.xml -->
          <replace file="${jboss.dist}/server/@{conf}/deploy/tc6-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/tc6-cluster.sar/META-INF/jboss-service.xml"
+      	   token="buddyReplicationEnabled&gt;true" value="buddyReplicationEnabled&gt;@{useBuddyRepl}"/>
+      	 <!-- Added jvmRoute in server.xml -->
          <replace file="${jboss.dist}/server/@{conf}/deploy/jbossweb-tomcat6.sar/server.xml"
            token="jvmRoute=&quot;@{conf}&quot;" value=""/>
           <replace file="${jboss.dist}/server/@{conf}/deploy/jbossweb-tomcat6.sar/server.xml"




More information about the jboss-cvs-commits mailing list