>
>
>I just had one of my apps crash because of an un-clean shutdown. So I decided 
>to actually implement that in phoenix. The tomcat services code is not yet 
>working 100% for me so I decided to just use jdk1.3's Shutdown hooks (ie 
>threads that get called when JVM is shutting down). Thus Phoenix should 
>shutdown gracefully even if you control-c or kill -9 the process.
>
>It will be implemented "properly" in the future but this works good enough 
>for me .. interested to hear of any hassles using the current mechanism 
>though.
>
That's really cool.

Re reraising another old subject for phoenix .. Some blocks want to 
shutdown the machine.  Currently System.exit() is not blocked by 
permissions, it it can happen from anywhere ( a bad thing ).  Could we 
have a ShutdownService or a some interface/callback to facilitate the 
above?   I can help with teh coding Peter, but if you think it's still 
fatal, then say no more :-(

- Paul



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to