Return-Path: Delivered-To: apmail-lucene-solr-commits-archive@locus.apache.org Received: (qmail 11463 invoked from network); 6 Feb 2007 19:35:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2007 19:35:18 -0000 Received: (qmail 13329 invoked by uid 500); 6 Feb 2007 19:35:25 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 13311 invoked by uid 500); 6 Feb 2007 19:35:25 -0000 Mailing-List: contact solr-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-commits@lucene.apache.org Received: (qmail 13299 invoked by uid 99); 6 Feb 2007 19:35:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 11:35:24 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 11:35:17 -0800 Received: from eos.apache.osuosl.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 73C1B5A1CF for ; Tue, 6 Feb 2007 19:34:57 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: solr-commits@lucene.apache.org Date: Tue, 06 Feb 2007 19:34:57 -0000 Message-ID: <20070206193457.23451.70524@eos.apache.osuosl.org> Subject: [Solr Wiki] Update of "SolrTomcat" by sunbomb X-Virus-Checked: Checked by ClamAV on apache.org 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 sunbomb: http://wiki.apache.org/solr/SolrTomcat ------------------------------------------------------------------------------ #since the solr webapp looks for $CWD/solr by default. }}} + + === For Windows === + * Download and install [http://tomcat.apache.org/ Tomcat] for Windows using the MSI installer. Install it with the tcnative.dll file. Say you installed it in c:\tomcat\ + * Check if Tomcat is installed correctly by going to http://localhost:8080/ + * 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\ + * Stop the Tomcat service + * Copy the solr.war file from c:\temp\solrZip\dist\ to the Tomcat webapps directory c:\tomcat\webapps\ + * 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 + + === Configuring Solr Home with JNDI === A Tomcat context fragments can be used to configure the JNDI property needed to specify your Solr Home directory.