How do I shutdown JBoss AS 7 server?
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: ./jboss-cli.sh –connect command=:shutdown