In Tomcat 7 there was a bug with resolving URLs ending in "/". This should be fixed in Tomcat 7.0.5+, see SOLR-2022 for full details.
-----Original Message----- From: Pradeep Pujari [mailto:prade...@rocketmail.com] Sent: Monday, March 24, 2014 4:02 AM To: solr-user@lucene.apache.org Subject: Re: setting up solr on tomcat 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 This electronic message may contain proprietary and confidential information of Verint Systems Inc., its affiliates and/or subsidiaries. The information is intended to be for the use of the individual(s) or entity(ies) named above. If you are not the intended recipient (or authorized to receive this e-mail for the intended recipient), you may not use, copy, disclose or distribute to anyone this message or any information contained in this message. If you have received this electronic message in error, please notify us by replying to this e-mail.