Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D2296C554 for ; Thu, 5 Jun 2014 13:44:34 +0000 (UTC) Received: (qmail 76370 invoked by uid 500); 5 Jun 2014 13:44:31 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 76294 invoked by uid 500); 5 Jun 2014 13:44:31 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 76284 invoked by uid 99); 5 Jun 2014 13:44:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2014 13:44:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.160.174] (HELO mail-yk0-f174.google.com) (209.85.160.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2014 13:44:28 +0000 Received: by mail-yk0-f174.google.com with SMTP id 9so803492ykp.5 for ; Thu, 05 Jun 2014 06:44:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=WvrGAFOlXMd8ehRmOiBwjhKtH4r+3IeOgr45Lng0PdE=; b=c6k6cswrAFVifUlcWXbUW23CcGaLjQT6bySgIqPu7o6J1VgT5LVkCAq0eVILIVOQ0h ocIc4yoAFVpX4jeykYoXxrsdPqET+qRzhkPNPGAUvC8/vSR3b0H/I0rAMA0EUPfQTtJY BmLj1evwUaVhCfozGCQveieiWSC5yRurRry7YrDLTSCDqkisV1J63Tfkz2yKldQZCegc 1iF+UZO/kpOyYQLFb3E0NyjsVmMBjYwBRw5JKy9TDeaKvMK0+mIAjh1diX0NkNsO8uMr 68ADSJDkODZWt+pfGn44xDg+X1ZKRu5moBpn4akPeLuKcz1zOd7tl2THFrpqIfFHY4ed 43gg== X-Gm-Message-State: ALoCoQlCtylOGtJ80/C4bZhVzNUEjRAJj2VrJtsZ3futv4BNiDTUz9j+/QAOyleLOXRf0schT+BQ MIME-Version: 1.0 X-Received: by 10.236.220.197 with SMTP id o65mr36441886yhp.125.1401975844266; Thu, 05 Jun 2014 06:44:04 -0700 (PDT) Received: by 10.170.41.209 with HTTP; Thu, 5 Jun 2014 06:44:04 -0700 (PDT) In-Reply-To: References: Date: Thu, 5 Jun 2014 14:44:04 +0100 Message-ID: Subject: Re: Solr 4.8.1 on Tomcat 7 cant find solrconfig (Ubuntu) From: Joel Stobart To: solr-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, The file system tree is: =E2=94=9C=E2=94=80=E2=94=80 collection1 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 conf =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 currency.xml =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 data-config.xml =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 dataimport.properties =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 elevate.xml =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 lang =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 contraction= s_ca.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 contraction= s_fr.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 contraction= s_ga.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 contraction= s_it.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 hyphenation= s_ga.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stemdict_nl= .txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stoptags_ja= .txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_a= r.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_b= g.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_c= a.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_c= z.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_d= a.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_d= e.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_e= l.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_e= n.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_e= s.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_e= u.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_f= a.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_f= i.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_f= r.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_g= a.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_g= l.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_h= i.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_h= u.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_h= y.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_i= d.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_i= t.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_j= a.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_l= v.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_n= l.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_n= o.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_p= t.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_r= o.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_r= u.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_s= v.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_t= h.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords_t= r.txt =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 userdict_ja= .txt =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 protwords.txt =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 schema.xml =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 solrconfig.xml =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 stopwords.txt =E2=94=82 =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 synonyms.txt /var/www//search/collection1/conf exists... Cheers, Joel On Thu, Jun 5, 2014 at 1:27 PM, Dmitry Kan wrote: > > bq. The file /var/www//search/collection1/solrconfig.xml does > exist, > the owner is tomcat7 and the permissions are 664 and contains a > configuration that is working on my mac with the same version of solr. > > > The exception is self-explanatory: solr is looking for conf directory > inside collection1 directory. The conf directory must contain > solrconfig.xml and other config files, like schema.xml at least. > > Dmitry > > > On Thu, Jun 5, 2014 at 10:45 AM, Joel Stobart > wrote: > > > I can't get Solr to start up inside a tomcat7 server. Other Wars are > > starting but this one isn't. That's it really. It works on my Mac. The > > bit is a slight redaction, the work is for a client. > > > > I've added a solr.xml file: > > > > > > > value=3D"/var/www//search/" override=3D"true" /> > > > > > > The file /var/www//search/collection1/solrconfig.xml does exi= st, > > the owner is tomcat7 and the permissions are 664 and contains a > > configuration that is working on my mac with the same version of solr. > > > > Catalina log: > > > > Jun 02, 2014 4:45:59 PM org.apache.catalina.startup.HostConfig > > deployDescriptor > > INFO: Deploying configuration descriptor > > /etc/tomcat7/Catalina//solr.xml > > > > org.apache.solr.core.CoreContainer:null:org.apache.solr.common.SolrExce= ption: > > Unable to create core: collection1 > > at > > org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:91= 1) > > at org.apache.solr.core.CoreContainer.create(CoreContainer.java:568= ) > > at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:261= ) > > at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:253= ) > > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > > at > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.ja= va:1145) > > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j= ava:615) > > at java.lang.Thread.run(Thread.java:744) > > Caused by: org.apache.solr.common.SolrException: Could not load core > > configuration for core collection1 > > at > > org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:6= 6) > > at org.apache.solr.core.CoreContainer.create(CoreContainer.java:554= ) > > ... 8 more > > Caused by: org.apache.solr.common.SolrException: Error loading solr > > config from /var/www//search/collection1/solrconfig.xml > > at > > org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:= 148) > > at > > org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService= .java:79) > > at > > org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:6= 1) > > ... 9 more > > Caused by: java.io.IOException: Can't find resource 'solrconfig.xml' > > in classpath or '/var/www//search/collection1/con*f*' > > at > > org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader= .java:362) > > at > > org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.j= ava:308) > > at org.apache.solr.core.Config.(Config.java:116) > > at org.apache.solr.core.Config.(Config.java:86) > > at org.apache.solr.core.SolrConfig.(SolrConfig.java:161) > > at > > org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:= 144) > > ... 11 more > > > > Any ideas? > > > > Cheers, > > > > Joel Stobart > > > > > > -- > Dmitry Kan > Blog: http://dmitrykan.blogspot.com > Twitter: http://twitter.com/dmitrykan --=20 Regards, Joel Stobart Chief Technology Officer E: joel@custodiansolutions.com M: 07799 416 514 Company No. 08583145. Registered Office: 129A Middleton Boulevard, Wollaton Park, Nottingham, UK, NG8 1FW This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this in error please notify us by email on info@custodiansolutions.com.