Null JarScanner

Disable all JAR scanning by Tomcat.

License

License

MIT
GroupId

GroupId

com.github.marschall
ArtifactId

ArtifactId

null-jarscanner
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Null JarScanner
Disable all JAR scanning by Tomcat.
Project URL

Project URL

https://github.com/marschall/null-jarscanner
Source Code Management

Source Code Management

https://github.com/marschall/null-jarscanner

Download null-jarscanner

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.marschall/null-jarscanner/ -->
<dependency>
    <groupId>com.github.marschall</groupId>
    <artifactId>null-jarscanner</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.marschall/null-jarscanner/
implementation 'com.github.marschall:null-jarscanner:1.0.0'
// https://jarcasting.com/artifacts/com.github.marschall/null-jarscanner/
implementation ("com.github.marschall:null-jarscanner:1.0.0")
'com.github.marschall:null-jarscanner:jar:1.0.0'
<dependency org="com.github.marschall" name="null-jarscanner" rev="1.0.0">
  <artifact name="null-jarscanner" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.marschall', module='null-jarscanner', version='1.0.0')
)
libraryDependencies += "com.github.marschall" % "null-jarscanner" % "1.0.0"
[com.github.marschall/null-jarscanner "1.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.apache.tomcat : tomcat-api jar 8.0.15

Project Modules

There are no modules declared in this project.

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.

Versions

Version
1.0.0