1 Reply Latest reply on Dec 7, 2015 6:47 AM by vachr

    Wildfly 10.0.0.CR3 timers in cluster

    vachr

      I have a question about timers in domain mode with 3 nodes and 3 groups. Timers are setup to be persisted in database. Problem is that @Timeout in @Singleton bean is invoked 30 times. I really dont know why?

       

      Configuration:

      - wildfly 10 CR3

      - domain mode (3xVM). Each VM has groups (management, data-collectors, content-providers)

      - TimerService is within @Singleton class

       

      Problem:

      - @Timeout in @Singleton class is invoked many times

       

      Solution?

       

      Thx

        • 1. Re: Wildfly 10.0.0.CR3 timers in cluster
          vachr

          I have found solution.

           

          I set timer in wrong format to minutes */3. So every 3 mintes each second to 4th minute timer was invoked (timer start at 10:03:30, timer was invoked 30x times). When I was set timer to second: 1 and minute: */3, the timer was invoked every 3 minutes and 1 second just once. That is all.