[seam-commits] Seam SVN: r11415 - in branches/community/Seam_2_2/src/test/ftest: examples and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Aug 21 04:45:14 EDT 2009


Author: oskutka at redhat.com
Date: 2009-08-21 04:45:14 -0400 (Fri, 21 Aug 2009)
New Revision: 11415

Modified:
   branches/community/Seam_2_2/src/test/ftest/examples/build.xml
   branches/community/Seam_2_2/src/test/ftest/ftest.ci.properties
   branches/community/Seam_2_2/src/test/ftest/ftest.properties
Log:
=JBSEAM-4293 Make JBoss restart after a specified number of ftests run to prevent OutOfMemoryError

Modified: branches/community/Seam_2_2/src/test/ftest/examples/build.xml
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/examples/build.xml	2009-08-21 00:43:34 UTC (rev 11414)
+++ branches/community/Seam_2_2/src/test/ftest/examples/build.xml	2009-08-21 08:45:14 UTC (rev 11415)
@@ -231,9 +231,11 @@
 					<pathelement location="${container.home}/bin/shutdown.jar" />
 					<!--<pathelement location="${container.home}/client/jbossall-client.jar" />-->
 				</classpath>
-				<arg value="--server"/>
-				<arg value="jnp://localhost:1099"/>
 				<arg value="--shutdown"/>
+				<arg value="-u"/>
+				<arg value="${jboss.jmx.username}"/>
+				<arg value="-p"/>
+				<arg value="${jboss.jmx.password}"/>
 			</java>
 			<waitfor maxwait="300" maxwaitunit="second">
 				<not>

Modified: branches/community/Seam_2_2/src/test/ftest/ftest.ci.properties
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/ftest.ci.properties	2009-08-21 00:43:34 UTC (rev 11414)
+++ branches/community/Seam_2_2/src/test/ftest/ftest.ci.properties	2009-08-21 08:45:14 UTC (rev 11415)
@@ -55,6 +55,10 @@
 run.container.per.suite=true
 jboss.deployments.restart=10
 
+# ${JBOSS_HOME}/server/${jboss.profile}/conf/props/jmx-console-users.properties
+jboss.jmx.username=admin
+jboss.jmx.password=admin
+
 # seam-gen specific properties
 seamgen.delete.project=true
 

Modified: branches/community/Seam_2_2/src/test/ftest/ftest.properties
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/ftest.properties	2009-08-21 00:43:34 UTC (rev 11414)
+++ branches/community/Seam_2_2/src/test/ftest/ftest.properties	2009-08-21 08:45:14 UTC (rev 11415)
@@ -68,6 +68,10 @@
 run.container.per.suite=false
 jboss.deployments.restart=10
 
+# These credentials are needed for JBoss restart. See ${JBOSS_HOME}/server/${jboss.profile}/conf/props/jmx-console-users.properties
+jboss.jmx.username=admin
+jboss.jmx.password=admin
+
 # seam-gen specific properties
 #seamgen.delete.project=true
 



More information about the seam-commits mailing list