lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sunnyfr <johanna...@gmail.com>
Subject Re: Any idea ??? I'm lost .... Thanks
Date Wed, 01 Oct 2008 15:20:07 GMT

I have solrconfig.xml in my folder /data/solr/books/conf/
and I've multicore.xml in /data/solr/
<?xml version="1.0" encoding="UTF-8" ?>
<multicore adminPath="/admin/multicore" persistent="true" sharedLib="lib" >
  <core name="video" instanceDir="books" default="true" />
  <core name="group" instanceDir="group" />
  <core name="user" instanceDir="user" />
</multicore>

otherwise I've my solr.xml in /etc/tomcat5.5/Catalina/localhost/solr.xml
<Context path="/solr" docBase="/data/solr/solr.war" debug="0"
crossContext="true" >
   <Environment name="solr/home" type="java.lang.String" value="/data/solr"
override="true" />
</Context>

and then I start tomcat5.5 ... do I miss something ?


Brendan Grainger-2 wrote:
> 
> Hi,
> 
> I think:
> 
> Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/'
> 
> is a major clue no? Do you actually have a solrconfig.xml and how are  
> you starting solr?
> 
> Regards
> Brendan
> 
> On Oct 1, 2008, at 11:11 AM, sunnyfr wrote:
> 
>>
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: eaa main
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.solr.servlet.SolrServlet init INFO: SolrServlet.init()
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.solr.servlet.SolrServlet init INFO: SolrServlet.init() done
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.solr.servlet.SolrUpdateServlet init INFO:
>> SolrUpdateServlet.init() done
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web
>> application archive apache-solr-1.3-dev.war
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.solr.servlet.SolrDispatchFilter init INFO:
>> SolrDispatchFilter.init()
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.solr.core.SolrResourceLoader locateInstanceDir INFO: No
>> /solr/home in JNDI
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.solr.core.SolrResourceLoader locateInstanceDir INFO: solr  
>> home
>> defaulted to 'solr/' (could not find system property or JNDI)
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.solr.servlet.SolrDispatchFilter initMultiCore INFO:  
>> looking for
>> multicore.xml: /solr/multicore.xml
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.solr.core.SolrResourceLoader locateInstanceDir INFO: No
>> /solr/home in JNDI
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.solr.core.SolrResourceLoader locateInstanceDir INFO: solr  
>> home
>> defaulted to 'solr/' (could not find system property or JNDI)
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.solr.core.SolrResourceLoader <init> INFO: Solr home set to
>> 'solr/'
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.solr.core.SolrResourceLoader createClassLoader INFO:  
>> Reusing
>> parent classloader
>> Oct  1 16:45:10 solr-test jsvc.exec[23757]: Oct 1, 2008 4:45:10 PM
>> org.apache.solr.servlet.SolrDispatchFilter init SEVERE: Could not  
>> start
>> SOLR. Check solr/home property java.lang.RuntimeException: Can't find
>> resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=/ ^Iat
>> org 
>> .apache 
>> .solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java: 
>> 168)
>> ^Iat
>> org 
>> .apache 
>> .solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:136)
>> ^Iat org.apache.solr.core.Config.<init>(Config.java:97) ^Iat
>> org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:108) ^Iat
>> org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:65) ^Iat
>> org 
>> .apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java: 
>> 89)
>> ^Iat
>> org 
>> .apache 
>> .catalina 
>> .core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java: 
>> 221)
>> ^Iat
>> org 
>> .apache 
>> .catalina 
>> .core 
>> .ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java: 
>> 302)
>> ^Iat
>> org 
>> .apache 
>> .catalina 
>> .core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)
>> ^Iat org.apache.catalina.core
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Any-idea-----I%27m-lost-....-Thanks-tp19762598p19762598.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Any-idea-----I%27m-lost-....-Thanks-tp19762598p19762761.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message