lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolrTomcat" by MariMasuda
Date Thu, 01 Mar 2012 21:47:24 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrTomcat" page has been changed by MariMasuda:
http://wiki.apache.org/solr/SolrTomcat?action=diff&rev1=54&rev2=55

  In the source directory, run `ant dist` to build the .war file under ''dist''.  Build the
example for the [[http://lucene.apache.org/solr/tutorial.html|Solr tutorial]] by running `ant
example`.  Change to the 'example' directory, run ''java -jar start.jar'' and visit `localhost:8983/solr/admin`
to test that the example works with the  Jetty container.
  
  === Installing Solr instances under Tomcat ===
- Assuming that Solr and its ''example'' are built, this is how to install the Solr example
as an instance under Tomcat.  
+ Assuming that Solr and its ''example'' are built, this is how to install the Solr example
as an instance under Tomcat.
  
  Copy the ''example/solr'' directory from the source to the installation directory like ''/opt/solr/example/solr'',
herafter ''$SOLR_HOME''.  Copy the .war file ''dist/apache-solr-*.war'' into ''$SOLR_HOME''
as ''solr.war''.
  
@@ -75, +75 @@

  
  ==== Exceptions when visiting Solr admin ====
  View ''$CATALINA_HOME/logs/catalina.out'' for a better view of the exceptions. Probably
caused by an incorrect path in ''solrconfig.xml'' or the Context fragment, or by an unclean
build (run ''ant clean'' and rebuild the source).
+ 
+ ==== HTTP 500 error ====
+ If, when installing Solr 3.5, you get an HTTP 500 error and the exception message begins
with
+ {{{
+ org.apache.solr.common.SolrException: Error loading class 'solr.VelocityResponseWriter'
at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:389)...
+ }}}
+ the problem is caused by incorrect <lib> locations in ''$SOLR_HOME/conf/solrconfig.xml''
and can be fixed by reading through this note in the mailing list archive: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201112.mbox/%3C7FA7F0B0-935A-4D01-A389-DB3B7EDA0464@gmail.com%3E
  
  == Optional Configuration ==
  === Logging ===

Mime
View raw message