activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Waves <wave...@gmail.com>
Subject Could not start network bridge with the broker on a linux operating system
Date Tue, 19 Dec 2006 09:24:26 GMT

I have start a ActiveMQ4.0.1 broker on a computer which operating system is
Fedora-5. I have tested that I can connect to this remote broker with a  jms
client on my local computer which operating system is WindowsXP. But when I
start a broker on my computer, I found that the terminal has throw a
exception saying that "Could not start network bridge between: v
m://localhost?network=true and: tcp://msgbus.server:61616 due to:
java.net.Conne
ctException: Connection timed out: connect...". But the networkconnection
with another broker on another WindowsXP computer is successful.


the log of terminal is :
ACTIVEMQ_HOME: E:\framework\incubator-activemq-4.0.1\bin\..
Loading message broker from: xbean:activemq.xml
INFO  BrokerService                  - ActiveMQ 4.0.1 JMS Message Broker
(localh
ost) is starting
INFO  BrokerService                  - For help or more information please
see:
http://incubator.apache.org/activemq/
INFO  JDBCPersistenceAdapter         - Database driver recognized:
[apache_derby
_embedded_jdbc_driver]
INFO  JournalPersistenceAdapter      - Journal Recovery Started from: Active
Jou
rnal: using 5 x 20.0 Megs at:
E:\framework\incubator-activemq-4.0.1\activemq-dat
a\journal
INFO  JournalPersistenceAdapter      - Journal Recovered: 0 message(s) in
transa
ctions recovered.
INFO  TransportServerThreadSupport   - Listening for connections at:
tcp://zhang
yi:61616
WARN  MulticastDiscoveryAgent        - brokerName not set
INFO  TransportConnector             - Connector default Started
INFO  TransportServerThreadSupport   - Listening for connections at:
tcp://zhang
yi:61613?wireFormat=stomp
INFO  TransportConnector             - Connector stomp Started
INFO  NetworkConnector               - Network Connector default Started
INFO  BrokerService                  - ActiveMQ JMS Message Broker
(localhost, I
D:zhangyi-1060-1166519014640-1:0) started
INFO  NetworkConnector               - Establishing network connection
between f
rom vm://localhost?network=true to tcp://msgbus.server:61616
INFO  VMTransportFactory             - binding to broker: localhost
INFO  TransportConnector             - Connector vm://localhost Started
INFO  DemandForwardingBridge         - Starting a network connection between
vm:
//localhost#0 and tcp://null:0 has been established.
INFO  VMTransportFactory             - Shutting down VM connectors for
broker: l
ocalhost
INFO  VMTransportFactory             - Shutting down VM connectors for
broker: l
ocalhost
INFO  TransportConnector             - Connector vm://localhost Stopped
WARN  NetworkConnector               - Could not start network bridge
between: v
m://localhost?network=true and: tcp://msgbus.server:61616 due to:
java.net.Conne
ctException: Connection timed out: connect
java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at
org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.j
ava:298)
        at
org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:48)

        at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.j
ava:52)
        at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.j
ava:52)
        at
org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNe
gotiator.java:57)
        at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.j
ava:52)
        at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.j
ava:52)
        at
org.apache.activemq.network.DemandForwardingBridgeSupport.start(Deman
dForwardingBridgeSupport.java:175)
        at
org.apache.activemq.network.DiscoveryNetworkConnector.onServiceAdd(Di
scoveryNetworkConnector.java:115)
        at
org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryA
gent$2.run(MulticastDiscoveryAgent.java:339)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.runTask(ThreadPoolExecutor.java:650)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Unknown Source)
INFO  NetworkConnector               - Establishing network connection
between f
rom vm://localhost?network=true to tcp://WANGLIAN:61616
INFO  VMTransportFactory             - binding to broker: localhost
INFO  TransportConnector             - Connector vm://localhost Started
INFO  DemandForwardingBridge         - Starting a network connection between
vm:
//localhost#2 and tcp://null:0 has been established.
INFO  DemandForwardingBridge         - Network connection between
vm://localhost
#2 and tcp://WANGLIAN/192.168.2.94:61616(localhost) has been established.


I want to know why the jms client can connect to the broker on a linux
computer but the networkconnection's bridge's establishing is failed.Note:
the linux computer's 61616 port has been opened.
-- 
View this message in context: http://www.nabble.com/Could-not-start-network-bridge-with-the-broker-on-a-linux-operating-system-tf2844897.html#a7944049
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message