Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 15198 invoked from network); 6 Oct 2004 18:11:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Oct 2004 18:11:21 -0000 Received: (qmail 48429 invoked by uid 500); 6 Oct 2004 18:10:56 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 48382 invoked by uid 500); 6 Oct 2004 18:10:55 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 48367 invoked by uid 99); 6 Oct 2004 18:10:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [212.85.96.51] (HELO v00051.home.net.pl) (212.85.96.51) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 06 Oct 2004 11:10:54 -0700 Received: from localhost (HELO ?217.99.109.34?) (drzewo.post@home@127.0.0.1) by matrix01b.home.net.pl with SMTP; 6 Oct 2004 18:10:47 -0000 Message-ID: <4164350B.40105@post.pl> Date: Wed, 06 Oct 2004 20:10:19 +0200 From: Dominik Drzewiecki User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: JMX Remote connection References: <008401c4ab65$8fcf4a70$a3b40704@oemcomputer> <4163B03E.2060403@apache.org> <416429CA.9060502@apache.org> In-Reply-To: <416429CA.9060502@apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > I couldn't get the attach to process thing to work, though (= without a > port). Is it supposed to be doable ? Neither have I (I am talking of tomcat running as Windows service). It seems that both processes : tomcat JVM and jconsole JVM have to be owned by the same user. Maybe that is the case with you? Hovewer, starting tomcat from my system account solves the problem. For more info see: http://java.sun.com/j2se/1.5.0/docs/guide/management/jconsole.html Both jconsole and the application must by executed by the same user name. The management and monitoring system uses the operating system's file permissions. This reminds me of the bug I noticed while I was trying to get it work. It is impossible to select another account to run tomcat from within the tomcat service control. Will report it in bugzilla in a jiffie ;) cheers, /dd --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org