Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-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 488989C93 for ; Mon, 16 Apr 2012 09:11:54 +0000 (UTC) Received: (qmail 56651 invoked by uid 500); 16 Apr 2012 09:11:54 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 56626 invoked by uid 500); 16 Apr 2012 09:11:53 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 56598 invoked by uid 99); 16 Apr 2012 09:11:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 09:11:53 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gsim@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 09:11:47 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3G9BGRj015184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 16 Apr 2012 05:11:16 -0400 Received: from [10.3.225.128] (vpn-225-128.phx2.redhat.com [10.3.225.128]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q3G8kdhI014834 for ; Mon, 16 Apr 2012 04:46:40 -0400 Message-ID: <4F8BDC6C.3000903@redhat.com> Date: Mon, 16 Apr 2012 09:46:36 +0100 From: Gordon Sim Organization: Red Hat UK Ltd, Registered in England and Wales under Company Registration No. 3798903, Directors: Michael Cunningham (USA), Mark Hegarty (Ireland), Matt Parsons (USA), Charlie Peters (USA) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Lightning/1.0b1 Thunderbird/3.0.10 MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: What exactly does LinkClosed mean? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Virus-Checked: Checked by ClamAV on apache.org On 04/13/2012 08:27 AM, Cajus Pollmeier wrote: > Hi, > > I'm using the python-qpid package to do some messaging. Sometime - > especially after some time of inactivity, the exception "LinkClosed" is > raised when sending a message: > > ... > File "/usr/lib/python2.7/dist-packages/qpid/messaging/endpoints.py", > line 836, in send > self._ecwait(lambda: self.linked) > File "/usr/lib/python2.7/dist-packages/qpid/messaging/endpoints.py", > line 51, in _ecwait > self.check_closed() > File "/usr/lib/python2.7/dist-packages/qpid/messaging/endpoints.py", > line 793, in check_closed > raise LinkClosed() > > Reading the source I'm not quite sure what that means - is the sender > connection down? Or is the receiver bored of dealing with the sender? > > What would be the correct way to deal with that? Is there anything in the broker logs? Any error messages in particular? Does your application have multiple threads accessing the sender? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org