-
Bug
-
Resolution: Done
-
Major
-
3.0.8.Final
-
None
If you invoke a CDI bean which is also a JAX-RS resource outside of the the JAX-RS pipeline (typically when running some integration tests) the ResteasyProviderFactory remains broken for the entire container (most probably its singleton is loaded by an incorrect classloader). As a result, every similar invocation for any other deployment fails with Weld exception.
This is a regression introduced by the following Resteasy commit:
https://github.com/resteasy/Resteasy/commit/5de5503bd2909e431e30a1fb3b22a18d166746d4
A simple reproducer is attached.