-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
3.0.4
java gateway shutdown.sh sends SIGTERM and waits for 5 seconds. if gateway is still running, that's declared to be a failure.
it is suggested to try harder - if shutdown doesn't happen for some reason (maybe broken jvm, maybe something else...), send SIGKILL.
it is suggested to increase the current timeout of 5 seconds to more before SIGKILL is sent - maybe 10 or 15. to avoid typing out all numbers, perhaps a method like the first example in http://stackoverflow.com/a/14300729/272387 is helpful.
it might be worth making "shutdown timeout" configurable, too.