-
Bug
-
Resolution: Done
-
Major
-
3.0.5.Final
-
None
-
None
I have a war application that contains a jar with commonly used code. Both contain a beans.xml set to version 2.0 and both have a application-scoped bean with an observer method for the initialized event of the application scope. Additionally both have an observer method for the destroyed event of the application scope.
My observation is that only the observer inside the war is fire 100% of the time. The initialized-observer in the jar is sometimes ignored. I can't find any pattern when it fires and when not. The destroyed-observer is always fired in both cases (even if the initialized-observer didn't fire).
I'm not able to debug the whole thing because it always works as soon as I start the server in debug mode.
- is caused by
-
WFLY-11601 Weld vs Undertow bootstrap: Race condition
- Closed