on-internet
← Community

Spring Scheduler stops unexpectedly

Stack Overflow ·

We have a Spring 3 web application on Tomcat 6 that uses several scheduled services via @Scheduled (mainly for jobs that run every night). Now it appears that sometimes (rarely, perhaps once in two months or so) the scheduler thread stops working, so none of the jobs will be executed in the following night. There is no exception or logging entry in our log files. Has anybody a clue why this is happening? Or how to get more information about this problem? Is there a way to detect this situation within the application and to restart the scheduler? Currently we are solving this by having also a l

Comments

Sign in or sign up to comment and upvote.

No comments yet.