On 9/6/2015 4:25 PM, Shawn Heisey wrote:
If we assume that it cannot be a problem with multiple jar versions,
which sounds pretty reasonable, then I think SOLR-6188 is probably to blame.
https://issues.apache.org/jira/browse/SOLR-6188
I think you should try this as a troubleshooting step: Rename that lib
directory where you have the jars to something like libtest and
add/change the sharedLib setting in your solr.xml to libtest. The
following line should do it:
<str name="sharedLib">libtest</str>
See this wiki page for more information about solr.xml:
https://wiki.apache.org/solr/Solr.xml%204.4%20and%20beyond
If this troubleshooting step fixes the problem, then I think it's
definitely SOLR-6188, and you have a viable workaround that should
continue to work even after SOLR-6188 is fixed.
Thanks,
Shawn
I did as you prescribed. Being my solr.xml did not have a "sharedLib"
line in it, I added
<str name="sharedLib">libtest</str>
between the <solr> and the <solrcloud> tags because I'm not running in
cloud mode -- at least, not yet.
I also renamed <installDir>/server/lib to <installDir>/server/libtest,
then restarted solr. This time, solr did not start at all and nothing
was written to solr.log. In solr.xml, I also tried the following (one
at a time):
<str name="sharedLib">server/libtest</str> <str
name="sharedLib">/localapps/dev/solr-5.3.0/server/libtest</str> <str
name="sharedLib">${sharedLib:libtest}</str> ...all with the same
no-start results. Instead of removing the sharedLib line from solr.xml,
I left it like this: <str name="sharedLib">${sharedLib:}</str> and
renamed my libtest back to lib Doing so allowed Solr to restart, albeit
with the return of DataImportHandler error, as before.
So does this tell us that we are barking up the wrong tree?? Does this
mean it *is* a multiple jar version problem? If so, there may be
multiple jars (caused by my copying things around to try to get this
working, and my lack of knowledge of where all the places are that it
looks for jars), but they would be the same versions.
Unfortunately, the piece of Solr that is not working for me
(DataImportHandler) is the very piece I need for my project. :-((
Mark