What is the exception stack trace? The link looks good and works for Solr4.x


________________________________
 From: Michael Sokolov <msoko...@safaribooksonline.com>
To: solr-user@lucene.apache.org 
Sent: Sunday, March 23, 2014 7:56 AM
Subject: Re: setting up solr on tomcat
 

On 3/22/2014 2:16 AM, anupamk wrote:
> Hi,
>
> Is the solrTomcat wiki article valid for solr-4.7.0 ?
> http://wiki.apache.org/solr/SolrTomcat
>
>
> I am not able to deploy solr after following the instructions there.
>
> When I try to access the solr admin page I get a 404.
>
> I followed every step exactly as mentioned in the wiki, still no dice.
>
> Any ideas ?
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/setting-up-solr-on-tomcat-tp4126177.html
> Sent from the Solr - User mailing list archive at Nabble.com.
There was a note on that page saying:

Solr4.3 <http://wiki.apache.org/solr/Solr4.3>requires completely 
different deployment. These instructions are*not*current and are for an 
indeterminate version of Solr.

I haven't read the instructions in detail, but in my experience setting 
up a single standalone server goes like this:

copy solr.war to the tomcat/webapps folder,
logging jars (log4j, slf4j) and configuration (log4j.properties) to the 
tomcat/lib folder

you can create your solr home directory directly in the tomcat folder -- 
if you do that, it should be found, or you can put it somewhere else and 
start the jvm with -Dsolr.solr.home=/wherever/you/put/solr

that's pretty much it, I think.  You will see the solr admin at 
http://localhost:8080/solr if you use all vanilla settings.

-Mike

Reply via email to