You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2014/07/09 18:03:05 UTC
[jira] [Resolved] (CXF-5842) CacheSizeExceededException attachment
tempfile leak
[ https://issues.apache.org/jira/browse/CXF-5842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-5842.
------------------------------
Resolution: Fixed
Fix Version/s: 3.0.1
2.7.12
> CacheSizeExceededException attachment tempfile leak
> ---------------------------------------------------
>
> Key: CXF-5842
> URL: https://issues.apache.org/jira/browse/CXF-5842
> Project: CXF
> Issue Type: Bug
> Components: Bus, Core
> Affects Versions: 3.0.0
> Reporter: Zsolt Szloboda
> Assignee: Daniel Kulp
> Priority: Minor
> Fix For: 2.7.12, 3.0.1
>
>
> If I set the attachment-max-size option for my endpoint, a CacheSizeExceededException is thrown if the attachment size exceeds the configured value.
> In this case the attachment tempfile is not deleted by the CXF runtime, when I close the AttachmentDataSource InputStream.
> Analyzing the issue I noticed that 2 tempfiles are created (I have only 1 attachment), 2 AttachmentDataSource's can be retreived, but closing both of them deletes only one of the tempfiles.
--
This message was sent by Atlassian JIRA
(v6.2#6252)