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 D26A7200B66 for ; Thu, 18 Aug 2016 10:12:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D0F7F160AAE; Thu, 18 Aug 2016 08:12:32 +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 23436160AAB for ; Thu, 18 Aug 2016 10:12:31 +0200 (CEST) Received: (qmail 23672 invoked by uid 500); 18 Aug 2016 08:12:31 -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 23657 invoked by uid 99); 18 Aug 2016 08:12:30 -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; Thu, 18 Aug 2016 08:12:30 +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 8B1031A003B for ; Thu, 18 Aug 2016 08:12:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.349 X-Spam-Level: ** X-Spam-Status: No, score=2.349 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313, URI_TRY_3LD=0.064] autolearn=disabled Received: from mx1-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 H9BvE2Xio51A for ; Thu, 18 Aug 2016 08:12:28 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id AEA4B5F23D for ; Thu, 18 Aug 2016 08:12:27 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 89ACF3B0FC464 for ; Thu, 18 Aug 2016 01:12:26 -0700 (MST) Date: Thu, 18 Aug 2016 01:11:40 -0700 (PDT) From: mlange To: users@activemq.apache.org Message-ID: <1471507900031-4715625.post@n4.nabble.com> In-Reply-To: <1471504355396-4715623.post@n4.nabble.com> References: <1471457851639-4715589.post@n4.nabble.com> <1471458144316-4715590.post@n4.nabble.com> <1471504355396-4715623.post@n4.nabble.com> Subject: Re: What is the proper way to configure multiple brokers on the same machine in regard to jmx MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Thu, 18 Aug 2016 08:12:33 -0000 Tim, Your comment got me thinking why port 1099 was getting used rather than 11099 (and 12099); so I checked my java process and it's parameters: (ps -ef | grep java); I noticed the parameter telling the port was not in it. There's a stupid typo in the "env" files: ACTIVEMQ_SUNJMX_START="$ACTIEVMQ_SUNJMX_START -Dcom.sun.management.jmx.authenticate=false" So, fixed that; And now the broker won't start: Error: Password file not found: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/management/jmxremote.password This one is a bit strange; I think I said to make an "unsafe, unauthenticate mbean server"; but at least that problem is out of the way now. Now to get both brokers connecting to the same MBean Server (or start one, if none is available)... to be continued. -- View this message in context: http://activemq.2283324.n4.nabble.com/What-is-the-proper-way-to-configure-multiple-brokers-on-the-same-machine-in-regard-to-jmx-tp4715589p4715625.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.