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

The file resteasy-jboss-modules-3.0.9.Final.zip is incomplete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 3.0.9.Final
    • jaxrs

      I try to upgrade the JAX-RS implementation in JBoss AS 7.1.1.Final. I extract the modules contained in resteasy-jboss-modules-3.0.9.Final.zip in my JBoss AS, but when I deploy an app with only JAX-RS client, the server throws the following exception:

      Caused by: java.lang.ClassNotFoundException: org.apache.http.impl.conn.BasicClientConnectionManager from [Module "org.jboss.resteasy.resteasy-jaxrs:main" from local module loader @acc95 (roots: C:\dev\server\jboss-as-7.1.1.Final-ecad\modules)]
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
      	... 114 more
      

      I saw that the zip file don't have the modules for the library httpclient in version 4.2.x. When I included this module as a new slot (4.2) and I updated the module 'org.jboss.resteasy.resteasy-jaxrs' to use this slot, the problem was solved.
      Update this in the next release version if you consider necessary.

              rhn-support-asoldano Alessio Soldano
              gustavo.gomes Gustavo Gomes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: