cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "aaron pieper (JIRA)" <>
Subject [jira] Issue Comment Edited: (CXF-1438) AttachmentDeserializer is leaving behind temp files
Date Tue, 19 Feb 2008 22:26:43 GMT


piepera edited comment on CXF-1438 at 2/19/08 2:26 PM:

Patch for 2.0.4-incubator This patch makes CachedOutputStream delete
the temporary file when the last inputstream/outputstream is closed.

      was (Author: piepera):
    patch to 2.0.4-incubator version of, which resolves the issue
> AttachmentDeserializer is leaving behind temp files
> ---------------------------------------------------
>                 Key: CXF-1438
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>         Environment: Windows XP
>            Reporter: aaron pieper
>             Fix For: 2.1
>         Attachments: diff.txt
> AttachmentDeserializer appears to be leaving behind temp files. Every time "cache" is
called, it creates a new temp file with IOUtils.copy (line 228). This file is never deleted.
It looks like there's a hook so it should get deleted if the inputStream is closed, but the
inputStream is never closed.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message