Announcement Announcement Module
Collapse
No announcement yet.
Job scheduling within a JBoss cluster Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Job scheduling within a JBoss cluster

    Hi,

    Can someone point me in the right direction in order to find a solution for scheduling a job with Quartz within a Spring application in a JBoss cluster? So, the point is that the job has to run at one random node and not at every node.

    Thanks,
    Rik

  • #2
    Quartz has built-in support for running in a cluster, which provides exactly the behaviour you want:
    you'll need to use a database to store your jobs and triggers and then set the following Quartz property to true: org.quartz.jobStore.isClustered

    Check the Quartz docs for more info: http://www.opensymphony.com/quartz/w...lustering.html

    Joris

    Comment


    • #3
      Hi Joris,

      Thanks, I will dig into that.


      Rik

      Comment

      Working...
      X