Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-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 B02BF10625 for ; Thu, 27 Jun 2013 20:57:00 +0000 (UTC) Received: (qmail 16676 invoked by uid 500); 27 Jun 2013 20:56:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 16608 invoked by uid 500); 27 Jun 2013 20:56:57 -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 16599 invoked by uid 99); 27 Jun 2013 20:56:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 20:56:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Chuck.Caldarale@unisys.com designates 216.82.254.99 as permitted sender) Received: from [216.82.254.99] (HELO mail1.bemta7.messagelabs.com) (216.82.254.99) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 20:56:49 +0000 Received: from [216.82.254.195:30184] by server-3.bemta-7.messagelabs.com id 70/0A-24779-AF6ACC15; Thu, 27 Jun 2013 20:56:26 +0000 X-Env-Sender: Chuck.Caldarale@unisys.com X-Msg-Ref: server-11.tower-200.messagelabs.com!1372366580!11974575!1 X-Originating-IP: [192.61.61.104] X-StarScan-Received: X-StarScan-Version: 6.9.9; banners=-,-,- X-VirusChecked: Checked Received: (qmail 12984 invoked from network); 27 Jun 2013 20:56:21 -0000 Received: from unknown (HELO USEA-NAEDGE1.unisys.com) (192.61.61.104) by server-11.tower-200.messagelabs.com with RC4-SHA encrypted SMTP; 27 Jun 2013 20:56:21 -0000 Received: from usea-nahubcas3.na.uis.unisys.com (129.224.76.101) by USEA-NAEDGE1.unisys.com (192.61.61.104) with Microsoft SMTP Server (TLS) id 8.3.298.1; Thu, 27 Jun 2013 15:56:20 -0500 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.41]) by usea-nahubcas3.na.uis.unisys.com ([129.224.76.101]) with mapi; Thu, 27 Jun 2013 15:55:59 -0500 From: "Caldarale, Charles R" To: Tomcat Users List Date: Thu, 27 Jun 2013 15:56:20 -0500 Subject: RE: Local VisualVM connection to Tomcat Thread-Topic: Local VisualVM connection to Tomcat Thread-Index: Ac5zdUwbttM9I35XSeayZpGez/rE+wAAYt+w Message-ID: <99C8B2929B39C24493377AC7A121E21FC4B65B6ABC@USEA-EXCH8.na.uis.unisys.com> References: <012801ce7375$563d2a20$02b77e60$@tosovsky@email.cz> In-Reply-To: <012801ce7375$563d2a20$02b77e60$@tosovsky@email.cz> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org > From: honyk [mailto:j.tosovsky@email.cz]=20 > Subject: Local VisualVM connection to Tomcat > It is not needed if you are going to monitor it locally, using the > same user that Tomcat runs with. The key part of the above is "same user". > But there is no further description for that simpler (local) method. If i= t > is obvious, sorry, but I am lost here ;-) Usually, all you have to do is start jvisualvm.exe, and it will automatical= ly find the all the Java processes currently running and show them in the l= eft pane. Unfortunately, on Windows, this doesn't always work when the one= you're interested in is a service, even when that service is running under= the same account as jvisualvm. Whether or not it works seems to depend on= the Windows version, applied patches, how much it's locked down, and who k= nows what else - another Microsoft mystery. If you can run Tomcat from the= startup.bat script, using VisualVM should be fine, and it may work with To= mcat as a service. You do need to install the JConsole add-ins for VisualVM, or just use JCons= ole instead (all of the above comments relating to Windows service issues s= till apply). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org