Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6444

remove commons-httpclient.jar from AS distribution

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • JBossAS-5.1.0.Beta1
    • JBossAS-5.0.0.GA
    • Other
    • None

    Description

      In AS5 GA, commons-httpclient was included in commons/lib. However, httpclient depends on commons-codec which was not included. So we need to either add commons-codec or remove httpclient.

      From this discussion, it appears that we should remove httpclient:
      http://lists.jboss.org/pipermail/jboss-development/2009-January/013397.html

      The current problem is that the RichFaces demo has:
      <jboss-web>
      <class-loading>
      <loader-repository>
      org.richfaces.samples.richfaces-demo:loader=richfaces-demo-jee5.war
      <loader-repository-config>java2ParentDelegation=true</loader-repository-config>
      </loader-repository>
      </class-loading>
      </jboss-web>

      When you run the demo with JSFUnit, the WAR includes commons-httpclient and commons-codec in WEB-INF/lib. Since parent delegation is true it will use commons-httpclient from commons/lib and then fail because it can't find commons-codec.

      Attachments

        Issue Links

          Activity

            People

              dandread1@redhat.com Dimitrios Andreadis
              ssilvert@redhat.com Stan Silvert
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: