[jboss-jira] [JBoss JIRA] (AS7-5583) Allow defining server http port (and other basic properties) via jvm arguments

Michal Matloka (JIRA) jira-events at lists.jboss.org
Wed Sep 19 10:26:34 EDT 2012


Michal Matloka created AS7-5583:
-----------------------------------

             Summary: Allow defining server http port (and other basic properties) via jvm arguments
                 Key: AS7-5583
                 URL: https://issues.jboss.org/browse/AS7-5583
             Project: Application Server 7
          Issue Type: Feature Request
    Affects Versions: 7.1.1.Final
            Reporter: Michal Matloka
            Assignee: Michal Matloka
             Fix For: 7.2.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.
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