Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14425

[GSS](7.1.z) SingletonProvider may be incorrectly initialized with RegistrySingletonProvider

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.2.CR1, 7.1.2.GA
    • 7.1.1.GA
    • CDI / Weld
    • None

      If a non-CDI deployment (contains no beans.xml nor a bean with a bean defining annotation nor a session bean) attempts to access the CDI container using CDI.current() before TCCLSingletonService is started (and org.jboss.weld.bootstrap.api.SingletonProvider initialized with ModuleGroupSingletonProvider) then SingletonProvider is incorrectly initialized with the default impl (RegistrySingletonProvider). As a result,
      subsequent CDI deployments fail with java.lang.RuntimeException: SingletonProvider is already initialized....

            rhn-support-ivassile Ilia Vassilev
            rhn-support-bmaxwell Brad Maxwell
            Daniel Cihak Daniel Cihak
            Daniel Cihak Daniel Cihak
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: