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 DE549FA5A for ; Tue, 9 Apr 2013 19:18:59 +0000 (UTC) Received: (qmail 23845 invoked by uid 500); 9 Apr 2013 19:18:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23704 invoked by uid 500); 9 Apr 2013 19:18:56 -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 23690 invoked by uid 99); 9 Apr 2013 19:18:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 19:18:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dckerber@verizon.net designates 206.46.173.21 as permitted sender) Received: from [206.46.173.21] (HELO vms173021pub.verizon.net) (206.46.173.21) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 19:18:48 +0000 Received: from [172.17.47.42] ([unknown] [216.41.111.254]) by vms173021.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0ML0006SQ5MMTNQ0@vms173021.mailsrvcs.net> for users@tomcat.apache.org; Tue, 09 Apr 2013 14:18:23 -0500 (CDT) Message-id: <5164697E.1020209@verizon.net> Date: Tue, 09 Apr 2013 15:18:22 -0400 From: David kerber User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-version: 1.0 To: Tomcat Users List Subject: Monitoring multiple tomcat instances from single app Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org My system has several instances of TC 7.0.22, running on windows server 2008 R2, and JRE 6.0.27. And yes, I know both TC and Java could use an update... The TC instances are all running the same webapp, as a Windows service, though not all have the exact same version of the webapp. Each is running from its own catalina.base directory, but all have the same catalina.home. Each instance is listening on a different TCP port, and everything is working fine, handling several hundred requests per second. What I'd like to do is develop an easier way of monitoring each instance than what I have now. In particular, I'd like to get visibility to a couple of the webapp's internal variables (they're counters), as well as being able to stop and restart the instances if necessary. My current method is that the app has a browser page that I can log into and see the variables of interest, and I use tomcat7w to control the service instances. Of course, that requires me to log into each one of them individually to check on them. That requirement for separate logins is what I'd like to eliminate if possible. Is this even remotely doable from (ideally) another webapp running on the same server, or maybe an external non-browser app? Or am I just dreaming? Can JMX allow me to see internal application variables and control services? Thanks for any suggestions! D --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org