🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Question about Cleaning Up Resources

nosesh
nosesh Member Posts: 2
edited February 2020 in PubSub+ Event Broker #1

Hi.
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 [com.solacesystems.jcsmp.impl.JCSMPXMLMessageProducer$1@2be8251c]) 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?

Thanks.

Best Answer

  • nosesh
    nosesh Member Posts: 2
    #2 Answer ✓

    I received a response that this warning can be ignored and the new bug fix will get rid of it.

Answers

  • nosesh
    nosesh Member Posts: 2
    #3 Answer ✓

    I received a response that this warning can be ignored and the new bug fix will get rid of it.