I have found setenv.sh to be very helpful.  It's a hook where you can setup 
environment variables and java options without modifying your catalina.sh 
script.  This makes upgrading a whole lot easier.


Brandon Ramirez | Office: 585.214.5413 | Fax: 585.295.4848 
Software Engineer II | Element K | www.elementk.com


-----Original Message-----
From: Li Li [mailto:fancye...@gmail.com] 
Sent: Monday, October 31, 2011 8:35 AM
To: solr-user@lucene.apache.org
Subject: Re: Can't find resource 'solrconfig.xml'

modify catalina.sh(bat)
adding java startup params:
-Dsolr.solr.home=/your/path

On Mon, Oct 31, 2011 at 8:30 PM, 刘浪 <liu.l...@eisoo.com> wrote:

> 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
>

Reply via email to