[
https://issues.apache.org/jira/browse/QPID-6795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960765#comment-14960765
]
Lorenz Quack commented on QPID-6795:
------------------------------------
I think we should call {{stopLogging()}} in {{onExceptionInOpen()}} as well.
IMHO, we are basically trying an orderly shutdown so we should mimic the
{{onClose()}} behaviour.
The {{_dtxRegistry}} should not have been used before or during open so we
don't need to call {{_dtxRegistry.close()}} but the loggers might have already
been resolved.
> Virtual host should close thread pools before transitioning to error state
> --------------------------------------------------------------------------
>
> Key: QPID-6795
> URL: https://issues.apache.org/jira/browse/QPID-6795
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Reporter: Keith Wall
> Assignee: Lorenz Quack
> Fix For: qpid-java-6.0
>
>
> If the virtual host detects a problem whilst trying to active the virtual
> host, the state mechanics of ACO transition the object into the ERROR state.
> The handle AVH#onExceptionInOpen already is careful to close the message
> store, but it closes neither NetworkConnectionScheduler or the Housekeeping
> pool, meaning resources (threads and selectors) leak.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]