Skip to main content

Disabling all schedules in Glassfish 3.1

1 reply [Last post]
638 Guest
Offline
Joined: 2012-01-27
Points: 0

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.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Cheng Fang Guest
Offline
Joined: 2011-04-15
Points: 0

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.