P193592 - WARN BrokerRegistry - Broker localhost not started so using OTHER_BROKER_NAME instead
Why am I seeing the following warning statement in my log file "WARN BrokerRegistry - Broker localhost not started so using OTHER_BROKER_NAME instead"
By default the broker name is "localhost". The broker name is used when a client connects to a broker in the same JVM using the VM protocol. The default VM connection URL is
However if the broker name is changed it will also change the default VM connection URL for that broker e.g. changing broker name to "brokerone" will change the VM connect URL to:
If the client connection specifies "localhost" in the VM connection URL but localhost is not a broker name found in the Broker registory it will use the first available broker. This result in the warning message:
WARN BrokerRegistry - Broker localhost not started so using OTHER_BROKER_NAME instead
This behavior is specific to using "localhost" in the VM connection URL. If the client specifies another broker name in VM connection URL that is not "localhost" and it cannot be found in the broker registory; activemq will try to start a new broker, giving it that name.
To avoid the warning message, ensure your VM connection URL uses the appropriate broker name.
Based/tested on version apache-activemq-5.5.1-fuse-06-03
Rate this article
Still need assistance?