You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Aki Yoshida (JIRA)" <ji...@apache.org> on 2012/07/02 10:55:24 UTC

[jira] [Resolved] (CXF-4401) XMLStreamDataReader does not close the original input stream when it is to be closed

     [ https://issues.apache.org/jira/browse/CXF-4401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aki Yoshida resolved CXF-4401.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.0
                   2.6.2
                   2.5.5
                   2.4.9
    
> XMLStreamDataReader does not close the original input stream when it is to be closed
> ------------------------------------------------------------------------------------
>
>                 Key: CXF-4401
>                 URL: https://issues.apache.org/jira/browse/CXF-4401
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.6.1
>            Reporter: Aki Yoshida
>            Assignee: Aki Yoshida
>             Fix For: 2.4.9, 2.5.5, 2.6.2, 2.7.0
>
>
> When XMLStreamDataReader is used to instantiate a stream reader from the original input stream held in the message, closing the reader does not close the original input stream. 
> As the input stream object is removed from the message during this process, the input stream object cannot be closed by another component (e.g., AbstractHTTPDestination).
> The symptom of this problem will appear when large messages are processed, as temp files generated by CachedOutputStream are not deleted because of the missing close() call.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira