|
From: Leif M. <le...@ta...> - 2003-10-17 02:55:56
|
Arun, I am not really clear on what you are asking here or the problem you may be having. I am assuming you are using the script provided with the Wrapper. If you start the wrapper using 'script.sh console' then the Wrapper will be running in the current shell. Pressing CTRL-C will stop the Wrapper and its JVM. You can also run 'script.sh stop' from another shell to stop the Wrapper. The alternative is to run as a daemon process by launching the Wrapper with 'script.sh start'. If you use this method then CTRL-C will not work. You must use 'script.sh stop' to stop the Wrapper. You mentioned using 'kill -9 pid'. If you kill the Wrapper process this way, then the JVM process will be left running. It is designed to detect that the Wrapper has died and will exit on its own within a minute. This is expected and correct behavior. If you 'kill -9 pid' on the JVM. The Wrapper process will think that the JVM crashed and will restart a new instance within a few seconds. Hope this helps, You have been getting lots of support lately. :-) If you have found it useful, please consider donating to the project to help pay for my time. Donations are always appreciated and put to good use :-) http://wrapper.tanukisoftware.org/doc/english/donate.html Cheers, Leif Ramachandra, Arun wrote: > > > > I have managed to start the wrapper on Unix. > > HOw do i test it? > > If i press control-C or use kill -9 pid command it stops the jvm and > does > > not restart > > > > Platform i'm running it on: solaris > > -Thanks > > -Arun > > > > Question on Unix- |