Bug 59256 - SLF4J in default jarsToSkip value in catalina.properties too broad
Summary: SLF4J in default jarsToSkip value in catalina.properties too broad
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 8.0.33
Hardware: PC All
: P2 trivial (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-31 15:02 UTC by David Scourfield
Modified: 2016-04-01 10:28 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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