tomcat中止時,日誌failed to remove it when the web application was stopped.

  • 最近查看項目日誌,發現tomcat中止時,會以下報錯:
The web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1fb9b07e]) and a value of type [io.netty.util.internal.InternalThreadLocalMap] (value [io.netty.util.internal.InternalThreadLocalMap@2c86e33e]) 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

找了不少地方,發現這個日誌是能夠忽略,若是真須要日誌再也不顯示,能夠參考:java

  1. https://github.com/netty/netty/issues/2084
  2. https://github.com/relayrides/pushy/issues/29
相關文章
相關標籤/搜索