Ok that's cause the EJB is freed (clean up if you want) when the task execute (concurrency issue if you prefer). So no bug AFAIK but you need to pass the state you need to the runnable
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-07-04 13:19 GMT+02:00 hwaastad <[email protected]>: > Sure, > that is possible off cource. > > https://github.com/hwaastad/ConcurrentTest.git > > br > hw > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/TomEE-Managedexecutorservice-and-context-lookup-tp4670305p4670309.html > Sent from the TomEE Users mailing list archive at Nabble.com.
