Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9DB722009C5 for ; Mon, 16 May 2016 15:44:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9C5B9160A16; Mon, 16 May 2016 13:44:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E6A25160131 for ; Mon, 16 May 2016 15:44:02 +0200 (CEST) Received: (qmail 81707 invoked by uid 500); 16 May 2016 13:44:02 -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 81696 invoked by uid 99); 16 May 2016 13:44:01 -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, 16 May 2016 13:44:01 +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 6AEFD1A137E for ; Mon, 16 May 2016 13:44:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.708 X-Spam-Level: X-Spam-Status: No, score=-3.708 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id SnLZY-hXOqt8 for ; Mon, 16 May 2016 13:43:59 +0000 (UTC) Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 7583A5F474 for ; Mon, 16 May 2016 13:43:58 +0000 (UTC) Received: from zmail09.collab.prod.int.phx2.redhat.com (zmail09.collab.prod.int.phx2.redhat.com [10.5.83.11]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u4GDhoP6019448 for ; Mon, 16 May 2016 09:43:50 -0400 Date: Mon, 16 May 2016 09:43:49 -0400 (EDT) From: Justin Bertram To: dev@activemq.apache.org Message-ID: <103528439.3205320.1463406229914.JavaMail.zimbra@redhat.com> In-Reply-To: <1463246436100-4711941.post@n4.nabble.com> References: <1463246436100-4711941.post@n4.nabble.com> Subject: Re: [Artemis] Bug in ServerLocatorImpl.createSessionFactory() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.10.54.131] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - GC50 (Linux)/8.0.6_GA_5922) Thread-Topic: Bug in ServerLocatorImpl.createSessionFactory() Thread-Index: rbEXENDEr+lMOSbRTwvZNmrNpgyvLw== archived-at: Mon, 16 May 2016 13:44:03 -0000 Can you elaborate on why you would front the broker with a proxy? I'm not familiar with this use-case. Justin ----- Original Message ----- From: "abhijith" To: dev@activemq.apache.org Sent: Saturday, May 14, 2016 12:20:36 PM Subject: [Artemis] Bug in ServerLocatorImpl.createSessionFactory() Hi, I think there is a bug in ServerLocatorImpl.createSessionFactory() method. Issue is that if factory.connect(initialConnectAttempts, failoverOnInitialConnection) is successful, it is always assumed that client should be able to download Cluster Toplogy. This might not be the case for any broker which is fronted with a proxy. Proxy always accepts connection regardless of broker behind is up or down. This method should try out all available initialConnectors to download cluster topology before erroring out. I raised this question in user forum and then looked into the code on exactly what it is doing. Please let me know if I am missing something here. Thanks Abhi -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-Bug-in-ServerLocatorImpl-createSessionFactory-tp4711941.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.