1. 程式人生 > >solr叢集出現錯誤503-Server is shutting down or failed to initialize.

solr叢集出現錯誤503-Server is shutting down or failed to initialize.

搭建solr叢集,配置好後,第二天正常啟動tomcat和zookeeper,在瀏覽器開啟tomcat能夠正常訪問,可是在後面加上solr專案地址, 訪問出現503-Server is shutting down or failed to initialize.
在虛擬機器中部署一個solr服務。所有操作完成在主機瀏覽器訪問時。丟擲503-Server is shutting down or failed to initialize錯誤。

solution1

將解壓後的solr下面的example/resources/下的log4j.properties複製到 solr專案下的 /WEB_INF/classes中。

solution2

將解壓後的solr/example/lib/ext下的所有 jar包,複製到 solr專案下的 /WEB_INF/下的lib資料夾中。

如有疑問請線上留言,第一時間回覆你哦!