Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 91550 invoked from network); 1 Mar 2005 18:22:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Mar 2005 18:22:36 -0000 Received: (qmail 57327 invoked by uid 500); 1 Mar 2005 18:22:21 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 57310 invoked by uid 500); 1 Mar 2005 18:22:21 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 57297 invoked by uid 99); 1 Mar 2005 18:22:20 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of parsonstechnical@earthlink.net designates 209.86.89.69 as permitted sender) Received: from smtpauth09.mail.atl.earthlink.net (HELO smtpauth09.mail.atl.earthlink.net) (209.86.89.69) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Mar 2005 10:22:18 -0800 Received: from [69.34.33.6] (helo=ptslaptop) by smtpauth09.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1D6C0e-0004WP-Lp for tomcat-user@jakarta.apache.org; Tue, 01 Mar 2005 13:22:16 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=test1; d=earthlink.net; h=Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=Tu2dOZor9U68WBJgr8nq4zQVcW4O6UrwnRA1o/TZiQEy9Rnoa0FkIOvRVP6ZuTfm; Message-ID: <032d01c51e8b$461f7000$7a01a8c0@ptslaptop> From: "Parsons Technical Services" To: "Tomcat Users List" References: <004501c51e89$829ac0e0$2bc909c0@dev.donnell.com> Subject: Re: Custom Mbeans in tomcat admin console Date: Tue, 1 Mar 2005 13:19:56 -0500 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.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-ELNK-Trace: ac1d3908dd5e4e415f52795aef799eed1aa676d7e74259b7b3291a7d08dfec79685b12657bb278b1cd9418887a8ae5a1350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 69.34.33.6 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Either make your modifications in the admin.xml or add a resource link there for the resource as you have it in the server.xml I am no expert on this one. As far as the bean goes, but am basing it on the resource entries. So there may be something still wrong. Doug ----- Original Message ----- From: "Joseph Foster" To: Sent: Tuesday, March 01, 2005 1:07 PM Subject: Custom Mbeans in tomcat admin console > Greetings, > > If this has been asked/answered several times already let me apologize > in advance. I am trying to register a custom Mbean so that it will be > visible through the included tomcat admin webapp. The strategies I have > employed thusfar (to no avail): > I added a resource element to the web.xml file: > type="dsi.jsf.jmx.EDocJMX"> > > > I added a mbean-descriptor file: > > description="Test JMX Bean" > domain="Catalina" > group="Realm" > type="dsi.jsf.jmx.EDocJMX"> > description="The debugging detail level for this > component" > type="int"/> > > > > > I added a reference in the server.xml file to point to the descriptor > file: > className="org.apache.catalina.mbeans.ServerLifecycleListener" debug="0" > descriptors="dsi/jsf/jmx/mbean-descriptor.xml"/> > > > Am I completely barking up the wrong tree with this? Are custom mbeans > even possible to add to the built in admin webapp? > > Thanks, > > Joe > > -- > Joseph Foster > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org