|
From: Wrapper U. <wr...@co...> - 2004-05-26 13:57:35
|
> Good news. The ability to trigger on a JVM exit code was added in 3.1.0. > Take a look at the docs and let me know if this will do what you need. > http://wrapper.tanukisoftware.org/doc/english/prop-on-exit-n.html Yes, that is good news. I was actually using 3.1.0 I believe, but I was probably looking at an older version of the docs and didn't see that property (or it was there and I just missed it). It looks to be more or less what I need. > >Another (totally separate) solution would be (and I'm just brainstorming > >here) putting some dependencies on different wrapper applications. Something > >like writing a totally separate script that somehow checks if service0 is > >running (service0 status) before it launches service1... > > > > > This is available on Windows. But UNIX does not really provide a > mechanism to do > this other than specifying startup and shutdown orders in the various > run levels. Well, this is less important now, assuming I can get the exit code thing to work. I'll test it sometime today hopefully. Thanks, Aiman |