Hi Matthew

Are you able to wire up an Arquillian test for us?

Thanks

Jon

On Wed, Jan 9, 2019 at 11:54 AM Matthew Broadhead
<[email protected]> wrote:

> hi, i just tried to use a ManagedServiceExecutor for Asynchronous like
>
> @Resource
> private ManagedExecutorService managedExecutorService;
> ...
> public void something(MyObject myObject) {
>      managedExecutorService.submit(() -> somethingFork(myObject));
> }
>
> it seems to be fine with CDI injection but it blows up when trying to
> get an entity manager
> CriteriaBuilder cb = em.getCriteriaBuilder();
>
> it goes to to (org.apache.openejb.threads.task) CUTask.throwable()
>

Reply via email to