You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/04/20 12:53:31 UTC

[Bug 59357] Doesn't seem to be a way to totally disable TLD scanning

https://bz.apache.org/bugzilla/show_bug.cgi?id=59357

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Scanning for TLDs under WEB-INF is required by the JSP specification.

Scanning within JARs is configurable because of the performance impact. It
allows JARs to be skipped when they are known not to contain TLDs.

TLD scanning was refactored between 7.0.x and 8.0.x. In 7.0.x, both Catalina
(the Servlet engine) and Jasper (the JSP engine) scanned for TLDs. Catalina
scanned for TLDs on web application start looking for listeners. Jasper scanned
for TLDs lazily (once a JSP referred to a TLD) but looked for everything else.
processTlds only affected the Catalina scan.

In 8.0.x, Jasper does all the scanning (on web application start) and notifies
Catalina of any listeners found.

It looks like you are seeing the results of making the Jasper scan non-lazy.

At this point I don't see a good reason to change the current behaviour.

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