As Solr said in the log, Solr couldn't find solrconfig.xml in classpath
or solr.solr.home, cwd.

My guess is that relative path you set for solr.solr.home
was incorrect? Why don't you try:

solr.solr.home=/home/huenzhao/search/tomcat6/bin/solr

instead of:

solr.solr.home=home/huenzhao/search/tomcat6/bin/solr

Koji

huenzhao wrote:
Hi all,

I used ubuntu 8.10 as the solr server OS, and set the
solr.solr.home=home/huenzhao/search/tomcat6/bin/solr.

When I run the tomcat(The tomcat and the solr that I used running on windows
XP has no problem), there has error as :

HTTP Status 500 - Severe errors in solr configuration. Check your log files
for more detailed information on what may be wrong. If you want solr to
continue after configuration errors, change: false in null
-------------------------------------------------------------
java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in
classpath or 'home/huenzhao/search/tomcat6/bin/solr/conf/',
cwd=/home/huenzhao/search/tomcat6/bin at
org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:194)
at
org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:162)
at org.apache.solr.core.Config.(Config.java:100) at
org.apache.solr.core.SolrConfig.(SolrConfig.java:113) at
org.apache.solr.core.SolrConfig.(SolrConfig.java:70) at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:117)
at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696)
at
……

Anybody knows how to do?

enzhao...@gmail.com


Reply via email to