|
From: Leif M. <le...@ta...> - 2003-03-07 02:15:44
|
Richard,
Thanks for finding and tracking this down. I am not sure how this
got broken. It was working
correctly in the last release. Looking at CVS, it was Ok before the
package move and broken
after. Most likely it was a result of accidentally hitting a key while
looking at the code....
I tested the majority of this feature by running with Java 1.2 which
always has the shutdown
hook disabled, but did not test the actual property... Sorry about that.
The fix has been checked into CVS, so you can either check out the
code from CVS or
make the change in your copy of the code and rebuild the jar. The fix
will be in the 3.0.1
release.
Cheers,
Leif
Richard Emberson wrote:
>I was trying to see if I could get a little test program of mine to be restarted
>if it called System.exit(0)
>and I noted that one had to have the property:
>
>wrapper.disable_shutdown_hook=TRUE
>
>Ok, but this did not work (and the testwrapper when System.exit(0) is called
>also simply stops ...
>no restart). So I looked through the code and noticed that the property the
>WrapperManager.java
>is trying to read is:
>
>wrapper.disable_shutdownm_hook
>
>not
>
>wrapper.disable_shutdown_hook
>
>Is there a reason for this???
>
>Did it ever work???
>
>Thanks.
>
>Richard
>
>
|