Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B19B411331 for ; Wed, 21 May 2014 13:26:30 +0000 (UTC) Received: (qmail 18702 invoked by uid 500); 21 May 2014 13:26:30 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 18656 invoked by uid 500); 21 May 2014 13:26:30 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 18648 invoked by uid 99); 21 May 2014 13:26:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2014 13:26:30 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.tully@gmail.com designates 209.85.213.175 as permitted sender) Received: from [209.85.213.175] (HELO mail-ig0-f175.google.com) (209.85.213.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2014 13:26:27 +0000 Received: by mail-ig0-f175.google.com with SMTP id uq10so6169961igb.8 for ; Wed, 21 May 2014 06:26:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ATpFoZ3GcVgOhFrdvxEQok98vbm/XbTEI7YUfQSdee8=; b=eQO6z/hA0PG/ke2MqLzwuImRU+izportQpUoYXOZKgk+SBHcBdihamoowlYGiCBwej 0rvX8lFxrsijbDAhcRqYK2vhm63AUFDEU5qz3IJ0EFpb0p0VGtORO/3qlAwRmV68u+RS 1zTqMgPP1u/xFNTgzZgKXdSL3PONAjgPT8Nq4QXPwQttUV0JQ2EK8EJd36ae44L9Yi0r DztCRIk8nGt8Xt998S5oZA9fdmG9XMqv6RpYuUZkeiUIwUHz5+7JKuLbmsloAnrHIXsa TVmUs4lMIvmzokdwa6Jj0cXzAiH0Kl+BfdEHqNFp7OIgSrZA8+quWyonWVgnCh/7dSw9 spjg== MIME-Version: 1.0 X-Received: by 10.50.79.195 with SMTP id l3mr13761092igx.36.1400678764092; Wed, 21 May 2014 06:26:04 -0700 (PDT) Received: by 10.64.14.235 with HTTP; Wed, 21 May 2014 06:26:04 -0700 (PDT) In-Reply-To: <1400661580481-4681298.post@n4.nabble.com> References: <1400661580481-4681298.post@n4.nabble.com> Date: Wed, 21 May 2014 14:26:04 +0100 Message-ID: Subject: Re: ActiveMQ Connection.close() timeout From: Gary Tully To: "users@activemq.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org that is a bug, please raise a jira issue. there is no need to report an exception in that case. it should be caught by the code and ignored. On 21 May 2014 09:39, dorus wrote: > Hello everybody, > > I have an active mq installed in my application, embedded. I have a > connection for sending messages to a queue and a connection for receiveing > messages from that queue. When I shut down the application, I stop and close > each connection then I stop the broker. > > Everything works fine, except if I leave the server running over the night. > In this situation, when I close the receiveing connection i receive the > following exception: > > org.apache.activemq.transport.RequestTimedOutIOException at > org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72) > at > org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1459) > at org.apache.activemq.ActiveMQConnection.close(ActiveMQConnection.java:696) > > I am using activemq 5.9.0 > > Does anyone have any idea how to get rid of this exception? > > Thank you very much, > Doru > > > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Connection-close-timeout-tp4681298.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://redhat.com http://blog.garytully.com