Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 14219 invoked from network); 7 Jan 2011 11:42:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2011 11:42:53 -0000 Received: (qmail 96418 invoked by uid 500); 7 Jan 2011 11:42:50 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 96243 invoked by uid 500); 7 Jan 2011 11:42:50 -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 96234 invoked by uid 99); 7 Jan 2011 11:42:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 11:42:49 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rainer.jung@kippdata.de designates 195.227.30.149 as permitted sender) Received: from [195.227.30.149] (HELO mailserver.kippdata.de) (195.227.30.149) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 11:42:43 +0000 Received: from [192.168.2.101] ([192.168.2.101]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id p07BgJwP013711 for ; Fri, 7 Jan 2011 12:42:20 +0100 (CET) Message-ID: <4D26FC1A.2070702@kippdata.de> Date: Fri, 07 Jan 2011 12:42:18 +0100 From: Rainer Jung User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Accessing context information remotely - Context.getAvailable() etc. References: <4D2609F9.6050805@pidster.com><529443.85173.qm@web56604.mail.re3.yahoo.com><616880.23002.qm@web56603.mail.re3.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit On 06.01.2011 21:22, Ziggy wrote: > Please see my previous response re: open source tools. :) > > As i mentioned earlier, the project that i need to deploy this tool will not > allow any open source tool without it being approved which involves a long > security vetting process. > > I appreciate that there are hundreds of tools out there that can do exactly > what i am trying to do but sometimes there are reasons that those tools > cannot be used due to the nature of some projects. Using JMX as a protocol to remotely collect the info comes with the downside of starting a full JMX each time your cron job fires. There is a feature builtin into the Tomcat manager called jmxproxy. Via the jmxproxy you can query MBeans by HTTP and get back an easy to parse textual represenation of the attributes. That way you only need an HTTP client and parse a bit of text. It allows you to choose whatever client technology you like best. You can even configure a separate HTTP connector for administration and monitoring purposes, so that it will always be available independent of the load of the normal production connector. See: http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Using_the_JMX_Proxy_Servlet Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org