My Oracle Support Banner

Timeout Called 4 Times In A Calendar-Based Programmatic Timer (Doc ID 1544207.1)

Last updated on AUGUST 21, 2023

Applies to:

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

Symptoms

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);

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.