Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 96997 invoked from network); 30 Sep 2008 11:05:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Sep 2008 11:05:09 -0000 Received: (qmail 34484 invoked by uid 500); 30 Sep 2008 11:04:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 34451 invoked by uid 500); 30 Sep 2008 11:04:55 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 34440 invoked by uid 99); 30 Sep 2008 11:04:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 04:04:55 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [193.252.22.151] (HELO smtp6.freeserve.com) (193.252.22.151) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 11:03:52 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3501.me.freeserve.com (SMTP Server) with ESMTP id 3B84B7000088 for ; Tue, 30 Sep 2008 13:04:25 +0200 (CEST) Received: from smtp.homeinbox.net (unknown [91.109.187.106]) by mwinf3501.me.freeserve.com (SMTP Server) with ESMTP id 0F59D7000086 for ; Tue, 30 Sep 2008 13:04:25 +0200 (CEST) X-ME-UUID: 20080930110425629.0F59D7000086@mwinf3501.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by smtp.homeinbox.net (Postfix) with ESMTP id 81AC31A44BE for ; Tue, 30 Sep 2008 12:04:29 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from smtp.homeinbox.net ([127.0.0.1]) by localhost (server01.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id imR+CImtZQPG for ; Tue, 30 Sep 2008 12:04:23 +0100 (BST) Received: from [192.168.0.4] (study01.dev.local [192.168.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id 63C0B1A420A for ; Tue, 30 Sep 2008 12:04:23 +0100 (BST) Message-ID: <48E207B1.8090309@apache.org> Date: Tue, 30 Sep 2008 12:04:17 +0100 From: Mark Thomas User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: problem in running Jconsole remotely --"Connection refused" References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Choudhury@labware.com wrote: > Guys, > I am facing problem in running Jconsole remotely . In my > machine from where I am running Jconsole I have jdk1.6...I am trying to > connect to TOmcat6.0.18 running on a windows 2003 server machine(with JDK > 1,5) ...I have a batch file with the following contents : When I execute > the batch file Tomcat is starting okay. But when I am trying to run > Jconsole to connect to the Tomcat , I am always getting a "connection > refused " error. I think I have set up the parameters correctly here ? > Apart from this all the .bat files that comses bundled with Tomcat6.0.18 > are kept same. I can ping the server from my machine without any problem > . > > set path=C:\PROGRA~1\Java\jdk1.5.0_05\bin > set JAVA_HOME=C:\PROGRA~1\Java\jdk1.5.0_05 > set JAVA_OPTS=-Xms1024m -Xmx1024m > set CATALINA_OPTS=-Dcom.sun.management.jmxremote > -Dcom.sun.management.jmxremote.port=4444 > -Dcom.sun.management.jmxremote.ssl=false > -Dcom.sun.management.jmxremote.authenticate=false > SET CATALINA_HOME=E:\AppServer\tomcat\tomcat6.0.18 > CD bin > startup > > BTW there is no problem in connecting locally ...But I don't want that > because I want to monitor TOmcat while a load test is on . So resources > should be used sparingly in the server . > > Please suggest the way to generate any extra debug info that I can get to > see why this connection refused error is happening . Have a look at this thread: http://markmail.org/message/r4lwb4ipa6ssaawy The second port is probably blocked by a firewall. The Listener I refer to is now in svn. See: http://svn.apache.org/viewvc?rev=699523&view=rev Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org