How to skip unneeded JARs during scanning and improve startup and JSP compilation time?

Solution Verified - Updated -

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.