Property in arquilian.xml:
<property name="javaVmArguments">-Xmx2048m -XX:MaxPermSize=256m -Djboss.socket.binding.port-offset=629 -Djboss.bind.address.unsecure=127.0.0.1
However, in my testcode, I am unable to see these jvm parameters. When the following code executes in the testcase, it returns "Not set".
System.getProperty("jboss.bind.address.unsecure", "Not set"));
Any idea what I am doing wrong ?
Note : Running test on remote jboss container
If you are running against a "remote jboss container" then the arguments might not be taken into account (the process is launched externally).
Providing jvm arguments only make sense to me for an embedded or a managed container.