Hello;

Currently org.apache.openejb.util.Pool uses executor. For example, 
StatelessInstanceManager provides it via 


        executor = new ThreadPoolExecutor(callbackThreads, callbackThreads*2,
                0L, TimeUnit.MILLISECONDS,
                new LinkedBlockingQueue<Runnable>());

ThreadPoolExecutor provides threads using Executors.defaultThreadFactory() that 
creates non-daemon threads. 


When deploy OpenEJB  into Tomcat, after stopping the tomcat instance, it has 
not 
been stopped, because of those non-daemon threads. Is it possible to "shutDown" 
executor on the pool after undeployment of ejbs?

Thanks;

--Gurkan

Reply via email to