To shutdown the different instances JBoss:
Execute the shutdown.bat or shutdown.sh script from the /bin directory with 2 extra arguments. The first argument is the hostname and the second is the port number.
Example: If you have configured 2 instances of JBoss, one on port 11099 (the NamingService port) and another on 11199, then in oreder to shutdown the first JBoss instance use this command:
And for the second instance , use this command:
Note: The port will be each binding port that was specified for jboss:service=Naming
Note: WINDOWS users use shutdown.bat