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