Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 12073 invoked from network); 25 Jul 2007 02:01:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jul 2007 02:01:50 -0000 Received: (qmail 31965 invoked by uid 500); 25 Jul 2007 02:01:52 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 31814 invoked by uid 500); 25 Jul 2007 02:01:51 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 31805 invoked by uid 99); 25 Jul 2007 02:01:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 19:01:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [216.113.193.83] (HELO ly.sdf.com) (216.113.193.83) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 19:01:49 -0700 Received: from localhost (localhost [127.0.0.1]) by ly.sdf.com (Postfix) with ESMTP id 3327D22839F for ; Tue, 24 Jul 2007 19:01:12 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Score: -3.956 X-Spam-Level: Received: from ly.sdf.com ([127.0.0.1]) by localhost (ly.sdf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aJ6rngtC5ieL for ; Tue, 24 Jul 2007 19:01:11 -0700 (PDT) Received: from ly.sdf.com (ly.sdf.com [216.113.193.83]) by ly.sdf.com (Postfix) with ESMTP id 3804C228391 for ; Tue, 24 Jul 2007 19:01:11 -0700 (PDT) Date: Tue, 24 Jul 2007 19:01:11 -0700 (PDT) From: Tom Samplonius To: dev@activemq.apache.org Message-ID: <21704268.5401185328871158.JavaMail.root@ly.sdf.com> Subject: How does activemq-admin script work? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [64.251.80.98] X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-3.956 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.443, BAYES_00=-2.599] activemq-script can't connect to my broker: ERROR: java.lang.RuntimeException: Failed to execute list task. Reason: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused] I assume it just not using the right port, but it seems that activemq-admin has no options to pass into a JMX URL. So what is it trying to connect to by default? I tend to prefer to use the Sun JMX connector, rather than the one that starts by default in ActiveMQ, as I can password protect that Sun JMX connector using the appropriate defines. Tom