> -----Ursprüngliche Nachricht----- > Von: Blake McBride <blake1...@gmail.com> > Gesendet: Dienstag, 12. April 2022 22:31 > An: Tomcat Users List <users@tomcat.apache.org> > Betreff: How can I stop scanning TLD's? > > Greetings, > > When booting my app, the system takes a long time to get past: > > 12-Apr-2022 20:21:18.648 INFO [main] > org.apache.jasper.servlet.TldScanner.scanJars 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. > 12-Apr-2022 20:21:18.694 INFO [main] > org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web > application directory [/home/arahant/tomcat/webapps/host-manager] has > finished in [277] ms > 12-Apr-2022 20:21:18.695 INFO [main] > org.apache.catalina.startup.HostConfig.deployDirectory Deploying web > application directory [/home/arahant/tomcat/webapps/arahant] > Apr 12, 2022 8:21:20 PM org.apache.jasper.servlet.TldScanner scanJars > 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. > > I guess it is scanning for TLD's. I'm not completely sure what that is but if > possible, I'd like to bypass that step as much as possible. > > Some facts: > > 64-bit Linux > Apache Tomcat/9.0.62 > Java 8 > > My app is pretty large - about 10,000 classes and over 100 jar files. I > suppose > scanning all of those files is what is taking so long. > > My app is dumb html and javascript files that communicate via SOAP and > REST. There is no JSP. > > Thanks for the help! > > Blake McBride
Hello Blake, does this setting help out? https://tomcat.apache.org/tomcat-9.0-doc/config/jar-scan-filter.html Greetings, Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org