Open jesse-gallagher opened 1 year ago
As with a lot of async things, this is inconsistent, and so it may be difficult to reproduce locally or write a test for.
It's possible (but unconfirmed) that this is fixed by way of https://github.com/OpenNTF/org.openntf.xsp.jakartaee/issues/405 . Since the problem here is possibly that RESTeasy wasn't finding the ManagedExecutorService via JNDI, the new way of perma-registering a proxy may fix that.
This problem presumably comes from using
CompletionStage
as the return value - that's legal for MP Client, but RestEasy isn't using theManagedExecutorService
and thus doesn't init/term threads properly.Stack trace: