DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13819>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13819 Attachment temp files never get removed ------- Additional Comments From [EMAIL PROTECTED] 2003-02-01 01:35 ------- The latest source has AttachmentPart extracting the filename from ManagedMemoryDatasources, you can get at the filename from the AttachmentPart; when that object is finalized() we clean up. Is that adequate or should we clean up earlier? In which case we could use something like sam's patches, though I'd unify the cleanup methods to be called dispose() for extra future flexibility. Messages dispose of attachments, attachments dispose of attachmentParts, which delete files. And when a messagecontext is disposed it disposes of its messages. We shouldnt put the cleanup in the servlet as alternate transports bypass the servlet.