I'm having an issue when attempting to when gracefully shutting down tomcat. This severe warning is issued and the application will hang until terminated. Seems to be related to codahale in this case unlike another few similar questions. Any suggestions on a fix. Thanks in advance.
(Using Tomcat 7.0.78 through Intellij)
created a ThreadLocal with key of type
[com.codahale.metrics.ThreadLocalRandom$1] (value
[com.codahale.metrics.ThreadLocalRandom$1@7008afaf]) and a value of
type [com.codahale.metrics.ThreadLocalRandom] (value
[com.codahale.metrics.ThreadLocalRandom@cb6fe27]) but failed to remove
it when the web application was stopped. Threads are going to be
renewed over time to try and avoid a probable memory leak.