Is maybe context dependent on a thread ? Cause em.remove within acceptPool method is executed in
Managerstarts in some
First tests seem to confirm this suspicion. Now my acceptPool method does not call entity manager nor other injected stuff. It just adds result to collection that will be processed in looping method fired in
DefaultQuartzScheduler_Workerthread which is set up by @Asynchronous annotation.