Hi, Thank you! I got it working after you jarred my brain. Of course, the location of the solr instance is arbitrary/logical to tomcat. Sheesh, I feel kind of small, now. Anyway, I was able to clearly see my mistake from your information.
As with all help I get from here I posted my fix/walkthrough for others to see here: http://drupal.org/node/716632 Thanks a bunch! You helped me and anyone else coming to the Drupal site for help with Tomcat and Solr :-) -----Original Message----- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Sunday, November 14, 2010 2:23 AM To: solr-user@lucene.apache.org Subject: Re: Error When Switching to Tomcat Move solr.war file and solrhome directory somewhere else outside the tomcat webapps. Like /home/foo. Tomcat will generate webapps/solr automatically. This is what i use: under catalineHome/conf/Catalina/localhost/solr.xml <Context docBase="/home/foo/apache-solr-1.4.0.war" debug="0" crossContext="true" > <Environment name="solr/home" type="java.lang.String" value="/home/foo/SoorHome" override="true" /> </Context> I also delete <dataDir>...</dataDir> entry from solrconfig.xml. So that data dir is created under the solrhome directory. http://wiki.apache.org/solr/SolrTomcat#Installing_Solr_instances_under_Tomca t > I have been using Jetty on my linux/apache webserver for > about 3 weeks now. > I decided that I should change to Tomcat after realizing I > will be indexing > a lot of URL's and Jetty is good for small production sites > as noted in the > Wiki. I am running into this error: > > > > org.apache.solr.common.SolrException: Schema Parsing Failed > at > org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:656) > at > org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:95) > at > org.apache.solr.core.SolrCore.<init> > > > > My localhost/solr.xml : > > > > <Context docBase="/tomcat/webapps/solr.war" debug="0" > privileged="true" > allowLinking="true" crossContext="true"> > > <Environment name="solr/home" type="java.lang.String" > value="/tomcat/webapps/solr/" override="true" /> > > </Context> > > > > My solrconfig.xml: > > > > <dataDir>${solr.data.dir:/tomcat/webapps/solr/conf}</dataDir> > > I can get to the 8080 Tomcat default page just fine. > I've gone over the > Wiki a couple of dozen times and verified that my solr.xml > is configured > correctly based on trial and error and reading the error > logs. I just can't > figure out where it is going wrong. I read there are three > different ways to > do this. Can someone help me out?