Serge Huber created UNOMI-235:
---------------------------------

             Summary: Exception in timers cancels them
                 Key: UNOMI-235
                 URL: https://issues.apache.org/jira/browse/UNOMI-235
             Project: Apache Unomi
          Issue Type: Bug
          Components: core
    Affects Versions: 1.4.0, 1.3.0-incubating, 1.2.0-incubating, 
1.1.0-incubating, 1.0.0-incubating
            Reporter: Serge Huber
            Assignee: Serge Huber
             Fix For: 1.5.0


We currently have a problem if any exceptions occur inside the execution of 
scheduled timers such as the ones that reload rules from the ElasticSearch 
back-end.

To reproduce this problem, simply launch Unomi, shutdown ElasticSearch and once 
this happens, exceptions are generated and the timer for rule reload is 
cancelled. Other timers may also be affected. 

We should solve this by catching all exceptions inside timers and log them. 
This might generate lots of logs but this is better behavior than cancelling 
the timers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to