[jboss-jira] [JBoss JIRA] (WFLY-330) Allow defining server http port (and other basic properties) via jvm arguments
Filippe Spolti (JIRA)
jira-events at lists.jboss.org
Mon May 13 09:00:08 EDT 2013
[ https://issues.jboss.org/browse/WFLY-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773774#comment-12773774 ]
Filippe Spolti commented on WFLY-330:
-------------------------------------
The pull request for this issue was merged (https://github.com/wildfly/wildfly/pull/4488)
> Allow defining server http port (and other basic properties) via jvm arguments
> ------------------------------------------------------------------------------
>
> Key: WFLY-330
> URL: https://issues.jboss.org/browse/WFLY-330
> Project: WildFly
> Issue Type: Feature Request
> Components: Build System, Domain Management
> Reporter: Michal Matloka
> Assignee: Heiko Braun
> Fix For: 8.0.0.Alpha1
>
>
> Currently the only way to specify server port is to edit server configuration .xml. However there are cases which could use definition via jvm arg. Forums shows the following workaround (https://community.jboss.org/thread/168140). I'd like to propose to include in default jboss-as standalone.xml configuration, properties for the most important parameters:
> eg.
> change <socket-binding name="http" port="8080"/> to
> <socket-binding name="http" port="${jboss.http.port:8080}"/>
> Then would be possible to run jboss on different port via jvm arg
> ./bin/standalone.sh --server-config=standalone-ha.xml -Djboss.http.port=8888
> Solving this issue is important, because some other issues relies on it: eg. https://issues.jboss.org/browse/AS7-1036
> With this change, solving mentioned ticket would be very easy, and will allow to run arquillian tests directly on jboss downloaded and unpacked via maven goal, and then managed directly via arquillian (it is the only way to run arquillian tests in some environments, however often 8080 port is already used).
> I'm willing to solve this feature by myself, however I'd like to hear opinions from other people.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list