activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From archana saini <archu...@gmail.com>
Subject Re: Not able to start connection with ActiveMQ broker from a network client.
Date Sun, 23 Jan 2011 15:38:05 GMT

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
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/Not-able-to-start-connection-with-ActiveMQ-broker-from-a-network-client-tp3232550p3232636.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message