I am having trouble to use the shutdown.sh script to shutdown JBoss. Now i can still use JMX console and click shutdown link to shutdown. But this is not ideal since i have to remove JMX console eventually. My 2 questions are: 1. What exactly does the link in JMX console do? What command can i type in a linux console to duplicate its function? 2. How can i troubleshoot the shutdown.sh script/command?