Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 57074 invoked from network); 10 Dec 2001 04:21:17 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Dec 2001 04:21:17 -0000 Received: (qmail 22208 invoked by uid 97); 10 Dec 2001 04:21:19 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 22152 invoked by uid 97); 10 Dec 2001 04:21:18 -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 22141 invoked from network); 10 Dec 2001 04:21:18 -0000 Message-ID: <000c01c18132$93698ac0$1b7d0304@vz.dsl.genuity.net> From: "Bill Barker" To: "Tomcat Developers List" References: <20011202161358.L71669-100000@localhost> Subject: Re: AJP Todo Date: Sun, 9 Dec 2001 20:24:35 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archived: msg.XXKuu4Ka@sneezy X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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). ----- Original Message ----- From: "Craig R. McClanahan" To: "Tomcat Developers List" Sent: Sunday, December 02, 2001 4:17 PM Subject: Re: AJP Todo > > > On Sat, 1 Dec 2001, Bill Barker wrote: > > > Date: Sat, 1 Dec 2001 17:17:31 -0800 > > From: Bill Barker > > Reply-To: Tomcat Developers List > > To: Tomcat Developers List > > Subject: Re: AJP Todo > > > > I have no objection to help porting ${Server}Config to 4.x, but I'm still a > > Catalina novice. The 3.3 API is more command and control, so it is easier > > to get to the information. > > +0 on "officially" supporting AJP in tomcat 4.x, as has been discussed > (i.e. I favor the idea, but cannot help). > > > It will take me a little time to find out how to > > get the servlet-mappings in Catalina. > > Nearly all of the configuration-related information related to a web > application is available via "getXxx" or "findXxx" methods on the > org.apache.catalina.context.Context interface. For servlet mappings in > particular, you can look up the mapping for a particular pattern with > findServletMapping(), or get all the defined mapping patterns with > findServletMappings(). > > There are similar methods available to access all the other stuff that was > configured in web.xml (or, in some cases, from server.xml). > > Craig > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: