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-tp21612521p21614128.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.