Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-38

Clean up JARs providing duplicate classes in WEB-INF/lib

XMLWordPrintable

      Description of problem:
      There are several JAR files in business-central.war/WEB-INF/lib that provide duplicate classes. It should be possible to remove at least some of them. Having duplicate class files on classpath is Bad Thing and may cause various compatibility issues.

      Version-Release number of selected component (if applicable):
      6.1.0.CR1

      How reproducible:
      -

      Steps to Reproduce:
      1. Run attached Bash script in WEB-INF/lib, see report.

      Actual results:
      avalon-framework-4.1.4.jar + avalon-framework-api-4.3.1.jar

      • share a lot of classes

      closure-compiler-r1741.jar + js-1.7R2.jar + rhino-1.7R4.jar

      • share some classes

      commons-io-2.1.0.redhat-4.jar + uberfire-nio2-model-0.5.0.CR13-redhat-1.jar

      • share following:
        org/apache/commons/io/FilenameUtils.class
        org/apache/commons/io/IOCase.class

      jaxrs-api-2.3.7.Final.jar + jboss-jaxrs-api_1.1_spec-1.0.1.Final-redhat-3.jar

      • duplicate spec jars

      js-1.7R2.jar + rhino-1.7R4.jar

      • same libs

      relaxngDatatype-20020414.jar + relaxngDatatype-2011.1.jar

      • same libs

      stax-api-1.0.1.jar + stax-api-1.0-2.jar

      • same libs

      xmlpull-1.1.3.1.jar + xpp3_min-1.1.4c.jar

      • share following:
        org/xmlpull/v1/XmlPullParser.class
        org/xmlpull/v1/XmlPullParserException.class

      Expected results:
      Dependencies on different versions of the same artifact should be unified. Some overlays may be unavoidable?

      Additional info:

              psiroky_jira Petr Široký (Inactive)
              jlocker Jiří Locker (Inactive)
              Jiří Locker Jiří Locker (Inactive)
              Jiří Locker Jiří Locker (Inactive)
              Kris Verlaenen, Michael Anstis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: