To stop an application, you can remove it from the deploy
directory or shut down the application server. To shut down the server, go to <JBdir>
and enter the following command:
Windows:
bin\shutdown -s
hostname
UNIX:
bin/shutdown.sh -s
hostname
On Windows, you can also use CTRL+C to shut down the JBoss server.