Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 95709 invoked from network); 12 Sep 2009 07:02:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Sep 2009 07:02:37 -0000 Received: (qmail 80626 invoked by uid 500); 12 Sep 2009 07:02:36 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 80569 invoked by uid 500); 12 Sep 2009 07:02:36 -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 80559 invoked by uid 99); 12 Sep 2009 07:02:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 07:02:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 07:02:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6FEBE234C4BA for ; Sat, 12 Sep 2009 00:02:12 -0700 (PDT) Message-ID: <559725613.1252738932457.JavaMail.jira@brutus> Date: Sat, 12 Sep 2009 00:02:12 -0700 (PDT) From: "Rob Davies (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-1711) IllegalArgumentException-Subscripiton does not exist when client disconnects In-Reply-To: <805271323.1210038463718.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1711?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Davies resolved AMQ-1711. ----------------------------- Resolution: Fixed Fix Version/s: (was: 5.4.0) 5.3.0 Assignee: Rob Davies > IllegalArgumentException-Subscripiton does not exist when client disconne= cts=20 > -------------------------------------------------------------------------= ---- > > Key: AMQ-1711 > URL: https://issues.apache.org/activemq/browse/AMQ-1711 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 4.1.1 > Reporter: Howard Orner > Assignee: Rob Davies > Fix For: 5.3.0 > > > When a client disconnects in a Network of Brokers configuration, it is po= ssible for an IllegalArgumentException to be thrown from org.apache.activem= q.broker.region.AbstractRegion.acknowlege() due to a race condition between= message processing and disconnect subscription clean-up. It is easily rep= roducable by putting two brokers in a Network of Brokers configuration (We = will call them A and B). If you publish message at a high rate to broker A= (I found that if I published messages at the rate of 1 every 10ms this hap= pened consistantly -- better hardware may require a high rate so I recommen= d pushing message as fast as possible), put a subscriber on broker B (my su= bscriber used selectors but I don't think that makes a difference), and kil= l the subscriber process (I don't know if a friendly disconnect behaves bet= ter), Broker A will throw an exception and disconnect broker B perminately = from the NOB configuration. All future connections to broker B will not re= ceived messages published to A. > I found that if I changed AbstractRegion.acknowledge to log the error, bu= t not throw an exception that it solved the problem with seemly no ill effe= cts. =20 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.