Uploaded image for project: 'Seam Faces'
  1. Seam Faces
  2. SEAMFACES-206

Deployment Exception with snapshots of Seam Faces and Seam International

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Done
    • None
    • 3.1.0.Beta3, 3.1.0.Tracking
    • None
    • None

    Description

      Projects which contain Seam Faces (3.1.0-SNAPSHOT) and Seam International (3.1.0-SNAPSHOT) fail on deployment:

      15:11:31,168 DEBUG [org.jboss.weld.Reflection] (MSC service thread 1-15) WELD-000601 interface org.jboss.seam.solder.reflection.Synthetic is missing @Target. Weld will use this annotation, however this may make the application unportable.
      15:11:31,214 DEBUG [org.jboss.weld.Bootstrap] (MSC service thread 1-15) WELD-000100 Weld initialized. Validating beans
      15:11:31,251 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-15) MSC00001: Failed to start service jboss.deployment.unit."replicascene.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."replicascene.war".WeldService: org.jboss.weld.exceptions.DeploymentException: WELD-001414 Bean name is ambiguous. Name defaultLocale resolves to beans [Producer Field [Locale] with qualifiers [@Any @Default @Named] declared as [[field] @Produces @Named private org.jboss.seam.international.locale.DefaultLocaleProducer.defaultLocale], Producer Method [Locale] with qualifiers [@Any @Faces @DefaultLocale @Named] declared as [[method] @Produces @Named @Faces @DefaultLocale public org.jboss.seam.faces.environment.LocaleProducer.getDefaultLocale(FacesContext)]]
      	at org.jboss.as.weld.services.WeldService.start(WeldService.java:96)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
      	at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_21]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_21]
      	at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
      Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001414 Bean name is ambiguous. Name defaultLocale resolves to beans [Producer Field [Locale] with qualifiers [@Any @Default @Named] declared as [[field] @Produces @Named private org.jboss.seam.international.locale.DefaultLocaleProducer.defaultLocale], Producer Method [Locale] with qualifiers [@Any @Faces @DefaultLocale @Named] declared as [[method] @Produces @Named @Faces @DefaultLocale public org.jboss.seam.faces.environment.LocaleProducer.getDefaultLocale(FacesContext)]]
      	at org.jboss.weld.bootstrap.Validator.validateBeanNames(Validator.java:456)
      	at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:342)
      	at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:404)
      	at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:82)
      	at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)
      	... 5 more
      

      Seems like this commit is dept: https://github.com/seam/faces/commit/3a993b70c266958692905cbac21c29b770b8a2a2
      This should be fixed asap otherwise the next tag iteration will be fail.

      Please update SNAPSHOT on JBoss Repository after bugfix commit.

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            ssachtleben Sebastian Sachtleben (Inactive)
            Archiver:
            samahaja@redhat.com Sagar Mahajan

            Dates

              Created:
              Updated:
              Resolved:
              Archived: