Hi

Our company DNS is not stable.  I want to configure ActiveMQ so that it uses
ip address instead of hostName.  We are running ActiveMQ on linux.  I tried
replacing localhost to our ip address in /conf/activemq.xml.  But still get
exception like this.

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";>

...

 <transportConnectors>
       <transportConnector name="openwire" uri="tcp://10.92.143.16:61616"
discoveryUri="multicast://default"/>
       <transportConnector name="ssl"     uri="ssl://10.92.143.16:61617"/>
       <transportConnector name="stomp"   uri="stomp://10.92.143.16:61613"/>
    </transportConnectors>

...

Please tell me how to configure ActiveMQ to use ip address only.

Thanks

Daniel
-- 
View this message in context: 
http://www.nabble.com/Start-ActiveMQ-with-ip-address-tf4576379s2354.html#a13063061
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to