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

A Timer will hang forever if the database connection is not available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 13.0.0.Beta1, 13.0.0.Final
    • 12.0.0.Final
    • EJB
    • None

    Description

      Having a Timer annotated like:

      @Schedule(second = "*/15", minute = "*", hour = "*", persistent = true)
      public void timeoutMethod() {
      

      and a server configuration like:

      <timer-service thread-pool-name="default" default-data-store="clustered-store">
          <data-stores>
              <database-data-store name="clustered-store" datasource-jndi-name="java:jboss/datasources/ExampleDS"/>
          </data-stores>
      </timer-service>
      

      will lead to a hanging Timer in case the Database connection is not available and only a restart of the server will recover the Timer.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-jbaesner Joerg Baesner
              rhn-support-jbaesner Joerg Baesner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: