Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 50457 invoked from network); 17 Jan 2007 23:10:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jan 2007 23:10:55 -0000 Received: (qmail 26418 invoked by uid 500); 17 Jan 2007 23:11:01 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 26196 invoked by uid 500); 17 Jan 2007 23:11:01 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 26187 invoked by uid 99); 17 Jan 2007 23:11:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2007 15:11:00 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2007 15:10:50 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1H7JvK-0003vs-Ds for activemq-users@geronimo.apache.org; Wed, 17 Jan 2007 15:10:30 -0800 Message-ID: <8421755.post@talk.nabble.com> Date: Wed, 17 Jan 2007 15:10:30 -0800 (PST) From: skimstercg To: activemq-users@geronimo.apache.org Subject: Re: Accessing remote AMQ with JConsole. In-Reply-To: <8313689.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Stanley.H.Kim@uscg.mil References: <8313689.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I've got the exact same problem. My set up: local box (Windows) with AMQ and remote box (Red Hat Linux) with AMQ. Both boxes are running JDK 1.4.2. I can use JConsole to monitor my local box but not the remote box. Another clue -- I tried using the "list" command in the activemq/bin directory with the --jmxurl argument. On local windows box, it works fine to access local AMQ url but not remote AMQ url. If I run the list command on Linux box, I can access both the Windows AMQ url as well as the Linux AMQ url. So it appears to be some issue with Windows box connecting outbound to port 1099 on another box. My Linux admin tells me port 1099 on the Linux box is not restristed by its firewall in any way. From windows box I can telnet to port 1099 on Linux box and I can tell something's there listening. Anyone have any ideas? bhartsb wrote: > > Hi, > > I am having trouble using JConsole to monitor a remote AMQ. I can run AMQ > locally and JConsole works fine. > > I have looked already at: > http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html#remote. > > My batch file to run AMQ remote is: > > java -Dcom.sun.management.jmxremote > -Dcom.sun.management.jmxremote.port=1099 > -Dcom.sun.management.jmxremote.authenticate=false > -Dcom.sun.management.jmxremote.ssl=false -jar AMQ.jar > > I then try to launch JConsole is either: > > jconsole service:jmx:rmi:///jndi/rmi://WAN_IP:1099/jmxrmi > or > jconsole WAN_IP:1099 > > Neither of these work remotely. > > > If I launch jconsole on the same machine as AMQ, using the exact two > methods immediately above, the connection WILL be made. The AMQ batch > file then is just (for this local mode): > > java -Dcom.sun.management.jmxremote -jar AMQ.jar > > Thanks. > > > > > > -- View this message in context: http://www.nabble.com/Accessing-remote-AMQ-with-JConsole.-tf2971096.html#a8421755 Sent from the ActiveMQ - User mailing list archive at Nabble.com.