Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1E1B9200C1D for ; Thu, 16 Feb 2017 08:59:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1CBA0160B6F; Thu, 16 Feb 2017 07:59:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 662B1160B61 for ; Thu, 16 Feb 2017 08:59:46 +0100 (CET) Received: (qmail 94845 invoked by uid 500); 16 Feb 2017 07:59:45 -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 94833 invoked by uid 99); 16 Feb 2017 07:59:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2017 07:59:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 23E8DC6A6A for ; Thu, 16 Feb 2017 07:59:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Zogh0wJDnB5G for ; Thu, 16 Feb 2017 07:59:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 206575FE52 for ; Thu, 16 Feb 2017 07:59:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0CFF4E05F0 for ; Thu, 16 Feb 2017 07:59:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id B916A2411F for ; Thu, 16 Feb 2017 07:59:41 +0000 (UTC) Date: Thu, 16 Feb 2017 07:59:41 +0000 (UTC) From: "Mykola Markov (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMQ-6602) Memory leak when undeploying webapp with ActiveMQ client MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 16 Feb 2017 07:59:47 -0000 Mykola Markov created AMQ-6602: ---------------------------------- Summary: Memory leak when undeploying webapp with ActiveMQ client Key: AMQ-6602 URL: https://issues.apache.org/jira/browse/AMQ-6602 Project: ActiveMQ Issue Type: Bug Components: JMS client Affects Versions: 5.14.3 Reporter: Mykola Markov Priority: Minor I have a web app with an ActiveMQ client. When undeploying the app, Tomcat logs the following messages. {code} 15-Feb-2017 17:53:31.760 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [Engine] appears to have started a thread named [ActiveMQ Session: ID:comp-41144-1487186920452-1:1:3] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:119) org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:42) 15-Feb-2017 17:53:31.761 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [Engine] appears to have started a thread named [ActiveMQ Session: ID:comp-41144-1487186920452-1:1:2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:119) org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:42) 15-Feb-2017 17:53:31.762 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [Engine] appears to have started a thread named [ActiveMQ Session: ID:comp-41144-1487186920452-1:1:4] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:119) org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:42) 15-Feb-2017 17:53:31.762 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [Engine] appears to have started a thread named [ActiveMQ Session: ID:comp-41144-1487186920452-1:1:10] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:119) org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:42) 15-Feb-2017 17:53:31.763 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [Engine] appears to have started a thread named [ActiveMQ Session: ID:comp-41144-1487186920452-1:1:6] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:119) org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:42) Feb 15, 2017 5:53:31 PM org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)