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 5CAF618034 for ; Thu, 13 Aug 2015 19:22:05 +0000 (UTC) Received: (qmail 3966 invoked by uid 500); 13 Aug 2015 19:22:04 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 3925 invoked by uid 500); 13 Aug 2015 19:22:04 -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 3913 invoked by uid 99); 13 Aug 2015 19:22:04 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2015 19:22:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 32AD6C20C8 for ; Thu, 13 Aug 2015 19:22:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.007 X-Spam-Level: X-Spam-Status: No, score=-0.007 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.006, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id LAlyoHxrKABQ for ; Thu, 13 Aug 2015 19:21:49 +0000 (UTC) Received: from 256bit.org (256bit.org [144.76.87.176]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 6B9642541A for ; Thu, 13 Aug 2015 19:21:45 +0000 (UTC) Received: from [2a02:8070:24c8:600:3c6f:3680:e355:2540] by 256bit.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1ZPy4E-00056K-9x for users@activemq.apache.org; Thu, 13 Aug 2015 21:21:38 +0200 Message-ID: <55CCEE3B.6040407@256bit.org> Date: Thu, 13 Aug 2015 21:21:31 +0200 From: =?windows-1252?Q?Marc_Sch=F6chlin?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: users@activemq.apache.org References: <190dc7ea46404fb7b32e6602653076fa@NSO-ITEXC-MB26.uchc.net> In-Reply-To: <190dc7ea46404fb7b32e6602653076fa@NSO-ITEXC-MB26.uchc.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rFRRSpm7bD7D6wmoUDqPwhkbWlLpbgC4P" X-SA-Exim-Connect-IP: 2a02:8070:24c8:600:3c6f:3680:e355:2540 X-SA-Exim-Mail-From: ms@256bit.org Subject: Re: Second instance uses wrong pid X-SA-Exim-Version: 4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000) X-SA-Exim-Scanned: Yes (on 256bit.org) --rFRRSpm7bD7D6wmoUDqPwhkbWlLpbgC4P Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hello Gerard, can you send me additional debug information using the procedure describe= d at http://activemq.apache.org/unix-shell-script.html#UnixShellScript-Te= stingandreportinginteroperabilityproblemsforunixplatforms? (for both instances) The unix init script was not tested with the "create" command - probably = the follwing procedure to run multiple instances would be useful: http://activemq.apache.org/unix-shell-script.html#UnixShellScript-Running= multipleinstances Regards Marc Am 13.08.2015 um 15:52 schrieb Weatherby,Gerard: > ActiveMQ 5.11.1 > > We have multiple instances running on the same server. This were create= d using the activemq script "create" command and then changing the openwi= re port in activemq.xml and the web port in jetty.xml. All transports oth= er than openwire are commented out. > The instances are in sibling directories: > /usr/local/apache-activemq-5.11.1/rel > /usr/local/apache-activemq-5.11.1/qbio > Et. al. > > The correct pids are in the corresponding data/activemq.pid files. > > When I execute "qbio query" it finds and queries the activemq instance = of a different server. From the log message, it seems to have something t= o do with jmxServiceUrl, but I don't understand what that's about. Here's= the top lines of output, ending with the wrong pid: > > INFO: Loading '/usr/local/apache-activemq-5.11.1/bin/env' > INFO: Using java '/usr/lib/jvm/jdk1.8.0_45/jre/bin/java' > Java Runtime: Oracle Corporation 1.8.0_45 /usr/lib/jvm/jdk1.8.0_45/jre > Heap sizes: current=3D1005056k free=3D989327k max=3D1005056k > JVM args: -Xms1G -Xmx1G -Djava.util.logging.config.file=3Dlogging.p= roperties -Djava.security.auth.login.config=3D/usr/local/apache-activemq-= 5.11.1/qbio/conf/login.config -Dactivemq.classpath=3D/usr/local/apache-ac= tivemq-5.11.1/qbio/conf: -Dactivemq.home=3D/usr/local/apache-activemq-5.1= 1.1 -Dactivemq.base=3D/usr/local/apache-activemq-5.11.1/qbio -Dactivemq.c= onf=3D/usr/local/apache-activemq-5.11.1/qbio/conf -Dactivemq.data=3D/usr/= local/apache-activemq-5.11.1/qbio/data > Extensions classpath: > [/usr/local/apache-activemq-5.11.1/qbio/lib,/usr/local/apache-activem= q-5.11.1/lib,/usr/local/apache-activemq-5.11.1/qbio/lib/camel,/usr/local/= apache-activemq-5.11.1/qbio/lib/optional,/usr/local/apache-activemq-5.11.= 1/qbio/lib/web,/usr/local/apache-activemq-5.11.1/qbio/lib/extra,/usr/loca= l/apache-activemq-5.11.1/lib/camel,/usr/local/apache-activemq-5.11.1/lib/= optional,/usr/local/apache-activemq-5.11.1/lib/web,/usr/local/apache-acti= vemq-5.11.1/lib/extra] > ACTIVEMQ_HOME: /usr/local/apache-activemq-5.11.1 > ACTIVEMQ_BASE: /usr/local/apache-activemq-5.11.1/qbio > ACTIVEMQ_CONF: /usr/local/apache-activemq-5.11.1/qbio/conf > ACTIVEMQ_DATA: /usr/local/apache-activemq-5.11.1/qbio/data > useJmxServiceUrl Found JMS Url: service:jmx:rmi://127.0.0.1/stub/rO0ABX= NyAC5qYXZheC5tYW5hZ2VtZW50LnJlbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAA= AAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJlbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZh= LnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc5AAtVbmljYXN0UmVmMgAAD= jE1NS4zNy4xNzYuMTg3AADuGJUNmYhm4HoFE5hCNgAAAU8M22XIgAEAeA=3D=3D > Connecting to pid: 27587 > > Tech data: > Linux code2.cam.uchc.edu 2.6.32-220.2.1.el6.x86_64 #1 SMP Fri Dec 23 02= :21:33 CST 2011 x86_64 x86_64 x86_64 GNU/Linux > CentOS release 6.2 (Final) > > JRE 1.8.0_45 > > Not using an application server. > > Thanks, > > Gerard Weatherby | Application Architect > Center for Cell Analysis & Modeling | UConn Health > 263 Farmington Avenue, Farmington, CT 06030-6406 > Office: 860.679.2065 > uchc.edu > > > --=20 GPG encryption available: 0x670DCBEC/pool.sks-keyservers.net (https://www.256bit.org/keys/mschoechlin.pub.asc) --rFRRSpm7bD7D6wmoUDqPwhkbWlLpbgC4P Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVzO47AAoJEKM5z7FnDcvsbbwIAKufvE6oqXXkB8ofiBeUFrKU PCBmx0t/bhlAVQmDOpaOBD99A9S81aYlRoMwBLG0+IW04p8OMBpY6meEk8IHMf+3 TUUMdKVNSlcSHn7YX20q9IntUNSSrpMrMujORp5wOHOiFwbIApJtgMhVMKRuK/pg va6ep9dq/F5UCHOiXQBHL7t0IG1LUmm3GVqcz0q/atZKYd7nVxYBVGCE7yBJYfpJ 0VKD6hv2E+QCFVrHy1nkLx0FiW10jWoz8UttIs3Dn5gwRTzsroOmPsb6rw03RhIl dcEKzO0YLZMDcBvjdS+THxPhK9MFEWxJX0OyamcjlQfX9NQoavT+3qJZbr1kvZQ= =3pZZ -----END PGP SIGNATURE----- --rFRRSpm7bD7D6wmoUDqPwhkbWlLpbgC4P--