Question about Cleaning Up Resources
I have a question about cleaning up resources.
I got a log message when shutting down the Tomcat.
org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [com.solacesystems.jcsmp.impl.JCSMPXMLMessageProducer$1] (value [[email protected]]) and a value of type [com.solacesystems.jcsmp.impl.SendMultipleEntry] (value [[Lcom.solacesystems.jcsmp.impl.SendMultipleEntry;@15dc67c9]) 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.
I'm using a java library, sol-jcsmp-10.6.4.jar.
Do I have to add some codes besides closing producers and sessions?