Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 589A1633C for ; Wed, 27 Jul 2011 21:30:46 +0000 (UTC) Received: (qmail 83540 invoked by uid 500); 27 Jul 2011 21:30:45 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 83493 invoked by uid 500); 27 Jul 2011 21:30:45 -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 83225 invoked by uid 99); 27 Jul 2011 21:30:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 21:30:44 +0000 X-ASF-Spam-Status: No, hits=-0.4 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcjau-user-2@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 21:30:37 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QmBg7-0002Hy-G9 for users@activemq.apache.org; Wed, 27 Jul 2011 23:30:08 +0200 Received: from 64.213.35.2 ([64.213.35.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jul 2011 23:30:07 +0200 Received: from raja_s35 by 64.213.35.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jul 2011 23:30:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@activemq.apache.org From: Rajasekhar Subject: =?utf-8?b?Q2Fu4oCZdA==?= discover destinations - Connection refused by localhost Date: Wed, 27 Jul 2011 21:07:26 +0000 (UTC) Lines: 82 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 64.213.35.2 (Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; .NET4.0C)) I am using Hermes 1.14 ActiveMQ 5.4.2 I am able to create the queue and topic thru hermes JMS but I am not able to discover queue and topics. Getting below error on clicking discover. Please guide me what I am missing. I tried by adding user name and password but no luck. hermes.HermesException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect] at hermes.ext.activemq.ActiveMQAdmin.connect(ActiveMQAdmin.java:346) at hermes.ext.activemq.ActiveMQAdmin.getConnection (ActiveMQAdmin.java:354) at hermes.ext.activemq.ActiveMQAdmin.discoverDestinationConfigs (ActiveMQAdmin.java:140) at hermes.impl.HermesAdminAdapter.discoverDestinationConfigs (HermesAdminAdapter.java:82) at hermes.impl.DefaultHermesImpl.discoverDestinationConfigs (DefaultHermesImpl.java:1126) at hermes.browser.tasks.DiscoverDestinationsTask.invoke (DiscoverDestinationsTask.java:77) at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175) at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170) at java.lang.Thread.run(Unknown Source) java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect] at javax.management.remote.rmi.RMIConnector.connect(Unknown Source) at javax.management.remote.JMXConnectorFactory.connect(Unknown Source) at hermes.ext.activemq.ActiveMQAdmin.connect(ActiveMQAdmin.java:341) at hermes.ext.activemq.ActiveMQAdmin.getConnection (ActiveMQAdmin.java:354) at hermes.ext.activemq.ActiveMQAdmin.discoverDestinationConfigs (ActiveMQAdmin.java:140) at hermes.impl.HermesAdminAdapter.discoverDestinationConfigs (HermesAdminAdapter.java:82) at hermes.impl.DefaultHermesImpl.discoverDestinationConfigs (DefaultHermesImpl.java:1126) at hermes.browser.tasks.DiscoverDestinationsTask.invoke (DiscoverDestinationsTask.java:77) at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175) at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170) at java.lang.Thread.run(Unknown Source) Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect] at com.sun.jndi.rmi.registry.RegistryContext.lookup(Unknown Source) at com.sun.jndi.toolkit.url.GenericURLContext.lookup(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(Unknown Source) at javax.management.remote.rmi.RMIConnector.findRMIServer(Unknown Source) ... 11 more Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source) at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source) at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source) at sun.rmi.server.UnicastRef.newCall(Unknown Source) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) ... 16 more 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 java.net.Socket.connect(Unknown Source) at java.net.Socket.(Unknown Source) at java.net.Socket.(Unknown Source) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source) ... 21 more