-
Bug
-
Resolution: Done
-
Major
-
2.4.3.Final, 3.0.0.Final
-
None
-
None
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).