Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 27914 invoked from network); 26 Jun 2007 04:04:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2007 04:04:37 -0000 Received: (qmail 90547 invoked by uid 500); 26 Jun 2007 04:04:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 90523 invoked by uid 500); 26 Jun 2007 04:04:27 -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 90511 invoked by uid 99); 26 Jun 2007 04:04:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2007 21:04:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [196.25.240.74] (HELO ctb-mesg4.saix.net) (196.25.240.74) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2007 21:04:22 -0700 Received: from animal (dsl-244-223-121.telkomadsl.co.za [41.244.223.121]) by ctb-mesg4.saix.net (Postfix) with SMTP id 109B02011 for ; Tue, 26 Jun 2007 06:03:56 +0200 (SAST) Message-ID: <013001c7b7a7$12222ec0$0300000a@animal> From: "Johnny Kewl" To: "Tomcat Users List" References: <11293522.post@talk.nabble.com> Subject: Re: Use JMX to manage applications Date: Tue, 26 Jun 2007 06:04:16 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Antivirus: avast! (VPS 000749-0, 2007/06/14), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Hi Again LightBulb, In this good article http://www.javaworld.com/javaworld/jw-08-2005/jw-0801-jmx.html You will find an example JMX client, in SRC for talking directly to Tomcats JMXProxy One thing I dont see in the JMX interface, maybe it is there, is a way to start stop webapp through JMX. Just want to say, this thread made me have a good look at JMX in Tomcat, an area I never bothered with before.... well done!... although I think making JMX clients is too much hassle, looking at Tomcat through a professional JMX client like JConsole is pure magic. You know if there was just a screen shot of Tomcat in the JConsole on the site, I think it would make people (like me) immediately see what a magic facility this is. The other thought I had was that I think if TC scrapped the logging tools it has now, in favour of an XML format, and a standard viewer, or any other format one wanted if they set up a bit of XSL, I think logs would look damn good in JConsole as well, would be easy to server through JMX, or just in a web page. The current scheme seems to make them to hard to get at, which is actually a bit weird considering the things are sitting in a web server.... IMHO Have fun ----- Original Message ----- From: "lightbulb432" To: Sent: Monday, June 25, 2007 9:04 PM Subject: Use JMX to manage applications > > How, from a web application deployed to Tomcat, can you customize the > behavior of your web application based on attributes specified in an > MBean? > The link http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html talks a > lot > about Ant tasks, but that's not really what I'm looking to do. > > How can you get programmatic access to MBeans? And how do you deploy > MBeans > to Tomcat? > > I'm pretty confused here...hopefully someone can clarify. Thanks. > -- > View this message in context: > http://www.nabble.com/Use-JMX-to-manage-applications-tf3978363.html#a11293522 > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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