Hi,

we have migrate from 2.x to 3.14.1 in our test-environment. We are running our 
Camel-Application on a Tomcat (Provide soap-services over CXF-Endpoint, route 
Messages in JMS-Queues, read from JMS-Queue with JMS-Endpoint, an then do other 
things...)

While the Tomcat-Shutdown we observed a bunch of Thread-Local-WARNINGS in the 
catalina.out:

02-Feb-2022 01:31:23.810 SCHWERWIEGEND [main] 
org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks 
The web application [provinzial-integration-intern] created a ThreadLocal with 
key of type [java.lang.ThreadLocal.SuppliedThreadLocal] (value 
[java.lang.ThreadLocal$SuppliedThreadLocal@4a4357f5]) and a value of type 
[org.apache.camel.impl.engine.DefaultReactiveExecutor.Worker] (value 
[org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker@76e66f23]) 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.

Obviously this belongs to the ThreadLocals used in 
org.apache.camel.impl.engine.DefaultReactiveExecutor.

Should I be worried about this? What happens, when my application runs for a 
longer time period (days,weeks) without a reboot?
Perhaps a clean-up (ThreadLocal.remove()) is missing (at least while the 
shutdown-steps)?

Regards Björn


Diese E-Mail könnte vertrauliche und / oder rechtlich geschützte Informationen 
enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
Weitergabe dieser Mail sind nicht gestattet.

This e-mail may contain confidential and / or privileged information. If you 
are not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorised 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden. 

Reply via email to