activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Bridger (JIRA)" <>
Subject [jira] [Updated] (AMQ-3994) DefaultDatabaseLocker will leak pooled connections on link failure
Date Mon, 10 Sep 2012 14:06:07 GMT


Philip Bridger updated AMQ-3994:


Patch file from tag of 5.6.0

Apologies for not attaching it when creating the issue.

> DefaultDatabaseLocker will leak pooled connections on link failure
> ------------------------------------------------------------------
>                 Key: AMQ-3994
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.6.0
>            Reporter: Philip Bridger
>         Attachments:
> When the broker has lost the connection to the database through external issues -- link
or database goes down, the process broker will stop().
> When it is shutting down, it calls on each component (service) to stop().
> The DefaultDatabaseLocker when stopping will test the connection to see if it is open
or not before calling close() on the connection. Given that the connection was closed due
to a link failure, the connection is never returned to the pool, hence the leak.
> In this same file there is a comment in start() which warns about being careful about
connection leaks.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message