On 5/12/2015 7:03 AM, Björn Keil wrote:
> Well, that's a bid odd in so far as there is no SOLR_HOME/lib
> directory. When I start solr with the "verbose" flag it says:
>
> SOLR_HOME = (...)/solr-5.1.0/server/solr
>
> However, what I did is first symlink and then copy the respective
> libraries to solr-5.1.0/server/lib/ext. That leads to the server not
> starting at all. I also tried
> solr-5.1.0/server/solr-webapp/webapp/WEB-INF/lib, but that does not
> make any difference at all.

The ${solr.solr.home}/lib directory does not exist by default in the
Solr example, but if you create it and use it for all your contrib/user
jars that your Solr config needs, it will work.  You should completely
remove all <lib> config elements from solrconfig.xml at the same time,
and make sure that any jar you need is in that lib directory.  All the
jars will be loaded once and available to all cores.

There seems to be some kind of problem with the classloader when certain
jars (the ICU jars being the one example I'm sure about) are loaded more
than once by the same classloader.

https://issues.apache.org/jira/browse/SOLR-4852

Thanks,
Shawn

Reply via email to