Enhancement: Skip scanning xercesImpl/xml-apis jars with Tomcat
See original GitHub issueRunning Spring Boot 1.5.2 with the embedded Tomcat 8.5.x on Oracle Java 8, I see the following in the logs:
2017-04-04 17:18:18,934 WARN [org.apache.tomcat.util.scan.StandardJarScanner] - <Failed to scan [file:/Users/Misagh/.m2/repository/xalan/xalan/2.7.2/xml-apis.jar] from
classloader hierarchy>
java.io.FileNotFoundException: /Users/Misagh/.m2/repository/xalan/xalan/2.7.2/xml-apis.jar (No such file or directory)
...
2017-04-04 17:18:18,934 WARN [org.apache.tomcat.util.scan.StandardJarScanner] - <Failed to scan [file:/Users/Misagh/.m2/repository/xalan/xalan/2.7.2/xercesImpl.jar] from
classloader hierarchy>
java.io.FileNotFoundException: /Users/Misagh/.m2/repository/xalan/xalan/2.7.2/xercesImpl.jar (No such file or directory)
- Should the two JARs listed above,
xml-apis.jarandxercesImpl.jar, be also excluded from scans and listed inTldSkipPatterns? - If so, could I submit a pull request that provides that change?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Embedded tomcat giving failed to scan jars from classloader ...
jar in application.properties file or server: tomcat: additional-tld-skip-patterns: '*.jar' in application.yml file.
Read more >How do I make Tomcat startup faster?
How do I make Tomcat startup faster? General; JAR scanning. Configure your web application; Remove unnecessary JARs; Exclude JARs from scanning; Disable ...
Read more >Improve Tomcat Startup Time - skybert.net
Out of the box, my Tomcat version 7.0.62 with 8 webapps inside two different <Host/> containers booted in around 52 seconds.
Read more >Understanding the Tomcat Classpath - Common problems ...
A common question that pops up on lots of Apache Tomcat user forums is how to configure Tomcat's classpath to include this or...
Read more >How to configure Tomcat for FootPrints 12.X and 20.X onwards
FootPrints requires specific Tomcat configuration settings. ... all folders within the application and its own folders, looking and scanning for jar files.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@mmoayyed could you please join us on gitter when you have questions like that? That would reduce the noise on the tracker. Thanks!
Yes, if you want those jars to be skipped during TLD scanning, you will need to configure the appropriate patterns.