The broker is trying to create a "unique id" for itself. Something along
these lines 

ID:PEDRO-3500-123265619-8203-0:0

Where "PEDRO" is the host name. 

You can assign the broker a name via the cfg file, but it still needs the
UID. 

The  <networkConnector uri="static://(tcp://192.168.98.102:61616)"/>  line
is telling the broker to establish a forwarding bridge to the broker at the
specified IP address and port. So it going to try and connect to that remote
broker. 

Joe      



ar13 wrote:
> 
> Thanks for the reply
> 
> I saw that too. That poses a problem . The private network I have set up
> for JMS has no DNS service , intentionally . Why does active MQ need an
> name? Can't it just default to the IP ? Can i set this name in the config
> file ? 
> 
> re#1 
> so this line ins correct under transport connectors
>             <transportConnector name="openwire"
> uri="tcp://192.168.98.101:61616" /> 
> Great thanks !
> 
> re#2
> hmm ok then what is this line ( under networkConnector)  for, if not to
> identify the source ? 
>             <networkConnector
> uri="static://(tcp://192.168.98.102:61616)"/> 
> 
> thanks for your help 
> 
> 
> 
> Joe Fernandez wrote:
>> 
>> Looks like the broker is trying to generate an id for itself, but can't
>> because this statement is hurling an unknownhost exception
>> 
>> hostName = InetAddress.getLocalHost().getHostName();
>> 
>> So I reckon the IP address of the local host cannot be resolved. Check
>> your network settings. 
>> 
>> Re #1 - the way you've got it configured, the broker will only listen on
>> 192.168.98.101 for connection requests.  
>> 
>> Re #2 - you could write yourself a broker plugin thingy that extends
>> BrokerService and implements the addConnection(ConnectionContext context,
>> ConnectionInfo info) method; within which you can check the IP address of
>> the remote client making the connection request. 
>> 
>> Joe
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Securing-active-MQ-tp21612521p21614523.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to