I recently updated from jboss-as.7.1.0.CR1b to jboss-as.7.1.0.Final and want to shutdown running instance from the console. In previous versions th
For standalone mode,
./jboss-cli.sh --connect command=:shutdown
For domain mode, hostname should be specified like this:
./jboss-cli.sh --connect /host=master:shutdown
'master' is the default hostname. The server hostname could be found in $JBOSS_HOME/domain/configuration/host.xml
If you have set security realm then use:
./jboss-cli.sh --connect --controller=: --user= --password= /host=master:shutdown