How do you shut down multiple JBoss instances?

Supposing you have configured’ 2 instances of JBoss, one on port 11000′ and another on 11100, then in order to shutdown the first JBoss instance use this command:

<jboss_home>\bin\shutdown.bat -s jnp://localhost:11000′ -u <username> -p <password>

And for the second instance , use this command:

<jboss_home>\bin\shutdown.bat -s jnp://localhost:11100-u <username> -p <password>