Description
Lifecycle supervisor not checking if the executor service is running before supervising can cause RejectedExecutionException, if supervise gets called after the shutdown hook already killed the executor service. It is harmless, but an exception gets dumped to the log.
Also it would be good to call shutdownNow on the monitor service if it hasn't terminated in a fixed time, say 10s.
Attachments
Attachments
Issue Links
- links to