Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4401

XMLStreamDataReader does not close the original input stream when it is to be closed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.1
    • Fix Version/s: 2.4.9, 2.5.5, 2.6.2, 2.7
    • Component/s: Core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ay Akitoshi Yoshida
              Reporter:
              ay Akitoshi Yoshida
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: