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

Cleanup the commons jar usage

XMLWordPrintable

      There are duplicate apache jars from the recent juddi and myfaces integration:

      [starksm@banshee9100 all]$ find . -name 'commons-collec*' -print
      ./deploy/jbossweb-tomcat55.sar/jboss-faces.war/WEB-INF/lib/commons-collections-3.0.jar
      ./deploy/juddi-service.sar/juddi.war/WEB-INF/lib/commons-collections.jar
      ./deploy/juddi-service.sar/juddi.war/WEB-INF/lib/commons-collections.LICENSE
      [starksm@banshee9100 all]$ ls deploy/juddi-service.sar/juddi.war/WEB-INF/lib
      commons-collections.LICENSE* commons-dbcp.jar* juddi.jar*
      commons-collections.jar* commons-pool.LICENSE*
      commons-dbcp.LICENSE* commons-pool.jar*
      [starksm@banshee9100 all]$ ls deploy/jbossweb-tomcat55.sar/jboss-faces.war/WEB-INF/lib
      commons-beanutils-1.6.1.jar* commons-digester-1.5.jar* myfaces-impl.jar*
      commons-codec-1.2.jar* commons-el.jar* myfaces-jsf-api.jar*
      commons-collections-3.0.jar* jstl.jar* myfaces.jar*
      [starksm@banshee9100 all]$ ls deploy/jbossweb-tomcat55.sar
      META-INF/ context.xml* servlets-invoker.jar*
      ROOT.war/ jasper-compiler-jdt.jar* servlets-webdav.jar*
      catalina-manager.jar* jasper-compiler.jar* tomcat-ajp.jar*
      catalina-optional.jar* jasper-runtime.jar* tomcat-coyote.jar*
      catalina.jar* jboss-faces.war/ tomcat-http.jar*
      commons-el.jar* naming-resources.jar* tomcat-util.jar*
      commons-modeler.jar* server.xml* tomcat55-service.jar*
      conf/ servlets-default.jar*

      The myfaces needs to be moved to the thirdparty and its dependencies canonicalized to avoid the duplication of jars like commons-el.jar and commons-collections.jar. There is a thirdparty/apache-commons/commons-collection.jar, a duplicate in the thirdparty/juddi-juddi and a duplicat in the myfaces.

      A given thirdparty component should not have its dependent jars bundled with it.

              starksm64 Scott Stark (Inactive)
              starksm64 Scott Stark (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: