#336 Tomcat 6 FileWatcher memory leak detection issue

2.3 (final)
open
nobody
5
2011-06-30
2011-06-30
jborleffs
No

When redploying/restarting a XINS-based webapp under Tomcat 6, the following errors are logged:

Jun 30, 2011 12:34:18 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/enodia] appears to have started a thread named [org.xins.common.io.FileWatcher #0 [files="/opt/channels/etc/acl/default.acl"; interval=30]] but has failed to stop it. This is very likely to create a memory leak.
Jun 30, 2011 12:34:18 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/enodia] appears to have started a thread named [org.xins.common.io.FileWatcher #1 [files="/opt/channels/etc/acl/enodia.acl"; interval=30]] but has failed to stop it. This is very likely to create a memory leak.

See also: http://wiki.apache.org/tomcat/MemoryLeakProtection

Discussion

  • jborleffs
    jborleffs
    2011-06-30

    • milestone: --> 2.3 (final)