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 C7915185EF for ; Mon, 7 Mar 2016 04:55:43 +0000 (UTC) Received: (qmail 26681 invoked by uid 500); 7 Mar 2016 04:55:43 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 26658 invoked by uid 500); 7 Mar 2016 04:55:43 -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 26646 invoked by uid 99); 7 Mar 2016 04:55:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2016 04:55:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7E83A1A02C3 for ; Mon, 7 Mar 2016 04:55:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.93 X-Spam-Level: ** X-Spam-Status: No, score=2.93 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URI_HEX=1.313, URI_TRY_3LD=0.068] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Qh7luCuneO_K for ; Mon, 7 Mar 2016 04:55:40 +0000 (UTC) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 09A905F2EF for ; Mon, 7 Mar 2016 04:55:40 +0000 (UTC) Received: by mail-io0-f172.google.com with SMTP id n190so119834707iof.0 for ; Sun, 06 Mar 2016 20:55:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to; bh=fcCSF9YrqENMHNq48JZi1Jy4M0gyBSvfBfoMtg3+La4=; b=LB50Ljz7zVAZ6sxpm52RASdstmG+YRvH6aditSBVEceiX+yQeFooU3xFInK2qQnXm9 QatSx11i+4fxE+ZohcfnA3/lSMU7z9cTTFs2hRMp8f+bFfkiKiCy+nlqZl10w+igAz2H QRLPOQmlEseUaanHhzT7piOj6eh/UoYvZRRNstlakpBd4C07tTbgmtRLMd6tUBKD6Nc8 6m79MRGdncwxU2swVMpI4wm+VbGCyzSfLXL4OTP9vBeOiok5XvRY9tgBBmPDeZrN/ey7 uoq3ANPh71oWTD/YODHGu+0Imhs/Y9B84L7oFEBMBu1BBF+g6XMBqnzzSE7UUQvww0Og dRdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to; bh=fcCSF9YrqENMHNq48JZi1Jy4M0gyBSvfBfoMtg3+La4=; b=ZmKNdSGymjS07NpZXqv8qN6yAlEtr4pKypfMgjn8CDDJoLVfk8/eipDuV3wUdfkRPE OC7SVe2hmjllWKETc4uojU1AYWcDPcPfKU76TmtRIXonDsQx/f9alfliqwD3nKpezNHf xx4eOhUhobyTeETKJ2AVHjSrV04hOBAjDPD3sUeoHkaO7Uwh5XMgk5imkUVFm9PTvSVZ zmpJBQv68DKlHsqbaw9UucxZZQ5NBbkxld0YyXSfeLAKrPU/Vgzc327TTDeVzBDMy275 VIPfYUE3BmQu2++Tc7SdbcbCbCeJu3XC3wjavTzDl3XRTp6ld6vCOMou0FCjEqxp6dhq cYDQ== X-Gm-Message-State: AD7BkJJ78qSbys5A6a1ywba62JIlYhxM40+F7ktJVe3TrsaZg9ZoorrISNnG1jM0Z0pXFSNGQIbV4Fl4GVOyow== MIME-Version: 1.0 X-Received: by 10.107.10.20 with SMTP id u20mr19958506ioi.160.1457326539002; Sun, 06 Mar 2016 20:55:39 -0800 (PST) Sender: tbain98@gmail.com Received: by 10.50.246.33 with HTTP; Sun, 6 Mar 2016 20:55:38 -0800 (PST) Received: by 10.50.246.33 with HTTP; Sun, 6 Mar 2016 20:55:38 -0800 (PST) In-Reply-To: <1457275821750-4708952.post@n4.nabble.com> References: <1457275821750-4708952.post@n4.nabble.com> Date: Sun, 6 Mar 2016 21:55:38 -0700 X-Google-Sender-Auth: 4tGWyo9Lu50nRCtLF6Q_gwSbKi8 Message-ID: Subject: Re: ActiveMQ duplex network connector dead lock [5.13.1, 5.11.1] From: Tim Bain To: ActiveMQ Users Content-Type: multipart/alternative; boundary=001a113ed58aadda2e052d6e4637 --001a113ed58aadda2e052d6e4637 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You can use two non-duplex connections, one from each broker. This is advantageous in some network configurations (e.g a pair of brokers) because it lets you reuse the same configuration on multiple brokers (with a little placeholder substitution) and disadvantageous in others (e.g. a hub-and-spoke topology) because it forces both sides to be aware of the connection between them. But even if it complicates your config slightly, it'll still be better than what you're hitting now. Tim On Mar 6, 2016 6:44 PM, "yang.yang.zz" wrote: > Hi=EF=BC=9A > > We ran into this dead lock since upgrade to 5.11.1. In short, this dead > lock > happens on network connector when "duplex" is set to "true". For details = of > replicating this defect, see my earlier post here > < > http://activemq.2283324.n4.nabble.com/5-13-1-message-blocked-td4708592.ht= ml > > > > I also found an unresolved defect AMQ-5260 > which has the same > symptom. It looks like this issue could also be found in 5.9.x and 5.10.x= . > > I'm wondering, is there a way to workaround this dead lock without > modifying > the source code? For example, is there an alternative 2-way communication > configuration instead of using duplex? > > Thanks, > -Yang > > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-duplex-network-connector-d= ead-lock-5-13-1-5-11-1-tp4708952.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > --001a113ed58aadda2e052d6e4637--