In Tomcat 7 the absolute-ordering option affects discovery both of SCIs provided by web application and ones provided by the container (i.e. An empty element configures that none are to be scanned. The element specifies which web fragment JARs (according to the names in their WEB-INF/web-fragment.xml files) have to be scanned for SCIs, fragments and annotations. If there is a SCI with a annotation, Tomcat has to scan your application for classes that use annotations or interfaces specified in that annotation. The metadata-complete option is not enough to disable all of annotation scanning. Setting metadata-complete="true" disables scanning your web application and its libraries for classes that use annotations to define components of a web application (Servlets etc.). Set metadata-complete="true" attribute on the element.There are two options that can be specified in your WEB-INF/web.xml file: In Tomcat 8 the TLD scanning happens only once at startup time (in JasperInitializer). The second scanning is more noticeable, because it prints a diagnostic message about scanned JARs that contained no TLDs.
#Download tomcat 8 code
#Download tomcat 8 how to
This section provides several recommendations on how to make your web application and Apache Tomcat as a whole to start up faster.