Thanks. I tried what you said and sill have problems. I removed sharedLib from solr.xml, so solr.xml is back to its original state. I then placed a lib directory containing my jar into the solr home directory, which is /solr-5.4.0/server/solr. I then ran bin/solr start -e cloud -noprompt
Received error: Error CREATEing SolrCore 'gettingstarted_shard1_replica2': Unable to create core [gettingstarted_shard1_replica2] Caused by: com.oracle.querygen.plugin.DraQueryComponent Log said: Error loading class 'com.rwl.querygen.plugin.MyQueryComponent' Obviously, it can't find the jar containing MyQueryComponent. I know I'm doing something wrong, but I'm stuck again. Thanks in advance for any further advice. On Thu, Jan 21, 2016 at 2:04 PM, Shawn Heisey <apa...@elyograg.org> wrote: > On 1/21/2016 11:13 AM, Bob Lawson wrote: > > I am working with the gettingstarted example from the Solr Quick Start > > guide. I developed a couple of Solr plugins and I want to tell Solr > where > > to find them, and I'm following this > > <https://wiki.apache.org/solr/SolrPlugins> guide to do it. For a single > > core it was easy, I just put them in a lib directory under the instance > > directory. But now I am trying it with multiple cores. In > > /solr-5.4.0/server/solr, I updated the solr.xml file with sharedLib as > > follows: > > > > <solr> > > > > <solrcloud> > > > > * <str name="sharedLib">${sharedLib:}</str>* > <snip> > > But when I start up Solr, the log says: Unknown configuration parameter > in > > <solrcloud> section of solr.xml: sharedLib > > The sharedLib parameter is not for SolrCloud, it is for Solr in > general. Put it in the <solr> section, not the <solrcloud> section. > > If you are going to use the default location (which is $SOLRHOME/lib ... > $SOLRHOME is where solr.xml lives), then you do not need to include the > sharedLib configuration at all. > > Thanks, > Shawn > >