commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <>
Subject [jira] [Commented] (FILEUPLOAD-205) FileCleaningTracker Reaper thread not ended
Date Sun, 10 Mar 2013 11:05:12 GMT


Thomas Neidhart commented on FILEUPLOAD-205:

I think it would make sense to add a "forceExit" or "forceCleanup" method to the FileCleaningTracker,
which processes all remaining trackers and terminates the reaper. This method should be called
in the FileCleanerCleanup.contextDestroyed method to make sure we really cleanup everything
and do not have to rely on the objects being gc'ed properly when the context is destroyed.
> FileCleaningTracker Reaper thread not ended
> -------------------------------------------
>                 Key: FILEUPLOAD-205
>                 URL:
>             Project: Commons FileUpload
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>         Environment: Tomcat 6, JDK 1.6.0_21
>            Reporter: Philip Helger
>            Assignee: Jochen Wiedmann
> When using a new FileCleaningTracker and calling exitWhenFinished upon WebApp context
deinitialization the thread is not shutdown. This can be easily reproduced by using Tomcat's
"Find leaks" funcitonality.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message