Mantis - Resin
Viewing Issue Advanced Details
6468 minor always 04-12-22 11:04 06-29-22 08:28
nam  
ferg  
normal  
closed 4.0.66  
fixed  
none    
none 4.0.66  
0006468: add config to limit scanning of TLDs in jars
(rep by Yoon)

And the developers of the lab checked that it takes time to scan the unnecessary tld files in the jar file.
So when they tested at tomcat, The speed was dramatically improved using StandardJarScanFilter.jarsToSkip.

tomcat.util.scan.StandardJarScanFilter.jarsToSkip=\
log4j-web*.jar,log4j-taglib*.jar,log4javascript*.jar,slf4j-taglib*.jar,\
spring-webmvc-*.jar
(Tomcat provides additional settings such as jarsToScan and jar scanner.)

Notes
(0007086)
ferg   
06-23-22 15:58   
jsp/18jt
(0007088)
nam   
06-29-22 08:27   
To exclude jars:

    <web-app xmlns="http://caucho.com/ns/resin"> [^]
        <tld-jar-file-set>
            <exclude name="foo.jar"/>
        </tld-jar-file-set>

To nclude only specific jars:

    <web-app xmlns="http://caucho.com/ns/resin"> [^]
        <tld-jar-file-set>
            <include name="foo.jar"/>
        </tld-jar-file-set>