Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 34634 invoked from network); 9 Jun 2009 17:49:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jun 2009 17:49:06 -0000 Received: (qmail 36204 invoked by uid 500); 9 Jun 2009 17:49:18 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 36169 invoked by uid 500); 9 Jun 2009 17:49:17 -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 36159 invoked by uid 99); 9 Jun 2009 17:49:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 17:49:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bruce.snyder@gmail.com designates 209.85.218.221 as permitted sender) Received: from [209.85.218.221] (HELO mail-bw0-f221.google.com) (209.85.218.221) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 17:49:05 +0000 Received: by bwz21 with SMTP id 21so198157bwz.38 for ; Tue, 09 Jun 2009 10:48:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=i82DxDhBFrwVX2EUr5F7VkOHun1v8ZJ1Ry8PRP2PxE4=; b=II0aqsCht8vJqSid0dboldI7ur1K0zPmi2s7GXu1e/fOZyvPDjW8ULCDoghlDI/RYX PXWnULXE7nxmyvjrCe8SpcD2kcJs6eRD72+Vc7oIA+umfawoukSOPizAKO8oleKMw5og WhrJevDlwUPAlC/YfO3AIbjWYUjpmW1WrTE4Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=PbM9bdRwyLG9hHFanOPl5aT68GLz61RAhUGO8Ui7U2wJx55AGETlqHBpHbXTkcde7S PE56R7XpUHfNc2+Pp22Ilq3M597VTnf/0pk4xjuPSc9dSjh0OCR3HwFFVusOWRHu6Y9F diKvFbRzoprqpdq3NAK8qvu3YWwi47IJETBTQ= MIME-Version: 1.0 Received: by 10.223.126.66 with SMTP id b2mr424936fas.18.1244569724951; Tue, 09 Jun 2009 10:48:44 -0700 (PDT) In-Reply-To: <23947642.post@talk.nabble.com> References: <23947642.post@talk.nabble.com> Date: Tue, 9 Jun 2009 11:48:44 -0600 Message-ID: <7b3355cb0906091048x22d458f5m3f5c0d97adf86dd6@mail.gmail.com> Subject: Re: Can't Disable JMX? From: Bruce Snyder To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Jun 9, 2009 at 11:28 AM, mrh wrote: > > I'm trying to disable JMX using the activemq.xml file (useJmx=3D"false") = and it > does not seem to be working. =A0I can still connect using jconsole and th= e > admin webpage. =A0Is this a bug or is there somewhere else that this must= be > disabled? To completely disable JMX in ActiveMQ, you need to edit the ActiveMQ startup script so that the com.sun.management.jmxremote property is not set. This can be done by editing the bin/activemq script so that the SUNJMX property is empty. Below are examples: Linux/Unix: SUNJMX=3D Windows: if "%SUNJMX%" =3D=3D "" set SUNJMX=3D Bruce --=20 perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=3D6-E+G-N>61E