hewengbo 2017-10-09 15:46 采纳率: 0%
浏览 5549
已结题

solr安装过程中遇到的问题

Type Exception Report

Message Error processing the request. CoreContainer is either not initialized or shutting down.

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

org.apache.solr.common.SolrException: Error processing the request. CoreContainer is either not initialized or shutting down.
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:307)
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:298)
Note The full stack trace of the root cause is available in the server logs.
在Linux中安装solr6.5和Tomcat参考安装http://www.cnblogs.com/wander1129/p/6658318.html在登录初始页面时出现上面这个错误下面是日志报错信息09-Oct-2017 23:21:34.765 信息 [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed()
09-Oct-2017 23:21:34.767 信息 [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed()
09-Oct-2017 23:22:04.843 信息 [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized()
09-Oct-2017 23:22:04.847 信息 [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized()
09-Oct-2017 23:22:05.335 严重 [http-nio-8080-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [LoadAdminUI] in context with path [] threw exception
org.apache.solr.common.SolrException: Error processing the request. CoreContainer is either not initialized or shutting down.
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:307)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:298)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

  • 写回答

1条回答 默认 最新

  • 埋哥 2017-12-01 06:11
    关注

    在tomcat中的solr项目中web.xml文件中配置的solrhome的地址和你的solrhome所在位置不相同。solrhome下面包含conf等文件

    评论

报告相同问题?