Install Apache Solr Windows Xp
Hi I'm a fairly new programmer whos trying to install Solr on Windows 10 i download Solr from The only two.
I've put the file apache-solr-3.5.0.war in folder C: Program Files Apache Software Foundation Tomcat 6.0 webapps. A folder 'apache-solr-3.5.0' is created automatically. And when I go to: I can see the message 'Welcome to Solr!' Now, when I do the exact same with the file solr-4.3.1.war in the folder C: Program Files Apache Software Foundation Tomcat 6.0 webapps A folder solr-4.3.1 is created automatically. Edusoft Software Download. But now when I go to: OR to I see the error: HTTP Status 404 - type Status report Message: description The requested resource is not available. Apache Tomcat/6.0.37 What am I missing?
Update: This is shown in the Tomcat console window: INFO: Solr home set to 'solr/' 12-jul-2013 18:27:36 org.apache.solr.core.SolrResourceLoader INFO: Solr home set to 'solr. ' 12-jul-2013 18:27:36 org.apache.solr.common.SolrException log SEVERE: java.lang.RuntimeException: Can't find resource 'solrconfig. Yrdsb Gifted Program Test Preparation. xml' in class sath or 'solr.
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. Velamma Episode 8 Pdf To Jpg. 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. It got solved for me by on a different forum, here are the steps I followed: • Extract solr431 package. In my case I did in 'E: solr-4.3.1 example solr' • Now copied solr dir from extracted package (E: solr-4.3.1 example solr) into TOMCAT_HOME dir. In my case TOMCAT_HOME dir is pointed to E: Apache Tomcat 6.0. • I can refer now SOLR_HOME as ' E: Apache Tomcat 6.0 solr' (please remember this) • Copy the solr.war file from extracted package to SOLR HOME dir i.e E: Apache Tomcat 6.0 solr.
This is required to create the context. As I donot want to pass this as JAVA OPTS • Also copy solr.war file into TOMCAT_HOME webapps for deployment purpose • If you start tomcat you will get errors as mentioned by Shawn. S0 you need to copy all the 5 jar files from solr extracted package ( E: solr-4.3.1 example lib ext ) to TOMCAT_HOME lib dir: • jul-to-slf4j-1.6.6, • jcl-over-slf4j-1.6.6, • slf4j-log4j12-1.6.6, • slf4j-api-1.6.6, • log4j-1.2.16 • Also copy the log4js.properties file from E: solr-4.3.1 example resources dir to TOMCAT_HOME lib dir. • Now if you start the tomcat you wont having any problem. According to my notes (I did that procedure some time ago), I had to add an extra line in the Tomcat 'caralina.sh' (or catalina.bat if you use windows): export JAVA_OPTS='$JAVA_OPTS -Dsolr.solr.home=/opt/solr/example/solr' This is used to specify where the solr 'configuration' and 'data' directories (where your data will be stored).
In my case it is '/opt/solr/example/solr', but you need to use the directory where you have the 'configuration' files and 'data' directory in your system. For example you should use 'C: solr-4.3.1 examples solr ' if you extracted the downloaded Solr package in C: in windows. This means, that you will deploy the 'Solr.war' in Tomcat (you already did that), but the configuration of Solr and 'data' stored will be in that directory you specify in catalina.bat (JAVA_OPS, e.g.: C: solr-4.3.1 examples solr). Good instructions to install Solr in a Tomcat in windows. Apparently you have installed 'tomcat as a service' (the windows installer). I never used that. You can try (for the time being) set the JAVA_OPS in your 'environment variable' in your windows.