-
1. Re: JBoss AS 7 Managed - change port and run tests
johndoe- Mar 11, 2013 8:30 AM (in response to felipe.gdr)There is no arquillian.xml example visible here ...
-
2. Re: JBoss AS 7 Managed - change port and run tests
felipe.gdr Mar 11, 2013 8:45 AM (in response to johndoe-)Oops, so sorry, here it is:
<arquillian xmlns="http://jboss.org/schema/arquillian"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://jboss.org/schema/arquillian
http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<container qualifier="jbossas-managed" default="true">
<configuration>
<property name="jbossHome">target/jboss-as-7.1.1.Final</property>
<property name="javaVmArguments">-Djboss.socket.binding.port-offset=1</property>
<managementPort>9991</managementPort>
</configuration>
</container>
</arquillian>
-
3. Re: JBoss AS 7 Managed - change port and run tests
mmatloka Mar 16, 2013 6:46 PM (in response to felipe.gdr)Hello,
I used once the following configuration
<container qualifier="jbossas-managed">
<configuration>
<property name="jbossHome">target/jboss-as-7.1.1.Final</property>
<property name="javaVmArguments">-Djboss.socket.binding.port-offset=100 -Djboss.management.native.port=9054</property>
<property name="managementPort">9154</property>
</configuration>
</container>
You need to specify additionally -Djboss.management.native.port
-
4. Re: JBoss AS 7 Managed - change port and run tests
felipe.gdr Mar 16, 2013 7:41 PM (in response to mmatloka)Problem solved! Thanks.