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 F2B2A9F9C for ; Mon, 12 Dec 2011 16:14:54 +0000 (UTC) Received: (qmail 81076 invoked by uid 500); 12 Dec 2011 16:14:54 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 81049 invoked by uid 500); 12 Dec 2011 16:14:54 -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 81041 invoked by uid 99); 12 Dec 2011 16:14:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 16:14:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phil.swenson@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 16:14:46 +0000 Received: by vbbfq11 with SMTP id fq11so4831588vbb.2 for ; Mon, 12 Dec 2011 08:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=vlPaE2E9/BEkqGgFeHAFBMk2oKWbgP+FBbPFHzxgal8=; b=T8s3vVIp0Fk7r0TtqvZ6rh1bLCd7AnxqHR5oHOPOXm+7wREJUDmseKqk+heJ4X8n+d +A2L9hsi/j8LVNzbbsWqu7mQPISKj4I0QFfR67vg2wiJtRkBU17KZGwgSYaAGtwtBbjc T0pIG9iDcTjDLmKZJMXh8e5Ux85Aed8KxOEt4= MIME-Version: 1.0 Received: by 10.52.73.99 with SMTP id k3mr10264730vdv.13.1323706465953; Mon, 12 Dec 2011 08:14:25 -0800 (PST) Received: by 10.52.37.45 with HTTP; Mon, 12 Dec 2011 08:14:25 -0800 (PST) Date: Mon, 12 Dec 2011 09:14:25 -0700 Message-ID: Subject: Enabling JMX in code snippet From: phil swenson To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=bcaec501c628b0a81604b3e76d9d X-Virus-Checked: Checked by ClamAV on apache.org --bcaec501c628b0a81604b3e76d9d Content-Type: text/plain; charset=ISO-8859-1 I am just getting started with activemq. I was trying to get it going in code: public class Launcher { public static void main(String[] args) throws Exception{ BrokerService broker = new BrokerService(); broker.setUseJmx(true); broker.addConnector("tcp://localhost:61616"); broker.start(); } The jmx service doesn't appear to be working. I can't connect to JMX via JConsole. Ideas? Thanks phil --bcaec501c628b0a81604b3e76d9d--