PS JarScannerFilter above is a copypasta error, I do have the correct
tag in my config with the same result

On Tue, Oct 31, 2017 at 3:03 PM, Chris Cheshire <yahoono...@gmail.com> wrote:
> How do I tell the jar scanner to ignore my entire WEB-INF/lib
> directory for the pluggability scan and tld scan?
>
> I have in my context.xml
>
> <JarScanner>
>   <JarScannerFilter
> pluggabilitySkip="${tomcat.util.scan.StandardJarScanFilter.jarsToSkip},*/WEB-INF/lib/*.jar"
>
> tldSkip="${tomcat.util.scan.StandardJarScanFilter.jarsToSkip},*/WEB-INF/lib/*.jar"
> />
> </JarScanner>
>
>
> the JarScanner completely ignores it as evidenced by the 20+ log
> messages along the lines of
>
> org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD
> files were found in
> [file:/home/sandbox1/tomcat/webapps/p/WEB-INF/lib/java-image-scaling-0.8.6.jar].
> Consider adding the JAR to the
> tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in
> CATALINA_BASE/conf/catalina.properties file
>
>
> If I start listing each individual jar file it stops scanning them. Is
> there no way to just exclude an entire directory?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to