-
Bug
-
Resolution: Done
-
Major
-
3.1.0.Final
-
None
When firing async events, various executors can be used.
In doing so, their TCCL changes and other technologies that may rely on it will fail (WFLY-11907). On WFLY, this also causes problem once you try to use CDI.current() as WFLY attempts to decide which Weld container belongs to that call based on TCCL (WFLY-11906).
We can try and wrap each notification with privileged action that sets the TCCL to what it was originally and unsets it when done.
- is related to
-
RESTEASY-2247 NPE trying to use Resteasy Client inside CDI Async Event
- Resolved
-
WFLY-11906 Managed Executor Task Fails with CDI if created from Batchlet
- Closed
-
WFLY-11907 NPE trying to use Resteasy Client inside CDI Async Event
- Closed