Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-7951

RESTEasy uses httpclient 4.5.2 which is not in sync with httpclient 4.5 used in EAP. Same for httpcore.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 7.1.0.DR9
    • REST
    • None

    Description

      RESTEasy uses httpclient 4.5.2 which is not in sync with httpclient 4.5 used in EAP.
      Same for httpcore: RESTEasy uses 4.4.5 version, but EAP uses 4.4.1.

      It seems that only cxf and RESTEasy use httpclient and httpcore:

      [mkopecky@dhcp-10-40-5-21 modules]$ grep -R httpcomponents
      system/layers/base/org/jboss/resteasy/resteasy-jaxrs/main/module.xml:        <module name="org.apache.httpcomponents"/>
      system/layers/base/org/jboss/resteasy/resteasy-legacy/main/module.xml:        <module name="org.apache.httpcomponents"/>
      system/layers/base/org/apache/cxf/services-sts/main/module.xml:        <module name="org.apache.httpcomponents"/>
      system/layers/base/org/apache/cxf/impl/main/module.xml:        <module name="org.apache.httpcomponents"/>
      system/layers/base/org/apache/cxf/ws-security/main/module.xml:        <module name="org.apache.httpcomponents"/>
      system/layers/base/org/apache/httpcomponents/main/module.xml:<module xmlns="urn:jboss:module:1.5" name="org.apache.httpcomponents">
      [mkopecky@dhcp-10-40-5-21 modules]$ 
      

      I recommend to upgrade httpcore in EAP to 4.5.2. And I recommend to upgrade httpcore in EAP to 4.4.5. rhn-support-asoldano (cc: rsvoboda@redhat.com, jbliznak): You are owner of both CXF and RESTEasy. Do you agree with this?

      RESTEasy doesn't work correctly with old client if IPv6 is used, steps to reproduce:

      1. git clone git@github.com:resteasy/Resteasy.git
      2. cd Resteasy/
      3. sed -i 's/4.5.2/4.5/g' resteasy-dependencies-bom/pom.xml
      4. sed -i 's/4.4.5/4.4.1/g' resteasy-dependencies-bom/pom.xml
      5. mvn clean install -B -Dtest=CookieInjectionTest -DfailIfNoTests=false -Dmaven.test.redirectTestOutputToFile=false -Dipv6

      Attachments

        Issue Links

          Activity

            People

              rhn-support-asoldano Alessio Soldano
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: