Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 30131 invoked from network); 10 Oct 2007 02:39:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2007 02:39:19 -0000 Received: (qmail 62803 invoked by uid 500); 10 Oct 2007 02:39:06 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 62768 invoked by uid 500); 10 Oct 2007 02:39:06 -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 62759 invoked by uid 99); 10 Oct 2007 02:39:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 19:39:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Wed, 10 Oct 2007 02:39:07 +0000 Received: from localhost (localhost [127.0.0.1]) by ly.sdf.com (Postfix) with ESMTP id 9A5A237C002 for ; Tue, 9 Oct 2007 19:36:30 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Score: -4.044 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 8DBgQu1ksl2j for ; Tue, 9 Oct 2007 19:36:27 -0700 (PDT) Received: from ly.sdf.com (ly.sdf.com [216.113.193.83]) by ly.sdf.com (Postfix) with ESMTP id 7EAE137C001; Tue, 9 Oct 2007 19:36:27 -0700 (PDT) Date: Tue, 9 Oct 2007 19:36:27 -0700 (PDT) From: Tom Samplonius To: users@activemq.apache.org Cc: users@activemq.apache.org Message-ID: <14933394.3491191983787387.JavaMail.root@ly.sdf.com> In-Reply-To: <13063061.post@talk.nabble.com> Subject: Re: Start ActiveMQ with ip address 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=-4.044 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.355, BAYES_00=-2.599] ----- "DanielShao" wrote: > > Error: Exception thrown by the agent : java.net.MalformedURLException: > Local > host name unknown: java.net.UnknownHostException: ... > > One of our issues is machine's hostName can't be resolved by DNS > server. > > Here is part of my activemq.xml. > > xmlns="http://activemq.org/config/1.0"> ... The brokerName attribute does not have to be a real hostname. The brokerName is just the name of your particular ActiveMQ instance. It displays in jConsole, and some other places. It is helpful if you have several brokers, perhaps on the same server, and you need to give them separate names. Tom