|
From: John Q. <jqu...@jq...> - 2007-08-22 22:05:33
|
I believe I've discovered the root of my problem; this has led me to a few other questions that I hope you'll be good enough to answer for me. The problem appears to have been the result of my sending the TERM signal to the wrong process. We don't want to be signaling the binary 'wrapper' but rather the Java process itself that the wrapper spawns. Is this correct? I expected the wrapper process to be the entity that would catch these signals. My original assumption that we should be signaling the binary itself came from the behavior of the init.d script provided with the binary distribution. This script creates a pid file based upon the process number of the wrapper binary, and sends the kill to the process number gathered from this file at time of shutdown. Is this a bug? Thanks so much for you help! - John Quigley |