Timeout Called 4 Times In A Calendar-Based Programmatic Timer

(Doc ID 1544207.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version and later
Information in this document applies to any platform.


When the timer expires the @Timeout method is called 4 times.
This happens when the timer is cancelled and new timer is created with:
TimerService timerService;
Timer timer = timerService.createCalendarTimer(se, new TimerConfig("TIMER1", false));

It works fine when a new timer is created without second parameter new TimerConfig():
Timer timer = timerService.createCalendarTimer(se);


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms