I only have one solr instance so I followed the "Single Solr Instance",
which basically tells me to set -Dsolr.solr.home to the solr directory,
which I did ...

On Sat, May 29, 2010 at 2:32 PM, K Wong <wongo...@gmail.com> wrote:
> There are directions on this page under Tomcat on Windows > Multiple Solr 
> apps:
>
> http://wiki.apache.org/solr/SolrTomcat
>
> I'm running a multicore install on RHEL5/Tomcat5.5 and I just followed
> the docs and it went fine. I'm not sure that I can be of much help
> other than pointing you to the relevant docs, since I am not running
> this on Windows.
>
> K
>
>
>
> On Sat, May 29, 2010 at 1:48 PM, jlist9 <jli...@gmail.com> wrote:
>> My solr index works fine with the embedded Jetty. I'm trying to move the
>> index to Tomcat. Following the wiki page 
>> http://wiki.apache.org/solr/SolrTomcat,
>> I put this line in setenv.bat:
>>
>> set JAVA_OPTS=%JAVA_OPTS% "-Dfile.encoding=UTF-8"
>> "-Dsolr.solr.home=D:\opt\solr\example"
>>
>> Tomcat seems to be picking it up. If I point it to a non-existent
>> directory or an empty
>> directory, Tomcat complains about it in console log.
>>
>> However, the /solr/admin/stats.jsp page still shows that solr is using a 
>> default
>> directory, which is unsurprisingly located in tomcat bin dir:
>>
>> readerDir : 
>> org.apache.lucene.store.simplefsdirect...@d:\Java\apache-tomcat-6.0.20\bin\solr\data\index
>>
>> Any idea what else I need to do to use an external solr index
>> directory in Tomcat?
>>
>> Thanks,
>> Jack
>>
>

Reply via email to