Hi,

Please update my account so I can edit the wiki https://wiki.apache.org/solr. 

GregG  /  greg22...@yahoo.com

Specifically, I was installing Solr on Windows using Tomcat following the 
instructions on https://wiki.apache.org/solr/SolrInstall, and had some issues 
with the instructions and wanted to update them.  I've included the issues 
below to remind myself what changes need to be made to the wiki, or you can 
forward this email to whomever manages the install page so they can make the 
changes.

Thanks -- Greg

--------------

Modifications from Stack Exchange that fixed several errors:

1. Changes: Remind users that on Windows, they need to copy over the logging 
jars to the tomcat lib directory or they will get a "severe error filterstart"  
on tomcat start up under the Windows steps.

2. Users to need "copy up" a level the  collection1 and bin or the will get an 
error page when trying to go to the solar/admin page.

3. Users can modify startup.bat (if that's what they are using to start tomcat) 
 instead of setenv or web.xml  to include: 

set JAVA_OPTS=-Dsolr.solr.home=c:\solr_home\solr -Dsolr.velocity.enabled=false



----------
Stack Exchange link:

http://stackoverflow.com/questions/17619809/installing-apache-solr-4-3-1-on-apache-tomcat-6-0



Install Solr in Tomcat
Pre Requirements
1 – Machine with Windows OS (Windows 7,8,Xp.. ..etc)
2 – Java 6 or Above
3 - Solr 4.0.0 or Above
4 – Apache-tomcat 6 or Above.
Steps to get Solr up on Tomcat Server
1.Install Tomcat on your machine and make sure it is ready to start.(Check 
using localhost:8080)
2.Install Solr4.0 distribution package apache-solr-4.0.0.zip and unzip it in 
your local directory like C:\apache-solr-4.0.0.
3.Make a folder with name solr-home in your local machine like C:\solr_home.
4.Go back to the solr distribution package that you downloaded 
C:\apache-solr-4.0.0. Have a peek inside the Examples/solr 
("C:\solr-4.4.0\example\solr") folder. Copy all those files into the 
C:\solr_home folder.(server shutting down exception will come)
5.Look into C:\solr-home\solr and you will see two folders with name 
collection1 and bin, copy these two folders a step up to C:\solr_home.(if lib 
not copy "severe error filterstart" Exception come)
6.Copy lib from C:\apache-solr-4.0.0\example\lib\ext SLF4J and log4j.jar file 
to Tomcat Lib folder C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib 
(https://wiki.apache.org/solr/SolrLogging#Using_the_example_logging_setup_in_containers_other_than_Jetty)
7.Copy apache-solr-4.0.war (rename to solr.war) from "C:\solr-4.4.0\dist" 
directory to webapps directory inside Tomcat.(C:\Program Files\Apache Software 
Foundation\Tomcat 6.0\webapps)
8.If tomact is already start then solr folder will create go to "C:\Program 
Files\Apache Software Foundation\Tomcat 6.0\webapps\solr\WEB-INF\web.xml" edit 
web.xml uncomment entry and edit like following(Exception SolrCore 
'collection1' is not available due to init failure)
<env-entry> <env-entry-name>solr/home</env-entry-name> 
<env-entry-value>C:\solr_home\solr</env-entry-value> 
<env-entry-type>java.lang.String</env-entry-type>
</env-entry> 
9.Start Tomcat and check localhost:8080/solr dashBoard will come

Reply via email to