2 Replies Latest reply on Aug 11, 2010 10:19 AM by pferraro

    Clustering Scheduled Services

    sana13

      I want to write a scheduled service in JBoss AS. The instances of the JBoss AS are clustered. This scheduled service should be running on a daily basis for a particular no of times. Can this service be clustered in such a way that if it fails at one node in its fourth count , it can be picked up by the other node and continue from the next  count onwards?

        • 1. Re: Clustering Scheduled Services
          belaban

          Yes, you need to use the Scheduler service and turn it into a cluster singleton. That's simply done by deploying your service into a special directory (under /deploy/singleton), I forgot the exact name.

          If you google for singleton service, scheduler, or cluster singleton you should be able to find the right documentation.

          Cheers,

          • 2. Re: Clustering Scheduled Services
            pferraro

            The deployment directory for clustered singletons is: $JBOSS_HOME/server/<your-profile>/deploy-hasingleton/