RE: [PATCH] Allow System.exit to be called on shutdown [was Re: Shutdown.sh does not work when long lasting operations, such as SQL Queries, are still active!

2003-02-11 Thread Shapira, Yoav
Hi, Hmm. It's a debatable question. >Since the startup scripts don't keep track of how the JVM exited, it >really doesn't matter what exit code is used since no one is probably >tracking it. I disagree. People could keep track of it and use it for various things (restart the server, notify admi

RE: [PATCH] Allow System.exit to be called on shutdown [was Re: Shutdown.sh does not work when long lasting operations, such as SQL Queries, are still active!

2003-02-11 Thread Shapira, Yoav
Howdy, One comment/question: the killing thread will only be used by choice, i.e. someone explicitly setting the shutdownWait > 0. Accordingly, for that person the killing thread shutdown will be a normal shutdown, and the exit status should be zero instead of one, right? Yoav Shapira Millennium