lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fergus McMenemie <fer...@twig.me.uk>
Subject Trying to run solr-1.3.0 under tomcat 5.5.20 on OS X 10.5.5
Date Wed, 05 Nov 2008 13:39:58 GMT
Hello all,

I downloaded everything and set it up as per the instructions, and while it
does run under jetty, I can not get it to start under tomcat at all. I get 
the following errors. This is with solrconfig.xml straight from the tgz file.

HTTP Status 500 - 
   Severe errors in solr configuration. 
   Check your log files for more detailed information on what may be wrong. 
   If you want solr to continue after configuration errors, 
   change: <abortOnConfigurationError>false</abortOnConfigurationError> in null

   ------------------------------------------------------------- 
java.lang.RuntimeException: java.lang.NoSuchMethodError: 
  org.apache.lucene.index.IndexReader.open(Lorg/apache/lucene/store/Directory;Z)Lorg/apache/lucene/index/IndexReader;

at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:960) 
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:470) 
at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:119) 
at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69)  
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)
 
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)
 
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:77)
 
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3634)  
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)  
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)  
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)  
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)  
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)  
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)  
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)  
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)  
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)  
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
 
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)  
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)  
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)  
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)  
at org.apache.catalina.core.StandardService.start(StandardService.java:450)  
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)  
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 

at java.lang.reflect.Method.invoke(Method.java:585)  
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)  
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432).....

Now I retried the above with solrconfig.xml <abortOnConfigurationError> set to 
false and saw no change. So I was wondering if the config file was not being 
seen. So I renamed the .solr directory to ./solr-not and retried:-

HTTP Status 500 -
   Severe errors in solr configuration. 
   Check your log files for more detailed information on what may be wrong. 
   If you want solr to continue after configuration errors, 
   change: <abortOnConfigurationError>false</abortOnConfigurationError> in null

   ------------------------------------------------------------- 
java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/',
cwd=/usr/local 
at org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:194) 
at org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:162) 
at org.apache.solr.core.Config.<init>(Config.java:100) 
at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:113) 
at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:70) 
at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:117) 
at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69) 
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)

at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:77)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3634) 
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217) 
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) 
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) 
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) 
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809) 
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698) 
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472) 
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122) 
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) 
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021) 
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) 
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) 
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) 
at org.apache.catalina.core.StandardService.start(StandardService.java:450) 
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) 
at org.apache.catalina.startup.Catalina.start(Catalina.java:551) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:585) 
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) 
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) 

So I guess the solrconfig.xml is been seen! Any help gratefully accepted!


-- 

===============================================================
Fergus McMenemie               Email:fergus@twig.me.uk
Techmore Ltd                   Phone:(UK) 07721 376021

Unix/Mac/Intranets             Analyst Programmer
===============================================================

Mime
View raw message