Skip to content

marschall/null-jarscanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NULL JarScanner Build Status Maven Central Javadocs

Disables all class path scanning by Tomcat. This improves Tomcat startup time but makes it no longer Servlet API Spec compliant since TLDs and @HandlesTypes are no longer picked up.

Usage

<dependency>
    <groupId>com.github.marschall</groupId>
    <artifactId>null-jarscanner</artifactId>
    <version>1.0.0</version>
</dependency>

Copy the JAR to $CATALINA_BASE/lib the JAR must not be in your web application.

Use the following META-INF/context.xml

<Context>

  <JarScanner className="com.github.marschall.nulljarscanner.NullJarScanner" />

</Context>

Documentation

See the official Jar Scanner documentation.

About

Disables all ClassPath scanning by Tomcat

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages