activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandini R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-5946) Tomcat 7.0.62 complains of memory leak when web app is stopped or reloaded
Date Thu, 03 Sep 2015 08:36:46 GMT

    [ https://issues.apache.org/jira/browse/AMQ-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728699#comment-14728699
] 

Nandini R commented on AMQ-5946:
--------------------------------

The issue is not present when ActiveMQ is running .
Suppose I do not start AMQ and then start my webapp , failover protocol keeps retrying. 
Now, when I stop webapp , I have these 2 threads only .
Is it related to below issue ?
https://issues.apache.org/jira/browse/AMQ-796 

> Tomcat 7.0.62 complains of memory leak when web app is stopped or reloaded
> --------------------------------------------------------------------------
>
>                 Key: AMQ-5946
>                 URL: https://issues.apache.org/jira/browse/AMQ-5946
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.10.2
>         Environment: Tomcat 7.0.62 , ActiveMQ 5.10.2 , Spring 4.1.2
>            Reporter: Nandini R
>
> We are using failover protocol to connect to broker. 
> Url is as :  "failover:(tcp://localhost:61616)?startupMaxReconnectAttempts=2&initialReconnectDelay=60000&maxReconnectAttempts=2
> Suppose I start web application with AMQ not running and then stop web application ,
I get below logs in tomcat
> SEVERE: The web application [] appears to have started a thread name
> d [ActiveMQ Connection Executor: unconnected] but has failed to stop it. This is
>  very likely to create a memory leak.
> Aug 25, 2015 11:27:59 AM org.apache.catalina.loader.WebappClassLoader clearRefer
> encesThreads
> SEVERE: The web application [] appears to have started a thread name
> d [ActiveMQ Task-1] but has failed to stop it. This is very likely to create a m
> emory leak.
> I can see these 2 threads in thread dump. 
> How do I close these on stopping web application ?
> On webapp shutdown I am shutting down message containers and closing spring context.
> I am not facing any issues if active MQ is running.
> 				



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message