rather then mucking with system properties, i find that using JNDI is the 
easiest and cleanest way to configure solr home with tomcat.

https://wiki.apache.org/solr/SolrTomcat#Configuring_Solr_Home_with_JNDI

...those instructions are fairly simple, and will work on both windows and 
linux (just with differnet paths) but someone also did a more detailed 
breakdown specificly for windows on the same page...

https://wiki.apache.org/solr/SolrTomcat#Tomcat_on_Windows



: Date: Mon, 31 Oct 2011 20:30:21 +0800 (CST)
: From: 刘浪 <liu.l...@eisoo.com>
: Reply-To: solr-user@lucene.apache.org
: To: solr-user <solr-user@lucene.apache.org>
: Subject: Can't find resource 'solrconfig.xml'
: 
: Hi,
:       After I start tomcat, I input http://localhost:8080/solr/admin. It can 
display. But in the tomcat, I find an exception like "Can't find resource 
'solrconfig.xml' in classpath or 'solr\.\conf/', cwd=D:\Program Files 
(x86)\apache-tomcat-6.0.33\bin". It occures before "Server start up in 1682 ms."
:       What should I do?Thank you very much.
: 
:       Solr Directory: D:\Program Files (x86)\solr. It contents bin, conf, 
data, solr.xml, and README.txt.
:       Tomcat Directory: D:\Program Files (x86)\apache-tomcat-6.0.33.
: 
: Sincerely,
: Amos
: 

-Hoss

Reply via email to