2 Replies Latest reply on Sep 11, 2007 6:22 PM by Alex Ka

    Two seam components with same name

    Alex Ka Novice

      Hi,
      I'm running Seam 2.0.0.B1 and I have the following lines in the console:


      16:13:37,004 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
      16:13:37,051 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader
      16:13:37,067 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.expressions
      16:13:37,067 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.parameters
      16:13:37,067 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.bpm.businessProcess
      16:13:37,082 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.manager
      16:13:37,098 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.userPrincipal
      16:13:37,098 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.ajax4jsfFilter
      16:13:37,098 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.security.identity
      16:13:37,098 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole
      16:13:37,098 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.resourceBundle


      Source code that is causing this:

      org\jboss\seam\bpm\BusinessProcess
      @Scope(ScopeType.CONVERSATION)
      @Name("org.jboss.seam.bpm.businessProcess")
      @BypassInterceptors
      @Install(dependencies="org.jboss.seam.bpm.jbpm", precedence=BUILT_IN)


      org\jboss\seam\faces\BusinessProcess
      @Scope(ScopeType.CONVERSATION)
      @Name("org.jboss.seam.bpm.businessProcess")
      @BypassInterceptors
      @Install(dependencies="org.jboss.seam.bpm.jbpm", precedence=FRAMEWORK, classDependencies="javax.faces.context.FacesContext")


      Is this supposed to be like that? The latest repository version that I have has the same problem. There is a faces override that is causing the notice to appear. Shouldn't there be a more "clear" way to do the override?

      PS Excuse me if this question was discussed in a previous thread...