title: Change default ports in Arquillian with Wildfly Embedded environment
body: <p>I'm running integration tests under Arquillian + Wildfly Embedded server. Everything works fine. But as soon as I start tests when my local Wildfly is running, I get errors (when wildfly via arquillian is starting, not when I try to send a request in tests):</p>
  
  <pre><code>ERROR [org.jboss.msc.service.fail] MSC000001: Failed to start service
  jboss.serverManagement.controller.management.http:
  org.jboss.msc.service.StartException in service
  jboss.serverManagement.controller.management.http: JBAS015811: Failed
  to start the http-interface service     at
  org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:258)
  [wildfly-server-8.2.1.Final.jar:8.2.1.Final]    at
  org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
  [jboss-msc-1.2.2.Final.jar:1.2.2.Final]     at
  org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
  [jboss-msc-1.2.2.Final.jar:1.2.2.Final]     at
  java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  [rt.jar:1.8.0_45]   at
  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  [rt.jar:1.8.0_45]   at java.lang.Thread.run(Thread.java:745)
  [rt.jar:1.8.0_45] Caused by: java.lang.RuntimeException:
  java.net.BindException: Address already in use  at
  org.jboss.as.domain.http.server.ManagementHttpServer.start(ManagementHttpServer.java:156)
  [wildfly-domain-http-interface-8.2.1.Final.jar:8.2.1.Final]     at
  org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:224)
  [wildfly-server-8.2.1.Final.jar:8.2.1.Final]    ... 5 more Caused by:
  **java.net.BindException: Address already in use**
  </code></pre>
  
  <p>OK, it's <code>jboss.management.http.port</code> property is responsible for port changing (the <code>jboss.http.port</code> is changed and used already in my environment, so it's not a reason), I fixed it by setting:</p>
  
  <pre><code>&lt;argLine&gt;-Djboss.http.port=8181 -Djboss.management.http.port=9999&lt;/argLine&gt;
  </code></pre>
  
  <p>in the pom.xml</p>
  
  <p>Now when tests are running I can see that new port value is used:</p>
  
  <pre><code>INFO  [org.jboss.as] JBAS015961: Http management interface listening on http://127.0.0.1:9999/management 
  INFO  [org.jboss.as] JBAS015951: Admin console listening on http://127.0.0.1:9999
  </code></pre>
  
  <p>But, anyway I'm getting:</p>
  
  <pre><code>Caused by: java.net.ConnectException: JBAS012144: Could not connect to
  **http-remoting://127.0.0.1:9990**. The connection timed out
  </code></pre>
  
  <p>It seems, I could force Wildfly to use another port, 9999, but Arquillian does not know anything about it. Is there a way to resolve the issue with changing jboss.management.http.port in Arquillian tests right? Ideally without standalone-full.xml using.</p>