Meaningless Drivel is fun!*
The moose likes Spring and the fly likes Inconsistent behaviour by Spring Quartz Scheduler. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Inconsistent behaviour by Spring Quartz Scheduler." Watch "Inconsistent behaviour by Spring Quartz Scheduler." New topic

Inconsistent behaviour by Spring Quartz Scheduler.

vijayender madura

Joined: Jun 18, 2009
Posts: 13

I have a Spring Quartz scheduler which is clustered on multipele servers. The quartz properties are loaded from spring context as follows :

Now, here is my problem. Sometimes the Cron trigger doesn't fire at all and i get the following error on my console:

2011-09-12 06:24:20,804 [QuartzScheduler_Quartz Scheduler-testserver.corp1315801853523_ClusterManager] WARN org.springframework.scheduling.quartz.LocalDataSourceJobStore - This scheduler instance (ORLLA001.curascript.root.corp1315801853523) is still active but was recovered by another instance in the cluster. This may cause inconsistent behavior.

What could be the reason for this? Is this something that could happen when more than 5 threads get triggered by quartz? (Since i hjave specified the threadCound as 5) ?

Thanks in advance for the help.
-Vijayender Madura

'Scientia est Potentia'
I agree. Here's the link:
subject: Inconsistent behaviour by Spring Quartz Scheduler.
Similar Threads
Hibernate show_sql not working
Quartz1.6.4 - how to maintain state after system/application restart
Restrict quartz scheduler to single instance.
Spring and Quartz - can't update Triggers in database
spring hinbernet integration session problem