cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-4401) XMLStreamDataReader does not close the original input stream when it is to be closed
Date Fri, 29 Jun 2012 13:51:44 GMT
Aki Yoshida created CXF-4401:
--------------------------------

             Summary: 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


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

        

Mime
View raw message