Quantcast
Viewing latest article 3
Browse Latest Browse All 110

Answer by abhishekhp for Jboss 7.1.1 start/stop script

To shutdown the server via command line

sh ./bin/jboss-cli.sh --connect command=:shutdown 

assuming you are running on localhost and using the default native management port i.e. 9999

if not you need to specify the IP (jboss.bind.address) and the native management port(jboss.management.native.port) configured in standalone.xml

sh ./bin/jboss-cli.sh --connect controller=<IP>:<native-mgmt-port> command=:shutdown

Viewing latest article 3
Browse Latest Browse All 110

Trending Articles