I\'ve been trying to set up Solr 4.3 on my home PC (in Tomcat 7) but it doesn\'t run. I have set up Tomcat and deployed the solr.war file which both unpacks and sho
The easiest way to get started with Solr on Tomcat is to use HDS (Heliosearch Distribution for Solr), a Tomcat/Solr distribution
It's a super-set of Apache Solr, containing an additional "server" directory that is a pre-configured (threads, logging, connection settings, message sizes, etc) Tomcat based Solr server.
Some other implementation notes:
To start:
$ cd server
$ bin/startup.sh
To start on a different port (e.g. 7574):
$ cd server
$ bin/startup.sh -Dhttp.port=7574
To shut down:
$ cd server
$ bin/shutdown.sh -Dhttp.port=7574
The scripts even accept -Djetty.port=7574 to make it easier to cut-n-paste from start examples using jetty. The "example" directory is still there too, so you can still run the jetty based server if you want.