ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram de Kruijff (JIRA)" <>
Subject [jira] [Commented] (ACE-431) Agent configuration is not set correctly in any case
Date Sun, 17 Nov 2013 22:43:22 GMT


Bram de Kruijff commented on ACE-431:

Looking at the code I can explain this problem:

The Agent Context ensure all handlers are started before the Default Controller component.
However, the Configuration Handler triggers a Config Changed Event using ASYNC delivery. Thus
is may happen the Default Controller component passes its start before the event has reached

The simple solution seems to be to change the initial delivery to synchronous. In this case
we know the source so there will be no deadlocks. 

> Agent configuration is not set correctly in any case
> ----------------------------------------------------
>                 Key: ACE-431
>                 URL:
>             Project: ACE
>          Issue Type: Bug
>          Components: Management Agent
>    Affects Versions: 1.0.0
>            Reporter: Wilfried Sibla
> Occasionally it happens that the config parameter agent.controller.syncdelay is not set
in DefaultController.handle before it is used in DefaultController.start.
> This seems to be a concurrency issue.

This message was sent by Atlassian JIRA

View raw message