----- "DanielShao" <[EMAIL PROTECTED]> 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. > > <broker brokerName="10.92.143.16" useJmx="true" > 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