Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 452ECD73C for ; Fri, 2 Nov 2012 12:15:46 +0000 (UTC) Received: (qmail 57005 invoked by uid 500); 2 Nov 2012 12:15:45 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 56722 invoked by uid 500); 2 Nov 2012 12:15:45 -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 56698 invoked by uid 99); 2 Nov 2012 12:15:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 12:15:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 12:15:43 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 25B84A678; Fri, 2 Nov 2012 12:15:23 +0000 (UTC) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: [Bug 54065] getResource with WARDirContext is very expensive Date: Fri, 02 Nov 2012 12:15:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 7 X-Bugzilla-Component: Catalina X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: struberg@yahoo.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=54065 --- Comment #2 from Mark Struberg --- Hi Mark! Thanks for the tip with the ContextConfig.jarsToSkip. That worked out well! Of course that also disables web-fragment parsing, right? We have not been able to remove META-INF/resources though as this location is used by other EE specs (e.g. JSF) since years. So there is practically no way around this without breaking almost all JSF projects. Thus I still think you should investigate the performance. It's sad that servlet-3.0 requires to lookup resources in JNDI upfront. This is utter expensive and really costs up to 20% of our performance. It's sad to see that some EGs try to add as much features as possible without thinking about the possible consequences. Maybe this can be solved via a negative cache (remembering JNDI misses)? Or probably via an own configuration to disable this behaviour? In my case it's pretty easy as we have all of our server environment under full control ourselfs. But other developers cannot easily do this and thus would see a major performance penalty. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org