tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matej <>
Subject EJB timers stop working.
Date Wed, 11 Feb 2015 14:48:13 GMT
Hi all.

In production under load, we experienced a case were a particular timer
stopped working.

I thought maybe a runstime exception stops a ScheduleExpression, but could
not simulate this. Glassfish I know was very sensible to this.

Could a low EJB timer thread seeting cause a timer to stop, working.

We use tomee 1.7

The timer is initialized like that.

public class CommEtaUpdateCacheTimer {

    private TimerScheduler scheduler;

    public void doit() {
        final ScheduleExpression schedule = new ScheduleExpression()

        scheduler.scheduleEvent(schedule, new

    public void observe(@Observes CommEtaUpdateCacheTimerEvent event) {
processing code.


    public static class CommEtaUpdateCacheTimerEvent {



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message