]
Brian Stansberry updated AS7-5629:
----------------------------------
Git Pull Request:
cannot define a negative port offset
------------------------------------
Key: AS7-5629
URL:
https://issues.jboss.org/browse/AS7-5629
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.1.1.Final
Reporter: John Mazzitelli
Assignee: Brian Stansberry
Labels: rhq
Fix For: 7.2.0.Alpha1
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: