Apache Tomcat
Ein einfacher und schnell installierter Application Server, primär für Entwicklungszwecke.
Optimierung
Tomcat Startup-Zeit beschleunigen - die Meldung 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.
lässt sich wie folgt beheben:
cd /path/o/tomcat/webapps/mywebapp
ls WEB-INF/lib | awk '{print $1",\"}'
Die lange Ergebnisliste des obigen Kommandos an den Parameter
tomcat.util.scan.DefaultJarScanner.jarsToSkip
(bis Tomcat 7)tomcat.util.scan.StandardJarScanFilter.jarsToSkip
(Tomcat 8+)
in der Datei /path/o/tomcat/conf/catalina.properties
anhängen.
Built on 2023-09-21