lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <>
Subject Re: Custom auth plugin for SolrCloud
Date Fri, 20 Sep 2019 09:18:49 GMT
Note that authentication plugins is not per-core/collection, they are system wide.
Try to create a lib/ folder inside your SOLR_HOME and put the jar there.

Jan Høydahl, search solution architect
Cominvent AS -

> 19. sep. 2019 kl. 16:19 skrev Shawn Heisey <>:
> On 9/19/2019 6:18 AM, Zubovich Yauheni wrote:
>> This class is wrapped into jar. Jar added to server lib directory and
>> defined at solrconfig.xml:
>> <lib dir="/webapps/solr-plugins/" regex="custom.jar" />
> Where exactly is this "server lib" directory that you describe?  If it's one of the locations
that gets loaded automatically, you should NOT be loading anything in that location with the
<lib> directive in solrconfig.xml.  That will result in the jar being loaded more than
>> null:org.apache.solr.common.SolrException: Error loading class
>> 'com.custom.solr.core.RestrictDirectAccessPlugin'
> This problem with a Java program can be caused by having the same jar loaded more than
once.  The reason it happens is complex and has to do with interactions between multiple Java
> The solution to these problems is to make sure that every required jar is loaded, and
that each of them is only loaded once.
> Thanks,
> Shawn

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message