cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt Szloboda (JIRA)" <>
Subject [jira] [Created] (CXF-5842) CacheSizeExceededException attachment tempfile leak
Date Wed, 02 Jul 2014 20:16:25 GMT
Zsolt Szloboda created CXF-5842:

             Summary: CacheSizeExceededException attachment tempfile leak
                 Key: CXF-5842
             Project: CXF
          Issue Type: Bug
          Components: Bus, Core
    Affects Versions: 3.0.0
            Reporter: Zsolt Szloboda
            Priority: Minor

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

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

View raw message