Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 79601 invoked from network); 20 Jun 2008 22:41:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2008 22:41:18 -0000 Received: (qmail 63719 invoked by uid 500); 20 Jun 2008 22:41:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 63699 invoked by uid 500); 20 Jun 2008 22:41:19 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 63688 invoked by uid 99); 20 Jun 2008 22:41:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2008 15:41:19 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2008 22:40:28 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1K9pHi-0008QH-Dr for users@activemq.apache.org; Fri, 20 Jun 2008 15:40:46 -0700 Message-ID: <18038600.post@talk.nabble.com> Date: Fri, 20 Jun 2008 15:40:46 -0700 (PDT) From: Sridhar2008 To: users@activemq.apache.org Subject: Re: I am abel to ping the machine but still received exception "Could not connect to broker URL" In-Reply-To: <18037869.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: activemq@komandur.com References: <18037869.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Does 'telnet 150.123.186.61 61616' work from you unix machine ? _prasad wrote: > > Hi , > > While developeing an application using Spring & ActiveMQ, I am getting the > following exception. > Sender is on UNIX machine. > Broker and receiver are running on same Windows machine. > From UNIX machine , I am able to "ping" successfully to Windows machine > where receiver & broker are running. > What could be the probable reason that I am getting this exception? Is it > related to Firewall or so? If that is the case, how come I am able to > "ping" then? > Note that if I execute the sender from same windows machine as of > receiver/broker, then it is working fine. > > Exception in thread "main" > org.springframework.jms.UncategorizedJmsException: Uncategorized exceptio > n occured during JMS processing; nested exception is > javax.jms.JMSException: Could not connect to br > oker URL: tcp://150.123.186.61:61616. Reason: > java.net.SocketTimeoutException: connect timed out; ne > sted exception is java.net.SocketTimeoutException: connect timed out > Caused by: javax.jms.JMSException: Could not connect to broker URL: > tcp://150.123.186.61:61616. Reas > on: java.net.SocketTimeoutException: connect timed out > at > org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35) > at > org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnection > Factory.java:278) > at > org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnection > Factory.java:222) > at > org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory. > java:170) > at > org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:188) > at > org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:427) > at > org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:480) > at com.Sender.main(Sender.java:19) > Caused by: java.net.SocketTimeoutException: connect timed out > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) > at > java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) > at java.net.Socket.connect(Socket.java:507) > at > org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:414) > at > org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:380) > at > org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:50) > at > org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) > at > org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) > at > org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72) > at > org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) > at > org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) > at > org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnection > Factory.java:258) > ... 6 more > -- View this message in context: http://www.nabble.com/I-am-abel-to-ping-the-machine-but-still-received-exception-%22Could-not-connect-to-broker-URL%22-tp18037869p18038600.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.