[jboss-jira] [JBoss JIRA] (WFLY-10130) A Timer will hang forever if the database connection is not available

Jörg Bäsner (JIRA) issues at jboss.org
Wed Mar 28 09:29:05 EDT 2018


Jörg Bäsner created WFLY-10130:
----------------------------------

             Summary: A Timer will hang forever if the database connection is not available
                 Key: WFLY-10130
                 URL: https://issues.jboss.org/browse/WFLY-10130
             Project: WildFly
          Issue Type: Bug
          Components: EJB
    Affects Versions: 12.0.0.Final
            Reporter: Jörg Bäsner
            Assignee: Jörg Bäsner


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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list