Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14545

[GSS](7.1.z) A Timer will hang forever if the database connection is not available

    XMLWordPrintable

Details

    • EAP 7.1.3

    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-ivassile Ilia Vassilev
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: