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
You need to install the jars for logging as explained here.
Just copy all the mentioned files into your tomcat/lib dir. And restart Tomcat.
- Copy the jars from
solr/example/lib/ext
into your container's main lib directory. These jars will set upSLF4J
andlog4j
. Exactly where this lib directory is highly variable. For a Debian or Ubuntu server using the Tomcat package available from the OS vendor, this is likely to be/usr/share/tomcat6/lib
or/usr/share/tomcat7/lib
.- Copy the logging config from
solr/example/resources/log4j.properties
into a location on theclasspath
. Usually you can use the same location as the jar files above. Edit the configuration file for your preferred log destination.- Optionally, if you did not place log4j.properties on the classpath, set
java option -Dlog4j.configuration=file:///path/to/log4j.properties