You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/10/27 14:22:05 UTC
DO NOT REPLY [Bug 24146] New: -
Problems with attachment (SOAP with Attachments) temporary files
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=24146>.
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=24146
Problems with attachment (SOAP with Attachments) temporary files
Summary: Problems with attachment (SOAP with Attachments)
temporary files
Product: Axis
Version: current (nightly)
Platform: All
OS/Version: All
Status: NEW
Severity: Critical
Priority: Other
Component: Serialization/Deserialization
AssignedTo: axis-dev@ws.apache.org
ReportedBy: Werner.Dittmann@icn.siemens.de
Axis creates temporary files during attachment handling. I tried
to delete the temporary file after processing of the attachment was done
(server side).
However, the dispose() method in AttachmentPart didn't delete the temporary
attachment file. The follwing bugs were found:
- the variable "attachmentFile" was not properly set when attachment
parts are created with "ManagedMemoryDataSource" as the data source
of DataHandler.
- After fixing this bug the f.delete() call in dispose() returned
false, i.e. didn't delete the temporary attachment file.
I enhanced the dispose to call the ManagedMemoryDataSource specific
delete function if the data source is of that type.