tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54065] getResource with WARDirContext is very expensive
Date Fri, 02 Nov 2012 12:15:22 GMT

--- 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

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:
For additional commands, e-mail:

View raw message