Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 92421 invoked from network); 20 Jun 2009 17:02:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jun 2009 17:02:18 -0000 Received: (qmail 25688 invoked by uid 500); 20 Jun 2009 17:02:28 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 25614 invoked by uid 500); 20 Jun 2009 17:02:28 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 25603 invoked by uid 99); 20 Jun 2009 17:02:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Jun 2009 17:02:28 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [193.252.22.151] (HELO smtp6.freeserve.com) (193.252.22.151) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Jun 2009 17:02:19 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3532.me.freeserve.com (SMTP Server) with ESMTP id 9B4241C00085 for ; Sat, 20 Jun 2009 19:01:57 +0200 (CEST) Received: from smtp.homeinbox.net (unknown [91.109.141.126]) by mwinf3532.me.freeserve.com (SMTP Server) with ESMTP id 202EE1C00081 for ; Sat, 20 Jun 2009 19:01:56 +0200 (CEST) X-ME-UUID: 20090620170156132.202EE1C00081@mwinf3532.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by smtp.homeinbox.net (Postfix) with ESMTP id E9D731A4DE9 for ; Sat, 20 Jun 2009 18:01:52 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from smtp.homeinbox.net ([127.0.0.1]) by localhost (server01.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ykGAslhHJG6V for ; Sat, 20 Jun 2009 18:01:49 +0100 (BST) Received: from [192.168.0.9] (study03.dev.local [192.168.0.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id B45A51A4DE2 for ; Sat, 20 Jun 2009 18:01:49 +0100 (BST) Message-ID: <4A3D15F6.7050304@apache.org> Date: Sat, 20 Jun 2009 18:01:42 +0100 From: Mark Thomas User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: className in conf/context.xml References: <4A3AD5B8.1030908@hanik.com> <4A3B6608.2040101@apache.org> In-Reply-To: <4A3B6608.2040101@apache.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Mark Thomas wrote: > Filip Hanik - Dev Lists wrote: >> is no longer being picked up, at least not in my test. >> I think it's related to the deploy refactor that has been going on, >> possibly related to >> https://issues.apache.org/bugzilla/show_bug.cgi?id=47343 > > Possibly. I'll take a look. AFAICT, className would never have been picked up in the global context.xml or from the host level context.xml.default. Those files are read in ContextConfig which itself is created from StandardContext. By the time the code gets to that point it is too late to change the Context implementation class. If this were to be implemented, HostConfig would need to parse any application context.xml file, any host context.xml.default file and the global context.xml file and make the right selection for className based on override and the presence, or not, of className in any of those files. Since no-one has asked for this, I'd prefer to add a note to the docs that className only has an effect if used in an application context.xml file. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org