Skip to content

Commit

Permalink
WFLY-330 - Allow defining server http port (and other basic propertie…
Browse files Browse the repository at this point in the history
…s) via jvm arguments Obs: This is working, but the final tests on subsystem.xml fails because the final value is not int.

I change the ajp, http, https and remoting.
These parameteres can be configurated on Jvm Parameters like that:
-Djboss.http.port=9080
-Djboss.https.port=9843
-Djboss.remoting.port=4487
-Djboss.ajp.port=8010

If not set, the default is configurated.

This is work OK, but the surefire final test fails on:
org.jboss.as.test.smoke.subsystem.xml.StandardConfigsXMLValidationUnitTestCase

and

org.jboss.as.test.smoke.mgmt.BasicOperationsUnitTestCase

We need adjust the tests Too.
  • Loading branch information
spolti authored and kabir committed May 13, 2013
1 parent 05e3ca6 commit 197e57b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<subsystem xmlns="urn:jboss:domain:remoting:1.1">
<connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
</subsystem>
<socket-binding name="remoting" port="4447"/>
</config>
<socket-binding name="remoting" port="${jboss.http.port:4447}"/>
</config>
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
<ajp-listener name="ajp-connector" socket-binding="ajp"/>
</replacement>
</supplement>
<socket-binding name="http" port="8080"/>
<socket-binding name="https" port="8443"/>
<socket-binding name="ajp" port="8009"/>
<socket-binding name="http" port="${jboss.http.port:8080}"/>
<socket-binding name="https" port="${jboss.http.port:8443}"/>
<socket-binding name="ajp" port="${jboss.ajp.port:8009}"/>
</config>

0 comments on commit 197e57b

Please sign in to comment.