[ https://issues.apache.org/jira/browse/AMQ-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish closed AMQ-5869. ----------------------------- Resolution: Incomplete No test case provided to help reproduce the problem. > Failed to remove inactive destination: Destination still has an active > subscription > ----------------------------------------------------------------------------------- > > Key: AMQ-5869 > URL: https://issues.apache.org/jira/browse/AMQ-5869 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.11.1 > Environment: openjdk-7u79 > linux > i386 > Reporter: John Leach > Priority: Minor > > I have two amq brokers, bridged together with consumers connected to both. > And a destination policy configured like this: > <policyEntry topic=">" producerFlowControl="true" memoryLimit="1mb" > gcInactiveDestinations="true" inactiveTimoutBeforeGC="30000"> > I've been running them for years, upgrading through the 5.x releases. > I just upgraded to 5.11.1 (and had to also upgrade from openjdk-6 to > openjdk-7 to do so) and are seeing an exception being logged every 10 seconds: > Jun 30 10:28:10 srv-zvbod activemq: INFO | > ActiveMQ.Advisory.Consumer.Queue.DB.dbs-yafwc.srv-8ra75 Inactive for longer > than 30000 ms - removing ... > Jun 30 10:28:10 srv-zvbod activemq: ERROR | Failed to remove inactive > destination org.apache.activemq.security.AuthorizationDestinationFilter@91c406 > Jun 30 10:28:10 srv-zvbod activemq: javax.jms.JMSException: Destination still > has an active subscription: > topic://ActiveMQ.Advisory.Consumer.Queue.DB.dbs-yafwc.srv-8ra75 > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.broker.region.AbstractRegion.removeDestination(AbstractRegion.java:194)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.broker.jmx.ManagedTopicRegion.removeDestination(ManagedTopicRegion.java:62)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.broker.region.RegionBroker.removeDestination(RegionBroker.java:363)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:177)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:177)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.advisory.AdvisoryBroker.removeDestination(AdvisoryBroker.java:225)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:177)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:177)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.security.AbstractAuthenticationBroker.removeDestination(AbstractAuthenticationBroker.java:38)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:177)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.security.AuthorizationBroker.removeDestination(AuthorizationBroker.java:129)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:177)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.broker.MutableBrokerFilter.removeDestination(MutableBrokerFilter.java:182)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.broker.region.RegionBroker.purgeInactiveDestinations(RegionBroker.java:907)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.broker.region.RegionBroker$1.run(RegionBroker.java:118)[activemq-broker-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33)[activemq-client-5.11.1.jar:5.11.1] > Jun 30 10:28:10 srv-zvbod activemq: #011at > java.util.TimerThread.mainLoop(Timer.java:555)[:1.7.0_79] > Jun 30 10:28:10 srv-zvbod activemq: #011at > java.util.TimerThread.run(Timer.java:505)[:1.7.0_79] > as more and more of these topics are being created, I'm seeing more > exceptions listed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)