You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by "Leonardo K. Shikida" <sh...@gmail.com> on 2016/06/09 14:17:46 UTC

how do I set org.apache.openejb.pool.scheduler in tomee 1.6.0?

how do I set org.apache.openejb.pool.scheduler in tomee 1.6.0?

around 90 are being created

[1]
system.properties

openejb.timer.pool.size = 1
org.quartz.threadPool.threadCount = 1

[2]
system.properties
EjbTimerPool.CorePoolSize = 1

[3] custom quartz config file (application.properties)
org.quartz.threadPool.threadCount = 1

no option above seems to work.

I am using 1.6.0 stable (old one, not 1.6.0.2)

ps. I can't try to upgrade to 1.6.0.x stable but not much more than that.

TIA

Leo

Re: how do I set org.apache.openejb.pool.scheduler in tomee 1.6.0?

Posted by "Leonardo K. Shikida" <sh...@gmail.com>.
thx

[]

Leo

On Thu, Jun 9, 2016 at 11:31 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:

> Hi Leonardo, this is not possible before TomEE 7 and
> https://issues.apache.org/jira/browse/TOMEE-1604
>
> Side note: these threads are stateless eviction ones not @Scheduler ones.
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2016-06-09 16:17 GMT+02:00 Leonardo K. Shikida <sh...@gmail.com>:
>
> > how do I set org.apache.openejb.pool.scheduler in tomee 1.6.0?
> >
> > around 90 are being created
> >
> > [1]
> > system.properties
> >
> > openejb.timer.pool.size = 1
> > org.quartz.threadPool.threadCount = 1
> >
> > [2]
> > system.properties
> > EjbTimerPool.CorePoolSize = 1
> >
> > [3] custom quartz config file (application.properties)
> > org.quartz.threadPool.threadCount = 1
> >
> > no option above seems to work.
> >
> > I am using 1.6.0 stable (old one, not 1.6.0.2)
> >
> > ps. I can't try to upgrade to 1.6.0.x stable but not much more than that.
> >
> > TIA
> >
> > Leo
> >
>

Re: how do I set org.apache.openejb.pool.scheduler in tomee 1.6.0?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi Leonardo, this is not possible before TomEE 7 and
https://issues.apache.org/jira/browse/TOMEE-1604

Side note: these threads are stateless eviction ones not @Scheduler ones.


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-06-09 16:17 GMT+02:00 Leonardo K. Shikida <sh...@gmail.com>:

> how do I set org.apache.openejb.pool.scheduler in tomee 1.6.0?
>
> around 90 are being created
>
> [1]
> system.properties
>
> openejb.timer.pool.size = 1
> org.quartz.threadPool.threadCount = 1
>
> [2]
> system.properties
> EjbTimerPool.CorePoolSize = 1
>
> [3] custom quartz config file (application.properties)
> org.quartz.threadPool.threadCount = 1
>
> no option above seems to work.
>
> I am using 1.6.0 stable (old one, not 1.6.0.2)
>
> ps. I can't try to upgrade to 1.6.0.x stable but not much more than that.
>
> TIA
>
> Leo
>