Bug 827589 - The user instance create script (jboss-as-cp) should allow a port offset to be specified
The user instance create script (jboss-as-cp) should allow a port offset to b...
Product: Fedora
Classification: Fedora
Component: jboss-as (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Marek Goldmann
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-06-01 15:43 EDT by Dan Allen
Modified: 2014-07-24 23:19 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-04 08:35:10 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dan Allen 2012-06-01 15:43:52 EDT
Description of problem:

The user instance create script should allow a port offset to be specified. This port offset would be written to the port-offset attribute on the socket-binding-group element in the instance configuration file.

Version-Release number of selected component (if applicable):


How reproducible:

There is no option currently.

I propose the following argument:

-p Port offset for the socket binding group


jboss-as-cp -l $HOME/jboss-as-user-instance -c standalone-web.xml -p 100

This should create the following attribute in the instance configuration file (in this case configuration/standalone-web.xml):

<socket-binding-group name="standard-sockets" default-interface="public" port-offset="100">
Comment 1 Marek Goldmann 2012-06-04 08:35:10 EDT
That's another good idea! Fixed in upstream:


It'll be available in jboss-as-7.1.1-4.
Comment 2 Fedora Update System 2012-07-04 05:41:37 EDT
jboss-as-7.1.1-4.fc17 has been submitted as an update for Fedora 17.
Comment 3 Fedora Update System 2012-07-23 16:28:13 EDT
jboss-as-7.1.1-4.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.