Arquillian.xml configuration file reference

Here is a table which summarizes the options which you can include into the arquillian.xml configuration file:

Property Default Description
jbossHome $JBOSS_HOME The JBoss configuration to start.
javaHome $JAVA_HOME The Java runtime to use to start the server.
modulePath $module.path The location of the module repository.
javaVmArguments -Xmx512m -XX:MaxPermSize=128m JVM arguments used to start the server.
startupTimeoutInSeconds 30 Time to wait before throwing Exception on server startup.
outputToConsole true Should the server startup console log be piped to the console
serverConfig standalone.xml Which server configuration file to startup with
managementAddress The ip address of the running server instances manage interface
managementPort 9990 The management port for deployment
allowConnectingToRunningServer false If true, if a running AS is found on managementPort, it is used; if false, fails.

And here's a sample configuration:

<arquillian xmlns=""

	<!-- Force the use of the Servlet 3.0 protocol with all containers, as it 
		is the most mature -->
	<defaultProtocol type="Servlet 3.0" />

	<!-- Example configuration for a remote WildFly instance -->
	<container qualifier="jboss" default="true">
		<!-- By default, arquillian will use the JBOSS_HOME environment variable. 
			Alternatively, the configuration below can be uncommented. -->
			<property name="jbossHome">/home/jboss/wildfly-10.1.0.Final</property>
			<property name="javaVmArguments">-Xmx512m -XX:MaxPermSize=256m,org.jboss.byteman -Xbootclasspath/a:/home/francesco/jdk1.8.0_60/lib/tools.jar</property>
			<property name="allowConnectingToRunningServer">true</property>


Follow us on Twitter