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

Fix DST changes handling by EJB CalendarBasedTimeout to match traditional cron

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • None
    • None
    • EJB
    • None

    Description

      EJB schedule expressions were designed to match UNIX Cron, but WildFly currently does not provides such handling of DST changes, relying on JDK Calendar to handle these, which means that on DST rollback repeated periods only STD timeouts will be generated, and on DST forward skipped periods a replacement will be used (+ or - amount of DST savings) that may repeat (when adjustment goes back) or skip (when adjustment goes forward) other timeouts.

      This issue should add traditional cron behaviour to WildFly EJB CalendarBasedTimeout, i.e. timeouts on DST rollback repeated period will occur in both DST and STD, and timeouts on DST forward skipped period will be skipped. Tests that ensure such behaviour should be added too.

      Attachments

        Activity

          People

            emartins@redhat.com Eduardo Martins
            emartins@redhat.com Eduardo Martins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: