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 6A8D1D31B for ; Thu, 29 Nov 2012 12:19:30 +0000 (UTC) Received: (qmail 16345 invoked by uid 500); 29 Nov 2012 12:19:29 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 16306 invoked by uid 500); 29 Nov 2012 12:19:29 -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 16279 invoked by uid 99); 29 Nov 2012 12:19:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2012 12:19:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jan.bares@wood.cz designates 46.13.9.111 as permitted sender) Received: from [46.13.9.111] (HELO mail3.wood-co.cz) (46.13.9.111) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2012 12:19:22 +0000 X-IronPort-AV: E=Sophos;i="4.84,184,1355094000"; d="scan'208";a="3826881" Received: from unknown (HELO prgexc003.prague.wood.cz) ([192.168.1.102]) by mail3.wood-co.cz with ESMTP; 29 Nov 2012 13:19:01 +0100 Received: from PRGEXC003.prague.wood.cz ([::1]) by PRGEXC002.prague.wood.cz ([::1]) with mapi id 14.02.0318.004; Thu, 29 Nov 2012 13:19:01 +0100 From: Jan Bares To: "users@qpid.apache.org" Subject: RE: What if a a message is sent and then a connection is instantly closed after that ? Thread-Topic: What if a a message is sent and then a connection is instantly closed after that ? Thread-Index: AQHNzh6YETCykS9OfUu7z9d4Mvo1LZgAs+UA///ysYCAABQqMA== Date: Thu, 29 Nov 2012 12:19:00 +0000 Message-ID: <5BDF75D02AC1DB4C9DF96C0D0EB948BA6D2BFB75@PRGEXC003.prague.wood.cz> References: <50B73D59.3010305@redhat.com> <5BDF75D02AC1DB4C9DF96C0D0EB948BA6D2BFB18@PRGEXC003.prague.wood.cz> <50B74F7D.2070605@redhat.com> In-Reply-To: <50B74F7D.2070605@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.2.145] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org > > It works fine but after sending several thousands messages I got very > strange error: > > > > javax.jms.IllegalStateException: Object AMQConnection: > > Host: prgesbclu > > Port: 5672 > > Virtual Host: test > > Client ID: clientid > > Active session count: 0 has been closed > > at > org.apache.qpid.client.Closeable.checkNotClosed(Closeable.java:70) > > at > org.apache.qpid.client.AMQConnection.createSession(AMQConnection.java > :616) > > at > org.apache.qpid.client.AMQConnection.createSession(AMQConnection.java > :608) > > at > org.apache.qpid.client.AMQConnection.createSession(AMQConnection.java > :602) > > at > org.apache.qpid.client.AMQConnection.createSession(AMQConnection.java > :82) > > at > calypsox.tk.bo.document.PSEDocumentSender.sendImpl(PSEDocumentSen > der.java:104) > > at > calypsox.tk.bo.document.CommonDocumentSender.send(CommonDocume > ntSender.java:231) > > at > com.calypso.engine.advice.SenderEngine.handleEvent(SenderEngine.java:3 > 42) > > at > com.calypso.engine.advice.SenderEngine.process(SenderEngine.java:204) > > at com.calypso.engine.Engine$EngineThread.run(Engine.java:1041) > = > Hmmm... are there any errors in the broker logs (or any preceding errors > on the client)... I would report this by JIRA, if you have a simple > reproducer that would be ideal. One guess is that the wrapping around of > channel ids might be at fault(?), but that is pure speculation. Thanks for your ideas, I am working on simple reproducer and I will be back= soon. Kind regards, Jan DISCLAIMER WOOD & Company Financial Services, a.s. and its branches are authorized and= regulated by the CNB as Home State regulator and in Poland by the KNF, in = Romania by the CNVM, in Slovakia by the NBS and in the UK by the FSA as Hos= t State regulators. For further information about WOOD & Co., its investme= nt services, financial instruments and associated risks, safeguard client a= ssets (incl. compensation schemes) and contractual relationship please see = our website at www.wood.cz under section Corporate Governance. = Unless otherwise stated, this transmission is neither an offer nor the soli= citation of an offer to sell or purchase any investment. All estimates, opi= nions and other information contained herein are subject to change without = notice and are provided in good faith but without legal responsibility or l= iability. Opinion may be personal to the author and may not reflect the opi= nions of WOOD & Co. Communications from sales persons, sales traders or tra= ders should not be regarded as investment research and may contain opinions= or trading ideas which are different from WOOD & Co. investment research = opinions. = This e-mail and any attachments are confidential and may be privileged or o= therwise protected from disclosure. If you are not a named addressee you mu= st not use, disclose, distribute, copy, print or rely on this e-mail and an= y of its attachments. Please notify the sender that you have received this = email by mistake by replying to the email, and then delete the email and an= y copies of it. Although WOOD & Co. routinely screens e-mails for viruses, = addressees should scan this e-mail and any attachments for viruses. WOOD & = Co. makes no representation or warranty as to the absence of viruses in thi= s e-mail or any attachments. Please note that to ensure regulatory complian= ce and for the protection of our clients and business, we may monitor and r= ead e-mails sent to and from our server(s). --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org