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

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

    Details

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jbaesner Jörg Bäsner
                  Reporter:
                  jbaesner Jörg Bäsner
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: