You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/01/08 01:08:15 UTC

DO NOT REPLY [Bug 43636] - Redeployment should replace all Threads with new Threads to clear ThreadLocals

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43636>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43636


markt@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From markt@apache.org  2008-01-07 16:08 -------
There have been a number of memory leaks, the most recent one logging related,
fixed within Tomcat. There have also been changes to a libraries such as
commons-logging to better handle the multi-classloader environment of a J2EE
server. This fixes/changes will all help.

By default, org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
is true which should work around most of the remaining issues.

I would much rather fix a specific issue than add more workarounds that are
likely to cause just as many problems as they set out to solve (threads are per
connector, not per context, would need to handle long running threads in other
contexts etc)

I you have a test case that demonstrates a memory leak with the latest stable
6.0.x release, please feel free to open a new issue, attach the test case and I
will take a look.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org