[jboss-cvs] JBossAS SVN: r59780 - branches/Branch_4_2/ejb3.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jan 18 09:48:45 EST 2007


Author: wolfc
Date: 2007-01-18 09:48:45 -0500 (Thu, 18 Jan 2007)
New Revision: 59780

Modified:
   branches/Branch_4_2/ejb3/build-test.xml
Log:
Set -Xmx128m to counter OutOfMemoryError

Modified: branches/Branch_4_2/ejb3/build-test.xml
===================================================================
--- branches/Branch_4_2/ejb3/build-test.xml	2007-01-18 14:31:51 UTC (rev 59779)
+++ branches/Branch_4_2/ejb3/build-test.xml	2007-01-18 14:48:45 UTC (rev 59780)
@@ -70,6 +70,8 @@
    <echo message="${ejb3.dist}"/>
    <property name="jbosstest.dist" value="${ejb3.dist}"/>
 
+   <property name="ejb3.jboss.jvmargs" value="-Xmx128m"/>
+
    <macrodef name="wait-on-host">
       <attribute name="seconds" default="${jboss.startup.timeout}"/>
       <attribute name="host" default="${node0}"/>
@@ -2872,7 +2874,7 @@
 
    <target name="ejb-tests" depends="init" description="Execute all tests">
 
-      <start-jboss conf="all" host="${node0}" jboss.dist="${ejb3.dist}"/>
+      <start-jboss conf="all" host="${node0}" jboss.dist="${ejb3.dist}" jvmargs="${ejb3.jboss.jvmargs}"/>
       <wait-on-host/>
 
       <antcall target="no-start-jboss-ejb-tests" inheritRefs="true"/>
@@ -3058,7 +3060,7 @@
 
    <target name="entity-tests" depends="init" description="Execute all tests">
 
-      <start-jboss conf="all" host="${node0}" jboss.dist="${ejb3.dist}"/>
+      <start-jboss conf="all" host="${node0}" jboss.dist="${ejb3.dist}" jvmargs="${ejb3.jboss.jvmargs}"/>
       <wait-on-host/>
 
       <antcall target="no-start-jboss-entity-tests" inheritRefs="true"/>
@@ -3197,7 +3199,7 @@
          </patternset>
       </create-config>
      
-      <start-jboss conf="arjuna" host="${node0}" jboss.dist="${ejb3.dist}"/>
+      <start-jboss conf="arjuna" host="${node0}" jboss.dist="${ejb3.dist}" jvmargs="${ejb3.jboss.jvmargs}"/>
       <wait-on-host/>
       
       <antcall target="test" inheritRefs="true">
@@ -3221,7 +3223,7 @@
          We are using the simplest remoting sslsocket configuration possible, we
          need to tell JBoss to use the supplied keystore via system properties
       -->
-      <property name="ssl-args" value="-Djavax.net.ssl.keyStore=${ejb3.dist}/server/ejb3-ssl/conf/localhost.keystore -Djavax.net.ssl.keyStorePassword=opensource"/>
+      <property name="ssl-args" value="-Djavax.net.ssl.keyStore=${ejb3.dist}/server/ejb3-ssl/conf/localhost.keystore -Djavax.net.ssl.keyStorePassword=opensource ${ejb3.jboss.jvmargs}"/>
       <start-jboss conf="ejb3-ssl" host="${node0}" jvmargs="${ssl-args}" jboss.dist="${ejb3.dist}"/>
       <wait-on-host/>
 
@@ -3249,7 +3251,7 @@
       <!--
          "Advanced" remoting sslsocket configuration contains keystore info
       -->
-      <start-jboss conf="ejb3-ssl-advanced" host="${node0}" jboss.dist="${ejb3.dist}"/>
+      <start-jboss conf="ejb3-ssl-advanced" host="${node0}" jboss.dist="${ejb3.dist}" jvmargs="${ejb3.jboss.jvmargs}"/>
       <wait-on-host/>
 
       <!-- Tell client to use the supplied truststore -->
@@ -3273,7 +3275,7 @@
          </patternset>
       </create-config>
       
-      <start-jboss conf="invoker" host="${node0}" jboss.dist="${ejb3.dist}"/>
+      <start-jboss conf="invoker" host="${node0}" jboss.dist="${ejb3.dist}" jvmargs="${ejb3.jboss.jvmargs}"/>
       <wait-on-host/>
       
       <property name="jvmargs" value=""/>      
@@ -3299,7 +3301,7 @@
             <include name="lib/**"/>
          </patternset>
       </create-config>
-      <start-jboss conf="ejb3-jacc" host="${node0}" jboss.dist="${ejb3.dist}"/>
+      <start-jboss conf="ejb3-jacc" host="${node0}" jboss.dist="${ejb3.dist}" jvmargs="${ejb3.jboss.jvmargs}"/>
       <wait-on-host/>
       <antcall target="test" inheritRefs="true">
          <param name="test" value="jacc"/>
@@ -3380,9 +3382,9 @@
 
    <target name="tests-clustering-startup" unless="${tests.clustering.skip.startup}">
       <create-ejb3-cluster-node conf="node0" jboss.dist="${ejb3.dist}"/>
-      <start-jboss  conf="node0" host="${node0}" jboss.dist="${ejb3.dist}"/>
+      <start-jboss conf="node0" host="${node0}" jboss.dist="${ejb3.dist}" jvmargs="${ejb3.jboss.jvmargs}"/>
       <create-ejb3-cluster-node conf="node1" jboss.dist="${ejb3.dist}"/>
-      <start-jboss  conf="node1" host="${node1}" jboss.dist="${ejb3.dist}"/>
+      <start-jboss conf="node1" host="${node1}" jboss.dist="${ejb3.dist}" jvmargs="${ejb3.jboss.jvmargs}"/>
    </target>
 
    <target name="tests-clustering-shutdown" unless="${tests.clustering.skip.startup}">
@@ -3492,7 +3494,7 @@
 
    <target name="iiop-tests" depends="init" description="Execute all tests">
 
-      <start-jboss conf="all" host="${node0}"/>
+      <start-jboss conf="all" host="${node0}" jboss.dist="${ejb3.dist}" jvmargs="${ejb3.jboss.jvmargs}"/>
       <wait-on-host/>
 
       <antcall target="no-start-jboss-iiop-tests" inheritRefs="true"/>




More information about the jboss-cvs-commits mailing list