Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.1-beta-1
-
Fix Version/s: 1.0.1-beta-2, 1.0.1-beta-3, 1.0.1
-
Component/s: JBoss
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
To allow jboss to be accessed from remote machines, it must be started with the arguments -b 0.0.0.0 or --host 0.0.0.0. The cargo plugin automatically sets the --host argument to the value of cargo.hostname.
When the cargo.hostname is set to 0.0.0.0, jboss will start up correctly and will be accessible remotely, but will be shutdown because the cargo plugin thinks it failed to startup – it is trying to access a page at the non-existent address http://0.0.0.0:8282/cargo
Issue Links
- is related to
-
CARGO-1111
Unable to set bind address to 0.0.0.0 when starting JBoss 7.1.x
-
Attached correction: if the container's JVM arguments parameter contains --host, then the CARGO container will not set the hostname.
As a result, in order to use:
1. In the CARGO configuration, set the hostname
2. In the CARGO configuration's JVM arguments parameter, add in --host 0.0.0.0
Please close issue if satisfied