Bug 59256

Summary: SLF4J in default jarsToSkip value in catalina.properties too broad
Product: Tomcat 8 Reporter: David Scourfield <david.scourfield>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P2    
Version: 8.0.33   
Target Milestone: ----   
Hardware: PC   
OS: All   

Description David Scourfield 2016-03-31 15:02:38 UTC
The default value for jarsToSkip in catalina.properties includes the following:

slf4j*.jar

However, SLF4J has a taglib contained in a jar called "slf4j-taglib-0.1RC.jar" which matches the pattern above.  Therefore, this taglib cannot be used within a Tomcat container without editing the container configuration files.

Suggest amending the default slf4j*.jar pattern to slf4j-api-*.jar instead.
Comment 1 Violeta Georgieva 2016-03-31 15:13:32 UTC
Hi,

What do you think about including this specific jar to tomcat.util.scan.StandardJarScanFilter.jarsToScan instead of modifying tomcat.util.scan.StandardJarScanFilter.jarsToSkip?

Regards,
Violeta
Comment 2 David Scourfield 2016-04-01 09:36:11 UTC
Sure, something like: slf4j-taglib-*.jar
Comment 3 Violeta Georgieva 2016-04-01 10:28:47 UTC
Hi,

The fix will be available from 9.0.0.M5, 8.5.1 and 8.0.34 onwards.

Regards,
Violeta