||Surviving Abrupt Shutdown|
|Subject:||restrictions in shutdown hooks|
Nice article. Just wanted to add one caveat: Last I checked (about a year ago), there were one or two serious limitations to what you could do in a shutdown hook, just because some of the standard libraries have their own hooks which may run before yours. The one that got me was that all of your logs from java.util.logging were already closed and hence unusable.
Hear us Roar