Try PubSub+
If you haven't already, check out our new Developer Portal! You'll find useful information about Solace PubSub+ as well as handy resources to get you started.

Question about Cleaning Up Resources

noseshnosesh Member Posts: 1
edited February 13 in PubSub+ Software

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?


Sign In or Register to comment.