: Honestly.  Any help would be *much* appreciated but shouldn't Tomcat be
: the easiest way to run SOLR?

The *easiest* way to get Solr up and running is to follow the example on 
the tutorial to start the Jetty server included with the release

(the tutorial assumes you are using a nightly build, but the same thing 
works with the official releases)...

        http://lucene.apache.org/solr/tutorial.html

   cd example
   java -jar start.jar

...it really is that easy.

If that works for you, and you want to try tomcat next, then you should 
start by understanding why you're seeing differnet docs talking about 
solr.solr.home system properties, and JNDI, and context files.  Solr is 
very flexible in how you cna tell it where to find it's configuration 
files -- called the "Solr Home" -- just pick the one that meets your 
needs...

        http://wiki.apache.org/solr/SolrInstall

If you look at the Solr wikipage on Tomcat...

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

...you'll see a "Simple Example Install" which works a lot like the out of 
hte box jetty install -- it assumes the solr home dir is ./solr relative 
where you start tomcat from. (As written it uses tomcat 5.5.25 but the 
steps would be exactly the same for tomcat 6).  For a more "permenant" 
Tomcat installation, I would suggest using JNDI ... which means creating a 
context file.  See the "Configuring Solr Home with JNDI" section of the 
same wiki page.

(NOTE: the JNDI section had some very missleading comments about Tomcat 6 
which I just (re)moved)


-Hoss

Reply via email to