commit in progress to fix it, that's even worse org.quartz.threadPool.threadCount (or org.apache.quartz.threadPool.threadCount on trunk) should have worked
PS: https://issues.apache.org/jira/browse/TOMEE-1219 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 19:00 GMT+02:00 Mika Majakorpi <[email protected]>: > Right, EjbTimerPool.CorePoolSize = 30 works for me when added to > conf/system.properties. > > I got confused because DefaultTimerThreadPoolAdapter has a constant > for "openejb.timer.pool.size" but apparently it's not used. > > Thanks! > > Mika > > > On Wed, May 21, 2014 at 7:46 PM, Romain Manni-Bucau > <[email protected]> wrote: > > You are right Andy, that's a regression we need to fix (we need to > support > > both) > > > > > > > > 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 18:36 GMT+02:00 Jonathan Fisher < > [email protected]> > > : > > > >> 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 > >> > > >> > > >> >
