【问题标题】:Restart tomcat after install solr安装solr后重启tomcat
【发布时间】:2013-07-25 09:04:06
【问题描述】:

我最近在centos中安装了tomcat7和solr。如果我使用没有 cd(goint) 的完整路径重新启动 tomcat 到 tomcat 目录并重新加载 solr,它会给出错误 HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure: could not load config for etc...

但是如果我 cd 到 tomcat 目录并重新启动 tomcat solr 工作正常。

有人知道这是为什么吗?

在重新启动它以正确运行我的应用程序之前,是否有必要(必需)cd 到 tomcat 目录。

【问题讨论】:

    标签: tomcat solr tomcat7


    【解决方案1】:

    您可能使用相对路径而不是绝对路径定义了您的 solr 内核(在 solr.xml 文件中,如果内存正确的话)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-07-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-04-16
      • 1970-01-01
      相关资源
      最近更新 更多