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

RESTEASY004687 - AutoClosing http client when using RestEasy client proxy

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • 6.2.12.Final, 7.0.0.Beta1
    • 6.2.4.Final
    • Client
    • None

      When using resteasy client proxy capabilities, we have the following warning.

      17:51:18,685 WARN  [org.jboss.resteasy.client.jaxrs.i18n] (Cleaner-0) RESTEASY004687: Closing a class org.jboss.resteasy.client.jaxrs.engines.ManualClosingApacheHttpClient43Engine$CleanupAction instance for you. Please close clients yourself.

       

      We don't know how can we close the http client ourself.
      The proxy is building the http client itself.

      Any help on this ?

      Some infos: 

      • It's happening on Jboss EAP 8.0 (resteasy-client-6.2.4.Final-redhat-00001)
      • We're building the proxy this way via  org.jboss.resteasy.client.jaxrs.ResteasyWebTarget.proxy(Class<T>)

       

              jperkins-rhn James Perkins
              xavier.mourgues@soprabanking.com Xavier MOURGUES (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: