Hi,

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.

-- 
Cheers,

Pete

---------------------------------------------------
"Therefore it can be said that victorious warriors 
win first, and then go to battle, while defeated 
warriors go to battle first, and then seek to win." 
              - Sun Tzu, the Art Of War
---------------------------------------------------

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

Reply via email to