4 Replies Latest reply on Mar 16, 2013 7:41 PM by Felipe Reis

    JBoss AS 7 Managed - change port and run tests

    Felipe Reis Newbie



      I'm trying to run test on a managed Jboss 7 server, using a different port other than 8080.


      I have succesfully changed the ports using jboss offset property. My arquillian.xml has the following content:



      <container qualifier="jbossas-managed" default="true">


                                    <property name="jbossHome">target/jboss-as-7.1.1.Final</property>

                      <property name="javaVmArguments">-Djboss.socket.binding.port-offset=1</property>           





      When I run my test, the server starts sucessfully on 8081 (http) and 9991 (admin). I can navigate on my browser to both addresses - localhost:8081 and localhost:9991. I have also tried to change the managementPort attribute to 10000, whithou success.


      However, the tests never run! The server remains started indefinitely.


      Am I missing something?