You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2011/04/05 12:10:06 UTC
[jira] [Resolved] (QPID-3187) No exception handling for many timer
tasks in broker
[ https://issues.apache.org/jira/browse/QPID-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim resolved QPID-3187.
------------------------------
Resolution: Fixed
> No exception handling for many timer tasks in broker
> ----------------------------------------------------
>
> Key: QPID-3187
> URL: https://issues.apache.org/jira/browse/QPID-3187
> Project: Qpid
> Issue Type: Bug
> Affects Versions: 0.8, 0.10
> Reporter: Gordon Sim
> Assignee: Gordon Sim
>
> The assumption in Timer appears to be that no thread will ever throw from TimerTask::fire(). In practice however few of the implementations of that method in the broker take any measures to ensure that is the case. If code called on a timer thread throws there is therefore the risk of the broker terminating (I have observed such a case for example on the management periodic processing).
> It would probably be advisable to add some generic protection for this.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org