This content has been marked as final.
Show 3 replies
-
1. Re: Asynchronous EJB thread pool configuration in 7.0.2
stianst Oct 6, 2011 11:30 AM (in response to inet_gbo)I'm having the same problem - it seems that only one call to the @Asynchronous method is allowed concurrently.
I'm using a stateless session bean, and the same bean used to work fine in AS 6, but doesn't in AS 7.0.2 as I need to be able to execute more than one concurrent calls to the method at the same time. Although it does actually execute asynchronously at least.
-
2. Re: Asynchronous EJB thread pool configuration in 7.0.2
jaikiran Oct 6, 2011 11:42 AM (in response to stianst)1 of 1 people found this helpfulYeah, this is currently hard coded (and a TODO):
//TODO: Quick hack for testing purposes //this needs to be replaced by a real thread pool setup final UnboundedQueueThreadPoolService threadPoolService = new UnboundedQueueThreadPoolService(Runtime.getRuntime().availableProcessors(), TimeSpec.DEFAULT_KEEPALIVE);
Please create a JIRA for this.
-
3. Re: Asynchronous EJB thread pool configuration in 7.0.2
stianst Oct 7, 2011 5:07 AM (in response to jaikiran)1 of 1 people found this helpful