On 27/11/2010 13:44, Christopher Schultz wrote: > Pid, > > On 11/27/2010 8:18 AM, Christopher Schultz wrote: >> Pid, > >> On 11/26/2010 4:54 PM, Pid wrote: >>> On 26/11/2010 21:36, Christopher Schultz wrote: >>>> All, >>>> >>>> I've just started using versions of Tomcat 6 that have the memory leak >>>> prevention listener available and enabled in development, and I just saw >>>> this message in catalina.out when I shut down my Cocoon webapp: >>>> >>>> SEVERE: The web application [/cocoon] created a ThreadLocal with key of >>>> type [java.lang.ThreadLocal] (value [java.lang.threadlo...@d2efa1]) and >>>> a value of type [org.apache.xerces.parsers.SAXParser] (value >>>> [org.apache.xerces.parsers.saxpar...@15d4273]) but failed to remove it >>>> when the web application was stopped. This is very likely to create a >>>> memory leak. > >>> Which version of Xerces is it? I've been looking at that lib for a >>> similar issue this week. > >> Sorry, I should have mentioned that as well. > > It also ships with an ancient version of commons-logging: > > commons-logging-1.0.4.jar > > ...which apparently causes this: > > SEVERE: The web application [/context] created a ThreadLocal with key of > type [java.lang.InheritableThreadLocal] (value > [java.lang.inheritablethreadlo...@1c0b8a0]) and a value of type > [org.apache.log.ContextMap] (value [org.apache.log.context...@199197b]) > but failed to remove it when the web application was stopped. This is > very likely to create a memory leak.
Ugh. The XML projects may have a number of leaks. I've just joined Axis & the 3rd email I saw to the list is a report of a Tomcat detected Thread-started-not-stopped issue. p
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature