Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 72645 invoked by uid 500); 2 May 2001 15:13:56 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 72352 invoked from network); 2 May 2001 15:13:51 -0000 From: "Philippe Khalife" To: "TOMCAT DEV" Subject: TC4 B3: Filters and Load Order bug? Date: Wed, 2 May 2001 11:13:37 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a question about Servlet Specification Vs Implementation details. The filters mappings are applied as per specifications, and in order. However when initialized by the Container they start by Alphabetical order. No matter what order I list these filter declarations in, "AuthFilter" always gets started before "Initalizer", I could rename these but I think it would be better to have filters initialized in the same order they are listed, is this a feature that can make it in the next beta? or am I missing something? Initializer core.filter.Initializer LOG4J_CONFIG_FILE /core/config/log4j.properties OACONFIG_CONFIG_FILE /core/config/oaconfig.properties DB_CONFIG_FILE /core/config/db.properties VELOCITY_CONFIG_FILE /core/config/velocity.properties AuthFilter cd.filter.AuthFilter LOGIN_SCREEN /servlet/core.oas_Login AuthFilterStub cd.filter.AuthFilterStub LOGIN XXXX PASSWORD XXXXX Initializer /* AuthFilterStub /servlet/*