From issues-return-28562-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Thu May 17 04:43:22 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 75F20180789 for ; Thu, 17 May 2018 04:43:19 +0200 (CEST) Received: (qmail 63646 invoked by uid 500); 17 May 2018 02:43:18 -0000 Mailing-List: contact issues-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 issues@activemq.apache.org Received: (qmail 61916 invoked by uid 99); 17 May 2018 02:43:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2018 02:43:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3E857CF295 for ; Thu, 17 May 2018 02:43:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id lY9SI93_3ZaE for ; Thu, 17 May 2018 02:43:14 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 4F822610ED for ; Thu, 17 May 2018 02:43:11 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 010E6E031B for ; Thu, 17 May 2018 02:43:11 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9C07B217B1 for ; Thu, 17 May 2018 02:43:10 +0000 (UTC) Date: Thu, 17 May 2018 02:43:10 +0000 (UTC) From: "clebert suconic (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (ARTEMIS-1761) Log one warning if cluster could not be formed because it's not possible to connect to other cluster node MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ARTEMIS-1761?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] clebert suconic closed ARTEMIS-1761. ------------------------------------ Resolution: Fixed > Log one warning if cluster could not be formed because it's not possible = to connect to other cluster node > -------------------------------------------------------------------------= -------------------------------- > > Key: ARTEMIS-1761 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1761 > Project: ActiveMQ Artemis > Issue Type: Bug > Affects Versions: 1.5.6, 2.5.0 > Reporter: Radovan Stancel > Priority: Major > Fix For: 2.6.0 > > > If discovery-group receives connector which is not possible to use to cre= ate cluster connection (using such connector fails) then server should log = one warning. Currently server is logging this on DEBUG level which is confu= sing and it's not clear why cluster was not formed. It's just silently retr= ying bad connector on background (on debug level). > Current debug logs: > {code} > 14:43:45,777 DEBUG [org.apache.activemq.artemis.core.server.cluster.impl.= BridgeImpl] (Thread-4 (ActiveMQ-server-org.apache.activemq.artemis.core.ser= ver.impl.ActiveMQServerImpl$3@3f47a5c5)) Bridge ClusterConnecti > onBridge@516796ab [name=3Dsf.my-cluster.6eca14fb-4535-11e7-bc50-3ca9f4349= bfc, queue=3DQueueImpl[name=3Dsf.my-cluster.6eca14fb-4535-11e7-bc50-3ca9f43= 49bfc, postOffice=3DPostOfficeImpl [server=3DActiveMQServerImpl::serverUU > ID=3D5630528e-4535-11e7-9213-3c970e9648c8]]@2d035848 targetConnector=3DSe= rverLocatorImpl (identity=3D(Cluster-connection-bridge::ClusterConnectionBr= idge@516796ab [name=3Dsf.my-cluster.6eca14fb-4535-11e7-bc50-3ca9f4349bf > c, queue=3DQueueImpl[name=3Dsf.my-cluster.6eca14fb-4535-11e7-bc50-3ca9f43= 49bfc, postOffice=3DPostOfficeImpl [server=3DActiveMQServerImpl::serverUUID= =3D5630528e-4535-11e7-9213-3c970e9648c8]]@2d035848 targetConnector=3DServer > LocatorImpl [initialConnectors=3D[TransportConfiguration(name=3Dhttp-conn= ector, factory=3Dorg-apache-activemq-artemis-core-remoting-impl-netty-Netty= ConnectorFactory) ?httpUpgradeEndpoint=3Dhttps-acceptor&activemqServerN > ame=3Ddefault&httpUpgradeEnabled=3Dtrue&port=3D9080&host=3Dlocalhost], di= scoveryGroupConfiguration=3Dnull]]::ClusterConnectionImpl@386706758[nodeUUI= D=3D5630528e-4535-11e7-9213-3c970e9648c8, connector=3DTransportConfiguratio= n( > name=3Dhttp-connector, factory=3Dorg-apache-activemq-artemis-core-remotin= g-impl-netty-NettyConnectorFactory) ?httpUpgradeEndpoint=3Dhttps-acceptor&a= ctivemqServerName=3Ddefault&httpUpgradeEnabled=3Dtrue&port=3D8080&host=3Dlo= ca > lhost, address=3Djms, server=3DActiveMQServerImpl::serverUUID=3D5630528e-= 4535-11e7-9213-3c970e9648c8])) [initialConnectors=3D[TransportConfiguration= (name=3Dhttp-connector, factory=3Dorg-apache-activemq-artemis-core-remoting > -impl-netty-NettyConnectorFactory) ?httpUpgradeEndpoint=3Dhttps-acceptor&= activemqServerName=3Ddefault&httpUpgradeEnabled=3Dtrue&port=3D9080&host=3Dl= ocalhost], discoveryGroupConfiguration=3Dnull]] is unable to connect to des > tination. Retrying: ActiveMQNotConnectedException[errorType=3DNOT_CONNECT= ED message=3DUnable to connect to server using configuration TransportConfi= guration(name=3Dhttp-connector, factory=3Dorg-apache-activemq-artemis-c > ore-remoting-impl-netty-NettyConnectorFactory) ?httpUpgradeEndpoint=3Dhtt= ps-acceptor&activemqServerName=3Ddefault&httpUpgradeEnabled=3Dtrue&port=3D9= 080&host=3Dlocalhost] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.activemq.artemis= .core.client.impl.ClientSessionFactoryImpl.connect(ClientSessionFactoryImpl= .java:245) [artemis-core-client-1.5.5.001-redhat-1.jar:1.5.5.001-redhat-1] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.activemq.artemis= .core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.= java:685) [artemis-core-client-1.5.5.001-redhat-1.jar:1.5.5.001-redhat-1] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.activemq.artemis= .core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.= java:659) [artemis-core-client-1.5.5.001-redhat-1.jar:1.5.5.001-redhat-1] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.activemq.artemis= .core.server.cluster.impl.ClusterConnectionBridge.createSessionFactory(Clus= terConnectionBridge.java:136) [artemis-server-1.5.5.001-redhat-1.jar:1.5.5.= 001-redhat-1] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.activemq.artemis= .core.server.cluster.impl.BridgeImpl.connect(BridgeImpl.java:857) [artemis-= server-1.5.5.001-redhat-1.jar:1.5.5.001-redhat-1] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.activemq.artemis= .core.server.cluster.impl.BridgeImpl$ConnectRunnable.run(BridgeImpl.java:10= 48) [artemis-server-1.5.5.001-redhat-1.jar:1.5.5.001-redhat-1] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.activemq.artemis= .utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecu= torFactory.java:101) [artemis-commons-1.5.5.001-redhat-1.jar:1.5.5.001-redh= at-1] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at java.util.concurrent.Thread= PoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_71] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at java.util.concurrent.Thread= PoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_71] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at java.lang.Thread.run(Thread= .java:745) [rt.jar:1.8.0_71] > 14:43:45,778 DEBUG [org.apache.activemq.artemis.core.server.cluster.impl.= BridgeImpl] (Thread-4 (ActiveMQ-server-org.apache.activemq.artemis.core.ser= ver.impl.ActiveMQServerImpl$3@3f47a5c5)) Bridge ClusterConnecti > onBridge@516796ab [name=3Dsf.my-cluster.6eca14fb-4535-11e7-bc50-3ca9f4349= bfc, queue=3DQueueImpl[name=3Dsf.my-cluster.6eca14fb-4535-11e7-bc50-3ca9f43= 49bfc, postOffice=3DPostOfficeImpl [server=3DActiveMQServerImpl::serverUU > ID=3D5630528e-4535-11e7-9213-3c970e9648c8]]@2d035848 targetConnector=3DSe= rverLocatorImpl (identity=3D(Cluster-connection-bridge::ClusterConnectionBr= idge@516796ab [name=3Dsf.my-cluster.6eca14fb-4535-11e7-bc50-3ca9f4349bf > c, queue=3DQueueImpl[name=3Dsf.my-cluster.6eca14fb-4535-11e7-bc50-3ca9f43= 49bfc, postOffice=3DPostOfficeImpl [server=3DActiveMQServerImpl::serverUUID= =3D5630528e-4535-11e7-9213-3c970e9648c8]]@2d035848 targetConnector=3DServer > LocatorImpl [initialConnectors=3D[TransportConfiguration(name=3Dhttp-conn= ector, factory=3Dorg-apache-activemq-artemis-core-remoting-impl-netty-Netty= ConnectorFactory) ?httpUpgradeEndpoint=3Dhttps-acceptor&activemqServerN > ame=3Ddefault&httpUpgradeEnabled=3Dtrue&port=3D9080&host=3Dlocalhost], di= scoveryGroupConfiguration=3Dnull]]::ClusterConnectionImpl@386706758[nodeUUI= D=3D5630528e-4535-11e7-9213-3c970e9648c8, connector=3DTransportConfiguratio= n( > name=3Dhttp-connector, factory=3Dorg-apache-activemq-artemis-core-remotin= g-impl-netty-NettyConnectorFactory) ?httpUpgradeEndpoint=3Dhttps-acceptor&a= ctivemqServerName=3Ddefault&httpUpgradeEnabled=3Dtrue&port=3D8080&host=3Dlo= ca > lhost, address=3Djms, server=3DActiveMQServerImpl::serverUUID=3D5630528e-= 4535-11e7-9213-3c970e9648c8])) [initialConnectors=3D[TransportConfiguration= (name=3Dhttp-connector, factory=3Dorg-apache-activemq-artemis-core-remoting > -impl-netty-NettyConnectorFactory) ?httpUpgradeEndpoint=3Dhttps-acceptor&= activemqServerName=3Ddefault&httpUpgradeEnabled=3Dtrue&port=3D9080&host=3Dl= ocalhost], discoveryGroupConfiguration=3Dnull]] retrying connection #59, ma > xRetry=3D-1, timeout=3D500 > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)