We use the regular /etc/init.d/jboss stop to stop the jboss on our machines. But at times, it does not stop the process and we get what is pasted below. When this happens we kill the process with a kill -9. Could this be a bug in the application code or could it be an OS level issue that can be fixed?
waiting for processes to stop/usr/local/jboss/bin/run.sh waiting for processes to stop/usr/local/jboss/bin/run.sh waiting for processes to stop/usr/local/jboss/bin/run.sh /usr/local/jboss/bin/run.sh Timeout: Shutdown command was sent, but process is still running with PID 7252 [root@mercury02 ~]# P.S: I opened the /etc/init.d/jboss file and as expected, it tries to send kill -15 when using stop.