Project

General

Profile

Bug #7698

Exclude SLF4J jars in d1_solr_extensions.jar

Added by Robert Waltz over 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
d1_cn_solr_extensions
Target version:
-
Start date:
2016-03-28
Due date:
% Done:

0%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

Dave reported:
when running “service solr status” on a CN, I see a complaint about multiple SLF4J bindings:
(12:05:53 PM) vieglais: SLF4J: Class path contains multiple SLF4J bindings.
(12:05:53 PM) vieglais: SLF4J: Found binding in jar:file:/var/solr/server/solr-webapp/webapp/WEB-INF/lib/d1_solr_extensions.jar!/org/slf4j/impl/StaticLoggerBinder.class vieglais: SLF4J: Found binding in jar:file:/var/solr/server/lib/ext/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class vieglais: SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
(12:05:56 PM) vieglais: SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

looks like a class conflict due to the shaded d1_solr_extensions.jar that includes SLF4J and solr jetty that also includes SLF4J.

try excluding SLF4J jars in d1_solr_extensions.jar.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)