-
1. Re: Configure JBoss' default startup timeout through Arquillian?
aslak Dec 22, 2010 4:25 AM (in response to michaelschuetz)have you tried using the javaVMArguments option in arq.xml ?
There is no special handling of those arguments except string splitting, so as far as I can tell, so you should be able to passin both -X or -D type arguments.
I assume your talking about a Managed Container: http://docs.jboss.org/arquillian/reference/latest/en-US/html_single/#container.jbossas-managed-6.configuration
-
2. Re: Configure JBoss' default startup timeout through Arquillian?
michaelschuetz Dec 23, 2010 7:51 PM (in response to aslak)Aslak, will try that.
cheers
Michael
-
3. Re: Configure JBoss' default startup timeout through Arquillian?
abendt Jan 6, 2011 9:20 AM (in response to aslak)Hi,
i think javaVMArguments in arquillian.xml is not the correct place to set that option. set there it would be only available in the JVM of the AS. However the JUnit JVM is the one waiting for the AS to come up. So If you are using Maven I think the correct place is the configuration of your maven-surefire-plugin:
{code:xml}
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<jbossas.startup.timeout>240</jbossas.startup.timeout>
</systemPropertyVariables>
</configuration>
</plugin>
{code}
best regards,
Alphonse Bendt
-
4. Re: Configure JBoss' default startup timeout through Arquillian?
aslak Jan 6, 2011 9:41 AM (in response to abendt)Yes, correct. I missed that one.
They will be passed on to the starting Server, but have no effect there. They are read directly from System.getProperty in ServerManager.