How to skip unneeded JARs during scanning and improve startup and JSP compilation time?
Issue
- Tomcat server starts slowly with below message in log:
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time."
Environment
- Red Hat Enterprise Linux (RHEL) 7.x
- tomcat7
- Red Hat JBoss Web Server
- tomcat7
- tomcat8
- tomcat9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.