commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <>
Subject Re: [File Upload] Unable to delete tmp file
Date Fri, 20 Aug 2004 05:01:27 GMT
There is a known problem related to files not being cleaned up until
the container (really, the JVM) shuts down. There is also a known fix
for this, which will show up in the nightly builds when I find the
time to get it in.

However, I'm not aware of a bug that would cause the files to not be
removed when you explicitly call the delete() method. The most obvious
scenario in which this would happen would be if you were somehow
keeping the file open elsewhere, so that's worth checking.

If you can provide a test case, or a reproducible example, that would
help greatly.

Martin Cooper

On Wed, 11 Aug 2004 17:15:11 -0400, Tam, Michael
<> wrote:
> Hi all,
> I am running FILE UPLOAD 1.0 with TOMCAT 4.1.29.  I can upload files through
> a JSP; however, the associated tmp files cannot be removed until TOMCAT
> shutdowns/restarts even though I explicitly call
> the file item delete function at the end of the upload.
> Any help on addressing this issue is appreciated.  Thank you.
> Michael
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (
> Version: 6.0.736 / Virus Database: 490 - Release Date: 09/08/2004
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message