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.
1 of 1 people found this helpful
Yeah, 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.