Results 1 to 3 of 3

Thread: Job scheduling within a JBoss cluster

  1. #1
    Join Date
    Jul 2007
    Posts
    2

    Default 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. #2
    Join Date
    Mar 2005
    Location
    The Netherlands
    Posts
    121

    Default

    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

  3. #3
    Join Date
    Jul 2007
    Posts
    2

    Default

    Hi Joris,

    Thanks, I will dig into that.


    Rik

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •