-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
15.0.1.Final
-
None
WFLY-9732 / WFLY-10784 moves the completion of WELD from the WeldStartService to WeldStartCompetionService. This causes a race condition with the UndertowDeploymentService which executes the servlet listeners for context-initialized which again fires ApplicationScope-initialized events in CDI.
You can find more in WELD-2557.
In short: WeldStartCompletionService and UndertowDeploymentService pushes the logic to the executor service. It may happen, that the logik of undertow runs before the weld completion. Events fired in the servlet listeners won't find all event observers.
A possible solution would bo to set the WeldStartCompletionService as a dependency of the UndertowDeploymentService
- causes
-
WELD-2557 Not all events are fired
- Resolved
- is caused by
-
WFLY-10784 WeldStartCompletionService failed when optional components not installed
- Closed
- relates to
-
WFLY-9732 Defer invocation of WeldBootstrap.endInitialization() until all EE components are started
- Closed