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

A confusing exception may be thrown from HTTPConduit when oneway call results in HTTP 500 response

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.6
    • Fix Version/s: 2.6.7
    • Component/s: Transports
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      HTTPConduit in 2.6.x does not correctly close the stream for oneway call that results in HTTP 500. Instead of closing the error stream, it tries to close the input stream. And this leads to a confusing exception message and might potentially lead to other issue.

      This problem might be related to the socket already closed exception that has been occasionally observed for CXF 2.6.x with recent jdk1.6.0_38 and 39 but not with earlier jdk versions.

      Note that this problem is not relevant for 2.7.x and 2.8.x, as HTTPConduit is differently implemented in 2.7.x.

        Attachments

          Issue Links

            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: