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

Wolf-Dieter Fink (JIRA) issues at jboss.org
Wed Apr 4 06:29:01 EDT 2018


Wolf-Dieter Fink created WFLY-10170:
---------------------------------------

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


Having a  Timer annotated like:

{code}
@Schedule(second = "*/15", minute = "*", hour = "*", persistent = true)
public void timeoutMethod() {
{code}
and a server configuration like:

{code:xml}
<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>
{code}

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