Hi, nice work!
now it seems to be OK when I annotate the Listener class by @Asynchronous.
And now I can go forward with my development.

Thanks alot!!!

Sidenote:
if I skip Asynchronous on class but annotate the method @Asynchronous I get
after a few cycles:

jun 11, 2013 8:09:00 AM org.apache.openejb.core.timer.EjbTimerServiceImpl
ejbTimeout
WARNING: Exception from ejbTimeout on TimerSessionBean
org.apache.openejb.SystemException: java.lang.IllegalStateException:
ThreadContext is bound to another transaction Required: ThreadContext is
bound to another transaction Required
        at
org.apache.openejb.core.transaction.EjbTransactionUtil.afterInvoke(EjbTransactionUtil.java:108)
        at
org.apache.openejb.core.singleton.SingletonContainer._invoke(SingletonContainer.java:246)
        at
org.apache.openejb.core.singleton.SingletonContainer.invoke(SingletonContainer.java:192)
        at
org.apache.openejb.core.timer.EjbTimerServiceImpl.ejbTimeout(EjbTimerServiceImpl.java:734)
        at
org.apache.openejb.core.timer.EjbTimeoutJob.execute(EjbTimeoutJob.java:39)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.IllegalStateException: ThreadContext is bound to
another transaction Required
        ... 9 more


br,

hw



--
View this message in context: 
http://openejb.979440.n4.nabble.com/Tomee-and-security-role-mapping-tp4663567p4663609.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to