[jboss-jira] [JBoss JIRA] (AS7-5629) cannot define a negative port offset

John Mazzitelli (JIRA) jira-events at lists.jboss.org
Tue Sep 25 10:23:34 EDT 2012


John Mazzitelli created AS7-5629:
------------------------------------

             Summary: cannot define a negative port offset
                 Key: AS7-5629
                 URL: https://issues.jboss.org/browse/AS7-5629
             Project: Application Server 7
          Issue Type: Bug
    Affects Versions: 7.1.1.Final
            Reporter: John Mazzitelli


You cannot ask for ports to be offset in the negative direction. For example, I can't run AS7 with jboss.socket.binding.port-offset set to "-10".

How to replicate:

1) download and unzip JBossAS 7.1.1.Final
2) cd to the bin/ directory
3) run this: ./standalone.sh -Djboss.socket.binding.port-offset=10
4) notice this runs fine - I can go to http://localhost:8090 successfully
5) shutdown the server
6) now run this: ./standalone.sh -Djboss.socket.binding.port-offset=-10

Now the server startup will produce errors and you can't go to http://localhost:8070 successfully.

The errors in the logs I see are:

10:16:49,066 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775:    New missing/unsatisfied dependencies:
      service jboss.socket-binding-manager (missing) dependents: [service jboss.binding.osgi-http, service jboss.serverManagement.controller.management.http, service jboss.remoting.server.management, service jboss.binding.remoting, JBAS014799: ... and 8 more ] 

10:16:49,161 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015954: Admin console is not enabled
10:16:49,162 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 5281ms - Started 106 of 178 services (27 services failed or missing dependencies, 44 services are passive or on-demand)


--
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