activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Not able to start connection with ActiveMQ broker from a network client.
Date Sun, 23 Jan 2011 15:43:18 GMT
On Sun, 2011-01-23 at 07:38 -0800, archana saini wrote:
> Thanks for your quick reply Tim.
> 
> If i remove the failover, i get the connection refused error:-
> 
> 
> ------
> Exception in thread "main" javax.jms.JMSException: Could not connect to
> broker URL: tcp://rpc1044.daytonoh.ncr.com:61616?trace=true. Reason:
> java.net.ConnectException: Connection refused: connect
> 	at
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
> 	at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:286)
> 	at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:230)
> 	at
> org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:178)
> 	at ActiveMQTest.<init>(ActiveMQTest.java:22)
> 	at ActiveMQTest.main(ActiveMQTest.java:37)
> Caused by: java.net.ConnectException: Connection refused: 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.connect(TcpTransport.java:484)
> 	at
> org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:447)
> 	at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53)
> 	at
> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)
> 	at
> org.apache.activemq.transport.InactivityMonitor.start(InactivityMonitor.java:127)
> 	at
> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)
> 	at
> org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72)
> 	at
> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)
> 	at
> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)
> 	at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:266)
> 	... 4 more
> 
> 
> 
> Do we define the property to allow remote connection somewhere in any
> ActiveMQ configuration XML file??
> 
> 
> Thanks & Regards
> Archana

That wouldn't be something that you'd configure on the broker its most
likely a network configuration setting or firewall issue.

Regards


-- 
Tim Bish
------------
FuseSource
Email: tim.bish@fusesource.com
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/



Mime
View raw message