Return-Path: X-Original-To: apmail-activemq-issues-archive@minotaur.apache.org Delivered-To: apmail-activemq-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EAB9F18863 for ; Thu, 5 Nov 2015 02:31:27 +0000 (UTC) Received: (qmail 41275 invoked by uid 500); 5 Nov 2015 02:31:27 -0000 Delivered-To: apmail-activemq-issues-archive@activemq.apache.org Received: (qmail 41240 invoked by uid 500); 5 Nov 2015 02:31:27 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 41212 invoked by uid 99); 5 Nov 2015 02:31:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2015 02:31:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AB3E12C0452 for ; Thu, 5 Nov 2015 02:31:27 +0000 (UTC) Date: Thu, 5 Nov 2015 02:31:27 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARTEMIS-297) Handle exceptions during server stop MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ARTEMIS-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14990987#comment-14990987 ] ASF GitHub Bot commented on ARTEMIS-297: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/234 > Handle exceptions during server stop > ------------------------------------ > > Key: ARTEMIS-297 > URL: https://issues.apache.org/jira/browse/ARTEMIS-297 > Project: ActiveMQ Artemis > Issue Type: Bug > Reporter: Martyn Taylor > > The server stop method is quite brittle. If any component throws an exception during shutdown, the exception is thrown and the method exits. Instead the stop method on the server should be able to handle such exceptions and continue shutting down all components and eventually stop the ExecutorServices. Failure to do so can lead to leaking threads. -- This message was sent by Atlassian JIRA (v6.3.4#6332)