activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j0llyr0g3r <timo.roess...@wincor-nixdorf.com>
Subject Re: Start ActiveMQ with ip address
Date Sat, 06 Oct 2007 12:38:07 GMT

Hi,

i think the error stems from here:

<broker brokerName="10.92.143.16" useJmx="true"
xmlns="http://activemq.org/config/1.0">

Give it a brokername like "foooo" and add an corresponding to your
/etc/hosts file, like:

10.92.143.16 foooo


DanielShao wrote:
> 
> 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#a13073276
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message