2 Replies Latest reply on Oct 30, 2007 6:59 AM by Ali Baba

    [Initialization] two components with same name ...

    Ali Baba Newbie

      Hi,

      after puting some jars into my seam project under WEB-INF/lib i got a message about duplicate components.

      11:16:07,195 INFO [Scanner] scanning: /D:/develop/jboss-4.2.2.GA/server/default/tmp/deploy/tmp37596ProBIS.ear-contents/ProBIS-exp.war/WEB-INF/l
      ib/jboss-seam-pdf.jar
      11:16:07,523 INFO [Scanner] scanning: /D:/develop/jboss-4.2.2.GA/server/default/tmp/deploy/tmp37596ProBIS.ear-contents/ProBIS-exp.war/WEB-INF/l
      ib/jboss-seam-debug.jar
      11:16:07,570 INFO [Scanner] scanning: /D:/develop/jboss-4.2.2.GA/server/default/tmp/deploy/tmp37596ProBIS.ear-contents/ProBIS.jar
      11:16:07,570 INFO [Scanner] scanning: /D:/develop/jboss-4.2.2.GA/server/default/tmp/deploy/tmp37596ProBIS.ear-contents/ProBIS-exp.war/WEB-INF/l
      ib/jboss-seam-mail.jar
      11:16:07,648 INFO [Scanner] scanning: /D:/develop/jboss-4.2.2.GA/server/default/tmp/deploy/tmp37596ProBIS.ear-contents/ProBIS-exp.war/WEB-INF/l
      ib/jboss-seam-remoting.jar
      11:16:07,836 INFO [Scanner] scanning: /D:/develop/jboss-4.2.2.GA/server/default/tmp/deploy/tmp37596ProBIS.ear-contents/ProBIS-exp.war/WEB-INF/l
      ib/jboss-seam-ioc.jar
      11:16:08,070 INFO [Scanner] scanning: /D:/develop/jboss-4.2.2.GA/server/default/tmp/deploy/tmp37596ProBIS.ear-contents/jboss-seam.jar
      11:16:11,164 INFO [Scanner] scanning: /D:/develop/jboss-4.2.2.GA/server/default/tmp/deploy/tmp37596ProBIS.ear-contents/ProBIS-exp.war/WEB-INF/l
      ib/jboss-seam-ui.jar
      11:16:11,633 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.transaction.synchronizations
      11:16:11,633 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.security.identity
      11:16:11,726 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.userPrincipal
      11:16:11,726 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.locale
      11:16:11,726 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.expressions
      11:16:11,726 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole
      11:16:11,742 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
      11:16:11,742 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.bpm.businessProcess
      11:16:11,758 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader
      11:16:11,758 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.locale
      11:16:11,773 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.parameters
      11:16:11,773 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.manager
      11:16:11,820 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
      11:16:11,883 WARN [Initialization] Did not install PojoCache due to NoClassDefFoundError: org/jgroups/MembershipListener
      11:16:11,883 INFO [Initialization] Installing components...
      11:16:11,930 INFO [Component] Component: authenticator, scope: EVENT, type: JAVA_BEAN, class: de.soptim.probis.action.Authenticator
      11:16:11,976 INFO [Component] Component: entityManager, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.ManagedPersistenceCon
      text
      


      I have added the jars from the JPivot project to my seam app:

      activation.jar
      avalon-framework-cvs-20020806.jar
      batik.jar
      commons-beanutils-1.6.jar
      commons-collections-3.1.jar
      commons-dbcp-1.2.1.jar
      commons-digester-1.5.jar
      commons-fileupload-1.0.jar
      commons-logging-1.0.4.jar
      commons-math-1.0.jar
      commons-pool-1.2.jar
      commons-vfs.jar
      eigenbase-properties.jar
      eigenbase-resgen.jar
      eigenbase-xom.jar
      FoodMart.xml
      fop.jar
      groovy-all-1.0-jsr-03.jar
      jai_codec.jar
      jai_core.jar
      jakarta-regexp-1.2.jar
      javacup.jar
      jaxen-full.jar
      jcommon-1.0.0.jar
      jfreechart-1.0.0.jar
      jpivot.jar
      jstl.jar
      junit.jar
      log4j-1.2.8.jar
      mail.jar
      mondrian.dtd
      mondrian.jar
      retroweaver-rt-1.2.4.jar
      saaj-api.jar
      saaj-ri.jar
      saxpath.jar
      standard.jar
      tbutils-wcf.jar
      wcf.jar


      I'm using seam2-cr3 with seam-gen and jboss-4.2.2. Colud somebody tell me which jar is to much or how to find duplicate component entry?

      Thanks E.