Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-332

ApacheHttpClient4Executor doesn't close connections

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.2.1.GA
    • 1.2.GA
    • jaxrs
    • None

    Description

      ApacheHttpClient4Executor does not close connections.

      Steps to reproduce: use httpclient singleconnection manager and execute multiple requests.

      Error message:
      2009-11-10 13:50:48,139 ERROR (http-localhost%2F127.0.0.1-8080-2) failed to load xx, caught java.lang.IllegalStateException: Invalid use of SingleClientConnManager: connection still allocated.
      Make sure to release the connection before allocating another one.

      If one uses e.g. ThreadSafeClientConnManager resteasy will consume all available connections.

      Attachments

        Activity

          People

            patriot1burke@gmail.com Bill Burke (Inactive)
            sanjoa Joakim Sandstroem (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: