Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15569

Database persistent auto timer are created twice

XMLWordPrintable

      The customer is having a cluster with two nodes in a domain setup. They have auto timer like below in @Singleton, @Startup EJBs:

       

      @Singleton
      @Startup
      public class xxx {
      
        @Schedule(second= "*/30", minute = "*", hour = "*", dayOfWeek = "*", month = "*", year = "*", persistent = true)
        public void schedule() {
          ...
        }
      

      In some cases (race condition?) the timer is created twice in the database, see attached files.

      Is this a known issue?
       

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: