This content has been marked as final.
Show 2 replies
-
1. Re: No active application context
blabno Oct 31, 2008 12:28 PM (in response to blabno)Is maybe context dependent on a thread ? Cause em.remove within acceptPool method is executed in
Thread-251
andManager
starts in someDefaultQuartzScheduler_Worker-1,5,jboss
. -
2. Re: No active application context
blabno Oct 31, 2008 1:29 PM (in response to blabno)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_Worker
thread which is set up by @Asynchronous annotation.