My configuration is fairly simple, but at startup I add a shutdown hook:
Runtime.getRuntime.addShutdownHook(...)
However, at re-stop (or ~re-start code change) the hook is never fired.  The documentation explicitly states this is how shutdown should be handled.  Is there additional configuration I need to specify to make those hooks fire?