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 EC401C6AB for ; Sun, 20 May 2012 20:45:44 +0000 (UTC) Received: (qmail 61797 invoked by uid 500); 20 May 2012 20:45:44 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 61746 invoked by uid 500); 20 May 2012 20:45:44 -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 61733 invoked by uid 99); 20 May 2012 20:45:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 May 2012 20:45:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of geoffrey.arnold@gmail.com designates 209.85.216.43 as permitted sender) Received: from [209.85.216.43] (HELO mail-qa0-f43.google.com) (209.85.216.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 May 2012 20:45:34 +0000 Received: by qadb33 with SMTP id b33so1219093qad.2 for ; Sun, 20 May 2012 13:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=JAAt/PKERyXpAwihsaOqmjk6RTeiKh+Kpjug8iwS+jc=; b=P+OHXlb7sYi2IB0f3wIXpoWAgVBxVlSH3krMNe6avLEMQ8o7H3ZmXATaAwpDhU0JBo MF+LyjJmfgm6LsY9JRnhl5qL7gTdNGT5xi/vnCJLDZUZlcj2l5GIcBr/qAwDs/+S/yXK hWBC2KyFE4vlQJ6uaUX+TSDQd/rdFIcue41ZZrSwRFMl6YZd48UFc4QIKHpZx+jCQIxC lKO3JAiFXrW6HqqqcVIJcvcppwL1ty1U+hdqRSl/38H/8ztfnEq+DQLIwEOZVEEkhp2J /qSwsScSc+TnsStZDQWOEATtGmWv+ir4SxJOt8Jrx0UNXDcsm0MRU/UVKPe1U+CCUKJ7 gzWA== Received: by 10.229.106.147 with SMTP id x19mr8995735qco.146.1337546713280; Sun, 20 May 2012 13:45:13 -0700 (PDT) Received: from [192.168.1.111] (c-24-61-45-227.hsd1.ma.comcast.net. [24.61.45.227]) by mx.google.com with ESMTPS id r19sm34854159qae.14.2012.05.20.13.45.10 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 May 2012 13:45:12 -0700 (PDT) From: Geoffrey Arnold Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Problem with network-of-brokers configuration after upgrading to AMQ 5.6.0 Date: Sun, 20 May 2012 16:45:03 -0400 Message-Id: <40DDDBA8-A9D9-4103-9A56-27F24B715B17@gmail.com> To: users@activemq.apache.org Mime-Version: 1.0 (Apple Message framework v1257) X-Mailer: Apple Mail (2.1257) Hello again, We are from AMQ 5.4.0 to 5.6.0, and there appears to be a new uniqueness = constraint in network connector names in network-of-brokers = configurations. Here's our setup: - N copies of a producer application; each copy of the producer = application consists of an embedded broker with 2 network connectors = pointing at an embedded broker in the consumer application - 1 consumer application; the consumer application consists of an = embedded broker with 2 transport connectors Messages in the consumer application are sent to the embedded broker, = which pushes those messages to the embedded broker in the consumer = application over the network/transport connectors, and are consumed by = listeners on the embedded broker in the consumer application. In AMQ 5.4.0, the name of the network connectors in the embedded broker = in the producer application were not required to be unique across copies = of the application, ie. for each copy of the producer application used = the same name for each network connector. In AMQ 5.6.0, we receive the = following error when starting a second copy of the producer application: In the producer application: Network connection between vm://producerBroker#4 and = tcp://localhost/127.0.0.1:61616 shutdown due to a remote error: = javax.jms.InvalidClientIDException: Broker: consumerBroker - Client: = networkConnector1_producerBroker_outbound already connected from = tcp://127.0.0.1:62961 In the consumer application: Async error occurred: javax.jms.InvalidClientIDException: = Broker: consumerBroker - Client: = networkConnector1_producerBroker_outbound already connected from = tcp://127.0.0.1:62963 javax.jms.InvalidClientIDException: Broker: consumerBroker - Client: = networkConnector1_producerBroker_outbound already connected from = tcp://127.0.0.1:62963 at = org.apache.activemq.broker.region.RegionBroker.addConnection(RegionBroker.= java:223) at = org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85= ) at = org.apache.activemq.advisory.AdvisoryBroker.addConnection(AdvisoryBroker.j= ava:65) at = org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85= ) at = org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85= ) at = org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85= ) at = org.apache.activemq.security.SimpleAuthenticationBroker.addConnection(Simp= leAuthenticationBroker.java:97) at = org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBroker= Filter.java:91) at = org.apache.activemq.broker.TransportConnection.processAddConnection(Transp= ortConnection.java:715) at = org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnec= tion(ManagedTransportConnection.java:79) at = org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139) at = org.apache.activemq.broker.TransportConnection.service(TransportConnection= .java:292) at = org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnec= tion.java:150) at = org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java= :50) at = org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNeg= otiator.java:113) at = org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(Abstract= InactivityMonitor.java:229) at = org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.= java:83) at = org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:222= ) at = org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:204) at java.lang.Thread.run(Thread.java:680) Is this a regression or a new requirement. If it's a new requirement, = what strategy would you recommend to ensure uniqueness in network = connector names? Thanks in advance, Geoff.=