• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Quartz scheduler not deleting the job from all servers

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 :
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic