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 9452318A60 for ; Wed, 21 Oct 2015 04:13:51 +0000 (UTC) Received: (qmail 17226 invoked by uid 500); 21 Oct 2015 04:13:51 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 17187 invoked by uid 500); 21 Oct 2015 04:13:50 -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 17114 invoked by uid 99); 21 Oct 2015 04:13:50 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2015 04:13:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 071E7180A3F for ; Wed, 21 Oct 2015 04:13:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.214 X-Spam-Level: * X-Spam-Status: No, score=1.214 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id DgDGx8NlDMVV for ; Wed, 21 Oct 2015 04:13:36 +0000 (UTC) Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 8B03920FE0 for ; Wed, 21 Oct 2015 04:13:36 +0000 (UTC) Received: by obbwb3 with SMTP id wb3so31694664obb.0 for ; Tue, 20 Oct 2015 21:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:references:in-reply-to:to; bh=hODiSJdjfSQ5UKOyMT0t1sQ+fs/Hc4ZjilQoQVqtqQo=; b=L6OKa2HMvFemAoeUWDS/gap4xt4BQq2HnDZbaXiWbbp+OuqK/FSkrLvcBMZQrsveqO rg3PALO9WakzkdCaHX6sPfni9ubQOaGmv+6MMyHHsl2ZJm0cLR7tm6RvBymGwUGWiYn6 VpNS70ieTsSMXm6YkSfVpoEt7SDvIeHseZcx+fNMIP6mLd4jfgsJt5z6Sv+EeXnItfuK KTHSH8xYTQEsDt47gi+CfqMC+w4zkSvspi7AgJnwFISBNYsTsSxhMUC6TFUIgZEUydWU lQERNbJqb9eLtESUUkPGylkh3n5tl176R5bLVHFoPiWGR5LqCwzP73TW6A71PIwmsRKK QfxA== X-Received: by 10.182.28.165 with SMTP id c5mr4819696obh.29.1445400810569; Tue, 20 Oct 2015 21:13:30 -0700 (PDT) Received: from ?IPv6:2601:586:200:4e05:f5bb:159f:6a43:be19? ([2601:586:200:4e05:f5bb:159f:6a43:be19]) by smtp.gmail.com with ESMTPSA id i207sm2851727oib.1.2015.10.20.21.13.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 20 Oct 2015 21:13:29 -0700 (PDT) From: Clebert Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: [Artemis] org.apache.activemq.transport.InactivityIOException: Channel was inactive for too (>30000) long: tcp://127.0.0.1:61616 Message-Id: Date: Wed, 21 Oct 2015 00:13:28 -0400 References: <1444664740445-4702833.post@n4.nabble.com> <1445354611304-4703169.post@n4.nabble.com> In-Reply-To: To: users@activemq.apache.org X-Mailer: iPhone Mail (13A452) I am teaming with Howard gao around failover on open wire protocol manager f= or Artemis. So I don't know how well it would work now with open wire and f= ailover.=20 You should see fixes around this over the next week and this week.=20 -- Clebert Suconic typing on the iPhone.=20 > On Oct 21, 2015, at 00:06, Tim Bain wrote: >=20 > I believe the problem with your consumers is that you haven't set > maxReconnectAttempts=3D0 on the failover transport, which is necessary whe= n > using failover within static in a networkConnector because it allows the > network bridge to detect the connection failure and restore properly. > Without it, the failover protocol eats the failure and the necessary > handshaking isn't done. >=20 > None of that relates to your observations that this seemed to work in 5.11= > and seems not to in 5.12, though. Can you isolate the behavior into a > small, repeatable scenario that you could attach to a JIRA bug report? > (Better still, can you demonstrate it in a unit test?) >=20 > Tim >> On Oct 20, 2015 12:45 PM, "jochenw" wro= te: >>=20 >> Hello, >>=20 >> I've got a very similar problem with ActiveMQ 5.12.0 when building a brok= er >> network via a SSL connector. I have set >>=20 >> networkConnector >>=20 >> uri=3D"static:(failover:(ssl://${offboardBroker1}:10017?wireFormat.maxIna= ctivityDuration=3D0,ssl://${offboardBroker2}:10017?wireFormat.maxInactivityD= uration=3D0)?randomize=3Dtrue)" >> ... >>=20 >> in the network connector definition. However, after startup an exception >> (java.io.EOFexception at >> java.io.DataInputStream.readInt(DataInputStream.java:392) is thrown, and >> the >> broker on the other side logs that the network connection has been >> interrupted due to inactivity although the maxInactivityDuration was set t= o >> zero, and the monitor should therefore be activated. >>=20 >> The connection is re-established, but after that the consumers of my brok= er >> cannot be seen on the other side any longer. >>=20 >> With ActiveMQ 5.11.1, the setting maxInactivityDuration=3D0 worked, and t= he >> connection is never timed out. Seems to be different in 5.12.0. >>=20 >> Of course, I would also be interested if anybody has an idea why my >> consumers are no longer seen on the broker connected via the network >> connector after a reconnection. With "normal" network disruption, this >> works, but after the exception, it doesn't. >>=20 >> Best Regards, >> Jochen >>=20 >>=20 >>=20 >> -- >> View this message in context: >> http://activemq.2283324.n4.nabble.com/Artemis-org-apache-activemq-transpo= rt-InactivityIOException-Channel-was-inactive-for-too-30000-long-6-tp4702833= p4703169.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >>=20