I want to serve solr as a standalone server on a specific port, and need to
change the contextRoot from /solr to /
(I need to include some health checks on / which I will add to the solr.war)

I've tried changing my node1/solr/solr.xml's hostContext variable to
$(hostContext:) instead of $(hostContext:solr) but this didn't change
anything at http://localhost:8983/solr/. And if I go to
http://localhost:8983/, I get the following error:

Error 404 - Not Found. No context on this server matched or handled this
request. Contexts known to this server are: /solr --->
o.e.j.w.WebAppContext{/solr,file:/home/yaraju_gmail_com/solr-4.10.3/node1/solr-webapp/webapp/},/home/yaraju_gmail_com/solr-4.10.3/node1/webapps/solr.war

What is the right way to do this?

Thanks,
Avanish

Reply via email to