[jboss-user] [Beginners Corner] - Re: Preferred method for JBoss shutdown

2006-11-29 Thread PeterJ
It is the java process that you want to send the interrupt to, not the shell script. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989794#3989794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989794 _

[jboss-user] [Beginners Corner] - Re: Preferred method for JBoss shutdown

2006-11-29 Thread 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 sc

[jboss-user] [Beginners Corner] - Re: Preferred method for JBoss shutdown

2006-11-28 Thread PeterJ
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.) View the original post : http://www.jboss.com/index.html?mod