|
From: Leif M. <lei...@ta...> - 2011-08-26 15:14:27
|
Jimmy, What version of the Wrapper are you using? Is the shell script from the same version? The Wrapper's shell script should be shutting down the Wrapper cleanly as you request. Please set the wrapper.debug=true property and then send us the resulting wrapper.log file. That may provide a clue as to what is happening. Cheers, Leif On Fri, Aug 26, 2011 at 10:41 PM, Jimmy Chang(Gmail) <cha...@gm...> wrote: > I am currently using Java Service Wrapper Linux x86-64. > When I execute "service mydaemon stop", the wrapper is killed, and my > java daemon is then killed too. > I have tried to modify mydaemon script with 'kill -2 pid', but in vain. > How can make my java daemon to be shutdown gracefully? > > Thanks. |