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 the command
For some reason the JBoss team decided to reorganize the scripts between minor revision upgrades. In any case, jboss-cli.sh is the replacement for jboss-admin.sh (they are for all intents and purposes the exact same script). So your new shutdown command is:
The script has been renamed in a way that makes it more accurately reflect the purpose of the script. The word "admin" can be confusing, where AS7 offers both a Management CLI and a Management Console. –
ddriFeb 20 '12 at 2:18
Hey @ddri. I don't have a problem with the new name, so much as the timing of the change. In the end its notthat big of a deal. –
PerceptionFeb 20 '12 at 2:29
Agreed. As long as we all get there in the end :) –
ddriFeb 21 '12 at 1:39
@Perception Can you also include the shutdown command on other OS like windows? Thanks –
Prakash KSep 4 '12 at 12:16
2
add --controller=<your machine IP, eg 10.0.2.12>:9999 between shell and --connect if your instance is not bound to localhost –
ScottMay 16 '13 at 22:09