-
1. Re: Preferred method for JBoss shutdown
peterj Nov 28, 2006 10:48 AM (in response to jmillet)A simple CTRL-C in command window which is running JBoss works fine. JBoss intercepts the CTRL-C signal and performs an orderly shutdown. (Note that you could also do a "kill -s SIGINT jboss-process-id" from another command prompt.)
-
2. Re: Preferred method for JBoss shutdown
jmillet Nov 29, 2006 12:11 PM (in response to jmillet)Thank you for the reply. CTRL-C work well when running the application in the foreground, however I have had no luck killing the process when it runs as a daemon with kill -s INT %run.sh_pid%. It seems that the shell script will only respond to kill -9 %run.sh_pid%. If I do kill the run.sh script with a kill -9, I still have to kill the initial java process that was spawned, or they remain running indefinetly. Any suggestions on safe killing of JBoss as a daemon?
-
3. Re: Preferred method for JBoss shutdown
peterj Nov 29, 2006 1:41 PM (in response to jmillet)It is the java process that you want to send the interrupt to, not the shell script.