Quartz scheduler not deleting the job from all servers
Harish V Gupta
posted 2 years ago
Hi all, Our application is based on spring and we are using clustered environment (2 servers) for our application with jndi as datasource (org.springframework.jndi.JndiObjectFactoryBean). For scheduling jobs, quartz is being used. But deleting the job is not deleting the job from both the servers. The job remains active and scheduled on the other server. I googled and found out the we could use isClustered property in quartzProperties for the purpose but it's mentioned that it can be used only for JDBC. Could anyone please tell me how to sort out the problem? I tried using following in applicationContext but it isn't helping :
Correct you can use the clustered mode with with the JDBC store. You need to create the quartz tables. The DDL for these tables as well as configuration to get it working (there is not to much to it) is available in the quartz distribution zip. I have used this a lot and it works great.