That's just setting the solr/home environment not the user.dir variable.  I 
have that already set.  But when I got to the solr/admin page, at the top it 
shows the Solr Admin(schemaname), hostname, and cwd=/root, SolrHome=/opt/solr.

How do I get cwd=/root not to be that but to be set to /opt/solr?

robbin

-----Original Message-----
From: Olivier Dobberkau [mailto:olivier.dobber...@dkd.de] 
Sent: Thursday, January 07, 2010 3:28 AM
To: solr-user@lucene.apache.org
Subject: Re: How to set User.dir or CWD for Solr during Tomcat startup


Am 07.01.2010 um 00:07 schrieb Turner, Robbin J:

> I've been doing a bunch of googling and haven't seen if there is a parameter 
> to set within Tomcat other than the solr/home which is setup in the solr.xml 
> under the $CATALINA_HOME/conf/Catalina/localhost/.

Hi.

We set this in solr.xml

<Context docBase="/opt/solr-tomcat/apache-tomcat-6.0.20/webapps/solr.war" 
debug="0" crossContext="true" >
   <Environment name="solr/home" type="java.lang.String" 
value="/opt/solr-tomcat/solr" override="true" /> </Context>

http://wiki.apache.org/solr/SolrTomcat#Simple_Example_Install

hope this helps.

olivier

--

Olivier Dobberkau
. . . . . . . . . . . . . .
Je TYPO3, desto d.k.d

Reply via email to