Hi,

I'm running into problems with this, I think it might be another openejb
bug.

If I have two levels of EJB @async threads get stuck  at:

at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:429)
    at java.util.concurrent.FutureTask.get(FutureTask.java:191)
    at org.apache.openejb.threads.future.CUFuture.get(CUFuture.java:55)
    at
com.tr2.util.interceptor.async.FutureDelegator.get(FutureDelegator.java:19)

The setup is very simple
someStateless -> AsyncTask1 -> asyncTask2

I made an ApplicationComposer test (AsyncInterceptorIT) in that github
project (with latest SNAPSHOT)

https://github.com/cocorossello/tomee-example








--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/MDC-and-Asynchronous-tp4680927p4680971.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to