no there is a bean pool (stateless) and a thread pool (async). Your invocations are in threads of a pool. HttpRequests end in a tomcat thread pool then @async = call me in another pool Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2014/1/8 Anthony Fryer <[email protected]>: > Interesting to know that there are separate sync and async pools. I would > have assumed that you would configure a pool for stateless session beans > that would be used for both sync and async. But i can see that could cause > potential thread deadlocks so you need a dedicated async thread pool. But > maybe the async pool could use sync pool instances and also have an > additional async only pool that can be used in addition to the sync pool > only if all sync pool instances are in use? Hope that makes sense to > someone. > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Re-stateless-bean-pool-all-beans-not-available-async-business-method-causes-problem-tp4667020p4667032.html > Sent from the OpenEJB User mailing list archive at Nabble.com.
