Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 66585 invoked from network); 10 Dec 2001 04:49:22 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Dec 2001 04:49:22 -0000 Received: (qmail 2692 invoked by uid 97); 10 Dec 2001 04:49:25 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 2676 invoked by uid 97); 10 Dec 2001 04:49:24 -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 2659 invoked from network); 10 Dec 2001 04:49:24 -0000 Date: Sun, 9 Dec 2001 20:29:22 -0800 (PST) From: "Craig R. McClanahan" Sender: craigmcc@localhost To: Tomcat Developers List Subject: Re: AJP Todo In-Reply-To: <000c01c18132$93698ac0$1b7d0304@vz.dsl.genuity.net> Message-ID: <20011209202739.Y26869-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sun, 9 Dec 2001, Bill Barker wrote: > Date: Sun, 9 Dec 2001 20:24:35 -0800 > From: Bill Barker > Reply-To: Tomcat Developers List > To: Tomcat Developers List > Subject: Re: AJP Todo > > I've just checked in an initial port of ${Server}Config for 4.x into j-t-c. > The problems I'm having at the moment are: > (a) While Container fires the start-event at the end, Server fires it at the > beginning. As a result, I can't really have this as a Server Listener as I > would like. > (b) For a context defined in the server.xml, there seems to be no public way > to determine the document base as an absolute path. This may just be my > lack of familiarity with Catalina however. On a related note, I wasn't able > to find any way to determine if a Context even has a document base (as > opposed to a war file). If the web app is deployed as a directory, you can call context.getDocBase() for this. If the context is deployed as a WAR file, there is no such thing as the "document base as an absolute path". In such a scenario, you need to choose one of the following options: * Forward *all* requests to Tomcat for processing * Reject a webapp that is deployed this way Craig -- To unsubscribe, e-mail: For additional commands, e-mail: