Disabling all schedules in Glassfish 3.1
Disabling all schedules in Glassfish 3.1
January 27, 2012 - 02:13
Hallo,
I have about 20 EJBs with schedules (@Schedule annotated) in my
project and if I want to test/fix a small thing I don't want that
all/some timers start.
Is it possible to disable timer service (all schedules) in Glassfish?
Maybe there are some config entires to do this?
Thanks.





No, there is no such option.
When you are fixing small things, you still want to test your app as if
it's in production mode, with everything else still the same.
-Cheng
On 1/27/12 4:13 AM, sofonja@gmail.com wrote:
> Hallo,
>
> I have about 20 EJBs with schedules (@Schedule annotated) in my
> project and if I want to test/fix a small thing I don't want that
> all/some timers start.
> Is it possible to disable timer service (all schedules) in Glassfish?
> Maybe there are some config entires to do this?
>
> Thanks.