CUBA 7.2.13 - Scheduler Tasks not executing

Hello,

Facing issue with scheduler tasks on Cuba 7.2.13. Have 4 scheduler task configured as singleton to run daily on specified cron settings. Smallest task execution time is around 1 sec and for largest task its around 90 sec.
These task were executing fine. No environment changes done but now task history shows no execution record and tasks are not executed. Manually executing any task at the configured time gives no error and success is recorded in task execution history

In logs found
Exception in thread “cuba_core_scheduler-16” java.lang.IllegalMonitorStateException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.signal(AbstractQueuedSynchronizer.java:1939)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1103)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)

Appreciate any help on this.

Thanks

Hi,

How attributes of the affected scheduled tasks look like, can you show the attributes?

Also invoke the SQL select on your DB to check the state of these scheduled task:

select * from SYS_SCHEDULED_TASK

Column values for LAST_START_TIME, LAST_START_SERVER are the ones that may light up the situation.

Pls refer attached screenshot for attributes. Application is hosted on a single server, LAST_START_SERVER is localhost and LAST_START_TIME shows it last executed on 01 Aug 25

I would suggest to set some sensible Timeout for the task. It might help.

ok, have set timeout. Will update the results.