On 9/6/2018 12:29 PM, nalsrini wrote:
Here is the error message I am getting:
https://screencast.com/t/XwEjA22jX
Alexandre covered things quite well. It looks like you're using an
invalid URL.
Your original message shows this code:
SolrClient client = new HttpSolrClient("http://:/solr-master");
That is not a valid URL. It is missing the hostname, the port, and
/solr-master is not the correct URL path. The correct path would be
/solr and MIGHT need to be /solr/indexname ... depending on exactly how
the other code is written. I prefer to use /solr and specify the
collection name when making the requests.
Also, this is a Tomcat error page. Is it Solr that's running in Tomcat,
or are you running another application in Tomcat that is accessing Solr?
Running Solr in Tomcat became an unsupported configuration as of Solr
5.0. It is something you can do, but we don't support it.
https://wiki.apache.org/solr/WhyNoWar
Thanks,
Shawn