Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F50111821 for ; Tue, 12 Aug 2014 22:44:12 +0000 (UTC) Received: (qmail 86926 invoked by uid 500); 12 Aug 2014 22:44:12 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 86869 invoked by uid 500); 12 Aug 2014 22:44:12 -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 86857 invoked by uid 99); 12 Aug 2014 22:44:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 22:44:12 +0000 Date: Tue, 12 Aug 2014 22:44:12 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (AMQ-5250) temp queue not working after long run of activemq MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-5250?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish closed AMQ-5250. ----------------------------- Resolution: Cannot Reproduce No test case to investigate and from the description it sounds like normal = temp queue behaviour as the lifetime is linked to that of its connection so= if the connection goes down the Queues go away. =20 > temp queue not working after long run of activemq > ------------------------------------------------- > > Key: AMQ-5250 > URL: https://issues.apache.org/jira/browse/AMQ-5250 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.9.0 > Reporter: Rural Hunter > Fix For: WAITING_FOR_TEST > > > We encounterred a problem when using temp queue for request/reply pattern= . It worked normally but after a long time lets say several weeks, the appl= ications using temp queue started to report errors: > 2014-06-25 08:25:59 [WARNING] Message back to the server fails=EF=BC=81 > javax.jms.InvalidDestinationException: Cannot publish to a deleted Destin= ation: temp-queue://ID:myserver-45345-1403492084155-1:1:259 > at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1748) > at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProduc= er.java:289) > at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProduc= er.java:224) > at org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessag= eProducerSupport.java:300) > I created a test application to test the temp when the problem happened a= nd found this: On each connection, the temp queue worked once and the secon= d time it failed. I also tried to monitor messages in ActiveMQ.Advisory.Tem= pQueue. But I could only receive one message after I subsribed on it everyt= ime.=20 > I checked the activemq log and there was nothing about the problem. Other= applications not using temp queue worked fine. This happened twice in rece= nt month. I just had to restart activemq to fix it. > I saw a same error in mailing list but not sure if it's the same problem: > http://activemq.2283324.n4.nabble.com/Getting-a-quot-Cannot-publish-to-a-= deleted-Destination-quot-but-eventually-works-after-a-couple-of-rs-td468249= 7.html -- This message was sent by Atlassian JIRA (v6.2#6252)