Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2392

BeanDeploymentModules fallback not entirely correct

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 2.4.3.Final, 3.0.0.Final
    • 2.4.4.Final, 3.0.1.Final
    • None
    • None

    Description

      BeanDeploymentModules, if registered, returns a fallback "default" BeanDeploymentModule (whose isWebModule() returns false) for a bean archive which does not have a EEModuleDescriptor. As a result @Initialized(ApplicationScoped.class) event is fired twice for a WAR without EEModuleDescriptor. Once from HttpContextLifecycle and then also from WeldStartup. The same applies to @Destroyed(ApplicationScoped.class).

      Attachments

        Activity

          People

            manovotn Matěj Novotný
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: