Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 20076 invoked from network); 18 Oct 2004 18:57:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Oct 2004 18:57:58 -0000 Received: (qmail 11936 invoked by uid 500); 18 Oct 2004 18:57:46 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 11872 invoked by uid 500); 18 Oct 2004 18:57:45 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 11859 invoked by uid 99); 18 Oct 2004 18:57:45 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 18 Oct 2004 11:57:45 -0700 Received: (qmail 19932 invoked from network); 18 Oct 2004 18:57:43 -0000 Received: from localhost.hyperreal.org (HELO ?127.0.0.1?) (127.0.0.1) by localhost.hyperreal.org with SMTP; 18 Oct 2004 18:57:43 -0000 Message-ID: <41741227.9040104@apache.org> Date: Mon, 18 Oct 2004 20:57:43 +0200 From: Remy Maucherat User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: cvs commit: jakarta-tomcat-catalina/webapps/admin/valve accessLogValve.jsp remoteAddrValve.jsp remoteHostValve.jsp requestDumperValve.jsp singleSignOnValve.jsp valves.jsp References: <20041018063757.15572.qmail@minotaur.apache.org> <4173688D.4070509@apache.org> <008e01c4b53e$dfc3fde0$6c37a8c0@bbarkerxp> In-Reply-To: <008e01c4b53e$dfc3fde0$6c37a8c0@bbarkerxp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bill Barker wrote: >Using a normal StdContext is obviously easiest from a programming >standpoint. But my guess is that it would be special enough to cause >headaches (e.g. You can have a DC under a Server, but a regular Context >can't go there). > >I think that all that is really needed is the MBean to manage the >"DefaultContext" file. It can even be pretty dumb, since there currently >isn't a good mechanism to attempt to propogate JMX-managed changes to the >affected Contexts (so, just don't even try :). The only real question would >be how it integrates with Peter's new 'write server.xml' logic. > > I mentioned using StandardContext since it has all the necessary fields and methods for subcomponents. It's used as a JavaBean in that case: it will not be added as a child of another container, inited, etc. You can also use straight MBeans, but then you need to duplicate all the methods and fields, and it's less flexible (which might be ok). R�my --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org