You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by peanutgyz <pe...@sina.com> on 2008/05/07 19:27:58 UTC
when config network of brokers, got NC_localhost_outbound err
i use 3 brokers, a b c.
then i want point a to b , c to b,
like this a --> b <-- c
but , when connection between a and b is establised,
connect c to b , got NC_localhost_outbound already connected from "c
addres"
my config like this
a config,
- <transportConnectors>
<transportConnector name="openwire" uri="tcp://localhost:61616"
discoveryUri="multicast://default" />
</transportConnectors>
- <networkConnectors>
<networkConnector uri="static:(tcp://hostb:61616)" />
</networkConnectors>
c config
- <transportConnectors>
<transportConnector name="openwire" uri="tcp://localhost:61616"
discoveryUri="multicast://default" />
</transportConnectors>
- <networkConnectors>
<networkConnector uri="static:(tcp://hostb:61616)" />
</networkConnectors>
any one can help ? thanks a lot.
--
View this message in context: http://www.nabble.com/when-config-network-of-brokers%2C-got-NC_localhost_outbound-err-tp17110195s2354p17110195.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: when config network of brokers, got NC_localhost_outbound err
Posted by peanutgyz <pe...@sina.com>.
yeah,
thanks a lot,
just got it
ttmdev wrote:
>
> Have you given the three broker's unique names?
>
> Joe
> Get a free ActiveMQ user guide at www.ttmsolutions.com
>
>
>
> peanutgyz wrote:
>>
>> i use 3 brokers, a b c.
>> then i want point a to b , c to b,
>> like this a --> b <-- c
>>
>> but , when connection between a and b is establised,
>> connect c to b , got NC_localhost_outbound already connected from "c
>> addres"
>>
>> my config like this
>> a config,
>> - <transportConnectors>
>> <transportConnector name="openwire" uri="tcp://localhost:61616"
>> discoveryUri="multicast://default" />
>> </transportConnectors>
>> - <networkConnectors>
>> <networkConnector uri="static:(tcp://hostb:61616)" />
>> </networkConnectors>
>> c config
>>
>> - <transportConnectors>
>> <transportConnector name="openwire" uri="tcp://localhost:61616"
>> discoveryUri="multicast://default" />
>> </transportConnectors>
>> - <networkConnectors>
>> <networkConnector uri="static:(tcp://hostb:61616)" />
>> </networkConnectors>
>>
>>
>>
>>
>>
>>
>>
>> any one can help ? thanks a lot.
>>
>
>
--
View this message in context: http://www.nabble.com/when-config-network-of-brokers%2C-got-NC_localhost_outbound-err-tp17110195s2354p17111204.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: when config network of brokers, got NC_localhost_outbound err
Posted by ttmdev <jo...@ttmsolutions.com>.
Have you given the three broker's unique names?
Joe
Get a free ActiveMQ user guide at www.ttmsolutions.com
peanutgyz wrote:
>
> i use 3 brokers, a b c.
> then i want point a to b , c to b,
> like this a --> b <-- c
>
> but , when connection between a and b is establised,
> connect c to b , got NC_localhost_outbound already connected from "c
> addres"
>
> my config like this
> a config,
> - <transportConnectors>
> <transportConnector name="openwire" uri="tcp://localhost:61616"
> discoveryUri="multicast://default" />
> </transportConnectors>
> - <networkConnectors>
> <networkConnector uri="static:(tcp://hostb:61616)" />
> </networkConnectors>
> c config
>
> - <transportConnectors>
> <transportConnector name="openwire" uri="tcp://localhost:61616"
> discoveryUri="multicast://default" />
> </transportConnectors>
> - <networkConnectors>
> <networkConnector uri="static:(tcp://hostb:61616)" />
> </networkConnectors>
>
>
>
>
>
>
>
> any one can help ? thanks a lot.
>
--
View this message in context: http://www.nabble.com/when-config-network-of-brokers%2C-got-NC_localhost_outbound-err-tp17110195s2354p17110284.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.