Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5006

Module org.apache.commons.httpclient should have dependency on org.apache.commons.codec

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1, jboss-fuse-6.3
    • WildFly Camel
    • None
    • % %
    • 6.3 Sprint 3 (Feb 29 - Mar 25)

    Description

      Without org.apache.commons.codec we get following error:

      Caused by: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
      	at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220) [commons-httpclient-3.1.jar:]
      	at org.apache.commons.httpclient.methods.ExpectContinueMethod.<init>(ExpectContinueMethod.java:93) [commons-httpclient-3.1.jar:]
      	at org.apache.commons.httpclient.methods.EntityEnclosingMethod.<init>(EntityEnclosingMethod.java:119) [commons-httpclient-3.1.jar:]
      	at org.apache.commons.httpclient.methods.PostMethod.<init>(PostMethod.java:106) [commons-httpclient-3.1.jar:]
      	... 166 more
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.DecoderException from [Module "org.apache.commons.httpclient:main" from local module loader @53424146 (finder: local module finder @22cb855e (roots: /home/jkasztur/programs/jboss-eap-6.4/modules,/home/jkasztur/programs/jboss-eap-6.4/modules/system/layers/fuse,/home/jkasztur/programs/jboss-eap-6.4/modules/system/layers/soa,/home/jkasztur/programs/jboss-eap-6.4/modules/system/layers/base))]
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.6.Final-redhat-1]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.6.Final-redhat-1]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.6.Final-redhat-1]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.6.Final-redhat-1]
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.6.Final-redhat-1]
      	... 170 more
      

      Attachments

        Activity

          People

            jnethert@redhat.com James Netherton
            jkasztur@redhat.com Jan Kasztura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: