You could also just set your bean to @Singleton
On Wed, May 21, 2014 at 11:16 AM, Andy Gumbrecht <[email protected]>wrote: > I think the property is now: > > EjbTimerPool.CorePoolSize = 3 > > Andy. > > On 21/05/2014 16:34, Romain Manni-Bucau wrote: > >> Hi >> >> openejb.timer.pool.size is the one. Only case it can be ignored is you >> specified a custom org.quartz.threadPool.class >> >> >> BTW check you don't have a log line like: >> >> >> >> Found property 'org.apache.openejb.quartz.threadPool.threadCount' for >> default thread pool, please u >> >> >> >> >> Romain Manni-Bucau >> Twitter: @rmannibucau >> Blog: http://rmannibucau.wordpress.com/ >> LinkedIn: http://fr.linkedin.com/in/rmannibucau >> Github: https://github.com/rmannibucau >> >> >> 2014-05-21 16:25 GMT+02:00 Mika Majakorpi <[email protected]>: >> >> Hi, >>> >>> TomEE 1.6.0 has a default thread pool with 3 threads for EJB timer >>> scheduling. I'd like to increase the size of this pool or configure a >>> separate pool for my web application. >>> >>> I've tried to set the following properties separately or together >>> inside my application in WEB-INF/application.properties and for TomEE >>> globally in tomee/conf/system.properties but they don't seem to have >>> any effect: >>> >>> openejb.timer.pool.size = 30 >>> org.quartz.threadPool.threadCount = 30 >>> >>> How can I increase the EJB timer pool thread count in TomEE? >>> >>> Thanks! >>> >>> Mika Majakorpi >>> >>> > -- > Andy Gumbrecht > > http://www.tomitribe.com > [email protected] > https://twitter.com/AndyGeeDe > > TomEE treibt Tomitribe! | http://tomee.apache.org > >
