public class BeanClass implements javax.ejb.EntityBean { public void manageThread(){ //..
Thread thread = new Thread();
thread.start(); } //other methods that must implement
the interface
}
Solution
Do not start, stop manage java.lang.Thread objects in any way.