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

MAPCodec : memory leak with an async client with network issues (connection timeout, read timeout etc)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2.5
    • 2.1.9, 2.2.6
    • WS-* Components
    • None
    • CXF 2.2.2 & 2.2.5 / JDK 1.6 / Linux (Ubuntu 9.10)

    Description

      Context :
      a JAX-WS asynchronous client, with WS-Adressing enabled
      when there are network issues like connection timeout, read timeout etc,

      Observed facts :
      MAPCodec::uncorrelatedExchanges is not cleaned when the client is trying to request the server and there is a network issue.

      In such a case, the InterceptorChain is by-passed, so MAPCodec::handleFault() is NOT called and so the MAPCodec::uncorrelatedExchanges grows and grows until OOM

      Don't have any patch (yet) to provide because this is something more architectural than technical

      When a network issue occurs, this throws an ExecutionException in JaxwsClientCallback::handleResponse(), the "normal" InterceptorChain is then by-passed there IMHO ...

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            tsauzedde Thomas Sauzedde
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: