Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 16662 invoked from network); 7 Jul 2008 19:34:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jul 2008 19:34:51 -0000 Received: (qmail 29295 invoked by uid 500); 7 Jul 2008 19:34:51 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 29264 invoked by uid 500); 7 Jul 2008 19:34:51 -0000 Mailing-List: contact dev-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 dev@activemq.apache.org Received: (qmail 29253 invoked by uid 99); 7 Jul 2008 19:34:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 12:34:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 19:34:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 507DF234C155 for ; Mon, 7 Jul 2008 12:34:00 -0700 (PDT) Message-ID: <2144519149.1215459240314.JavaMail.jira@brutus> Date: Mon, 7 Jul 2008 12:34:00 -0700 (PDT) From: "Rob Davies (JIRA)" To: dev@activemq.apache.org Subject: [jira] Assigned: (AMQ-1839) There's no way to stop thread spawned by org.apache.activemq.thread.Scheduler In-Reply-To: <1235398930.1215364800321.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Davies reassigned AMQ-1839: ------------------------------- Assignee: Rob Davies > There's no way to stop thread spawned by org.apache.activemq.thread.Scheduler > ----------------------------------------------------------------------------- > > Key: AMQ-1839 > URL: https://issues.apache.org/activemq/browse/AMQ-1839 > Project: ActiveMQ > Issue Type: Improvement > Components: Broker > Affects Versions: 5.1.0 > Reporter: Roman Puchkovskiy > Assignee: Rob Davies > Fix For: 5.2.0 > > Attachments: AMQ-shutting-scheduler-down.patch > > > When ActiveMQ is unloaded (for instance, if it was loaded by a web-application from its WEB-INF/lib), a timer thread spawned by Scheduler still remains in memory, which prevents a classloader to be unloaded. There's no any way to stop the timer explicitly. > Attaching a patch which adds a shutdown method which may be called when ActiveMQ is unloaded. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.