Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by RobinBonin: http://wiki.apache.org/solr/SolrTomcat ------------------------------------------------------------------------------ * Change the c:\tomcat\conf\server.xml file to add the URIEncoding Connector element as shown above. * Download and unzip the Solr distribution zip file into (say) c:\temp\solrZip\ * Make a directory called solr where you intend the application server to function, say c:\web\solr\ - * Copy the contents of the example directory c:\temp\solrZip\example\solr\ to c:\web\solr\ + * Copy the contents of the example\solr directory c:\temp\solrZip\example\solr\ to c:\web\solr\ * Stop the Tomcat service - * Copy the solr.war file from c:\temp\solrZip\dist\ to the Tomcat webapps directory c:\tomcat\webapps\ + * Copy the *solr*.war file from c:\temp\solrZip\dist\ to the Tomcat webapps directory c:\tomcat\webapps\ + * Rename the *solr*.war file solr.war * Use the system tray icon to configure Tomcat to start with the following Java option: -Dsolr.solr.home=c:\web\solr * Start the Tomcat service * Go to the solr admin page to verify that the installation is working. It will be at http://localhost:8080/solr/admin @@ -113, +114 @@ * Change the c:\tomcat\conf\server.xml file to add the URIEncoding Connector element as shown above. * Download and unzip the Solr distribution zip file into (say) c:\temp\solrZip\ * Say you need two apps in c:\web\solr1 and c:\web\solr2; create these two directories - * Copy the contents of the example directory c:\temp\solrZip\example\solr\ to c:\web\solr1\ and to c:\web\solr2\ + * Copy the contents of the example\solr directory c:\temp\solrZip\example\solr\ to c:\web\solr1\ and to c:\web\solr2\ * Stop the Tomcat service - * Copy the solr.war file from c:\temp\solrZip\dist\ to the Tomcat lib directory c:\tomcat\lib\ + * Copy the *solr*.war file from c:\temp\solrZip\dist\ to the Tomcat lib directory c:\tomcat\lib\ + * Rename the *solr*.war file solr.war * Make a new text file in c:\tomcat\conf\Catalina\localhost called solr1.xml with the following code fragment {{{ <Context docBase="c:\tomcat\lib\solr.war" debug="0" crossContext="true" >
