Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 74921 invoked from network); 8 Dec 2002 04:57:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 8 Dec 2002 04:57:46 -0000 Received: (qmail 4809 invoked by uid 97); 8 Dec 2002 04:58:43 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 4766 invoked by uid 97); 8 Dec 2002 04:58:42 -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 4754 invoked by uid 98); 8 Dec 2002 04:58:42 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3DF2D078.9090506@eaves.org> Date: Sun, 08 Dec 2002 15:54:16 +1100 From: Jon Eaves User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-au, en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Custom Valve References: <3DF2BD2F.40009@eaves.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Bill, Two words: You legend ! >>1. Can I prevent the exception, and if so how ? > > You can create your own mbeans-descriptor file, package it in the jar with > your Valve, and set the > descriptors="/com/myfirm/mypackage/mbeans-descriptor.xml" attribute on the > ServerLifecycleListener element in server.xml. Thanks, I didn't think to look for additional attributes here. >>2. Can I implement "something" to allow the Valve to be configured >> using the GUI, and if so what ? >>3. Is this just an error with TC 4.1.12 and is fixed in 4.1.16 ?? >> > In 4.1.12, your Valve has to extend o.a.c.valves.ValveBase to work with the > admin app. In 4.1.16 this has been relaxed to only requiring that it > implements o.a.c.Contained. I saw this in the CVS log entries and realised that I was on the right track, but didn't quite know exactly what to do with that information. Cheers, -- jon -- Jon Eaves http://www.eaves.org/jon/ -- To unsubscribe, e-mail: For additional commands, e-mail: