[geotk] [JIRA] Created: (GEOTK-105) ThreadLocal values need to be cleared when webapp is undeployed

Martin Desruisseaux (JIRA) jira at geomatys.com
Tue Jul 6 04:37:27 EDT 2010


ThreadLocal values need to be cleared when webapp is undeployed
---------------------------------------------------------------

                 Key: GEOTK-105
                 URL: http://jira.geotoolkit.org/browse/GEOTK-105
             Project: Geotoolkit
          Issue Type: Improvement
          Components: Metadata
    Affects Versions: 3.12
            Reporter: Martin Desruisseaux
            Priority: Minor


Tomcat 6.0.25 reports a warning for each {{ThreadLocal}} instance which still hold a value when the wepapp is undeployed, resulting in memory leak. The reported values are:

* {{MarshalContext}}
* {{ThreadedAuthorityFactory.Usage}}

On a related note, Tomcat also reports that the following threads are still running. Geotk contains code for stopping the threads; we need to ensure that it is properly invoked.

* {{WeakCollectionCleaner}}
* {{CacheReferences}}
* {{StoreDisposer}}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.geotoolkit.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Geotoolkit mailing list