Hi everybody,
I want to make a peer to peer network between two brokers.
With VMWare Server, I've installed two virtual machines with Suse 10.1 for
every one.
The suse1: eth0:
adress: 10.24.244.240
mask: 255.255.248.0
The suse2: eth1:
adress: 10.24.247.242
mask: 255.255.248.0
This is the configuration of the transportConnector and networkConnector of
activemq.xml(it is the same conf for the two brokers):
<transportConnectors>
<transportConnector name="openwire" uri="tcp://localhost:61616"
discoveryUri="multicast://default"/>
<transportConnector name="ssl" uri="ssl://localhost:61617"/>
<transportConnector name="stomp" uri="stomp://localhost:61613"/>
</transportConnectors>
<networkConnectors>
<networkConnector name="netbroker"
uri="static://(tcp://10.24.244.240:61616,tcp://10.24.247.242:61616)"
failover="true"/>
</networkConnectors>
The following error appeared:
INFO DemandForwardingBridge - Disconnecting loop back connection.
INFO NetworkConnector - Establishing network connection
between from vm://localhost?network=true to
failover:(tcp://10.24.244.240:61616)?maxReconnectDelay=1000
INFO DemandForwardingBridge - Disconnecting loop back connection.
INFO FailoverTransport - Transport failed, attempting to
automatically reconnect due to: java.net.SocketException: Broken pipe
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at
org.apache.activemq.transport.tcp.TcpBufferedOutputStream.flush(TcpBufferedOutputStream.java:109)
at java.io.DataOutputStream.flush(DataOutputStream.java:101)
at
org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:119)
at
org.apache.activemq.transport.InactivityMonitor.oneway(InactivityMonitor.java:141)
at
org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.java:80)
at
org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:93)
at
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:392)
at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:47)
at
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
at
org.apache.activemq.network.DemandForwardingBridgeSupport.startRemoteBridge(DemandForwardingBridgeSupport.java:264)
at
org.apache.activemq.network.DemandForwardingBridgeSupport$4.run(DemandForwardingBridgeSupport.java:211)
INFO BrokerService - ActiveMQ Message Broker (localhost,
ID:chahir-25503-1178272430364-1:0) is shutting down
Can you help me to resolve this problem?
Thank you.
--
View this message in context:
http://www.nabble.com/Broker-Network-tf3691753s2354.html#a10321666
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.