Thank you. I had evidently misunderstood where it needed to be copied to. That helped, though that directory already contained all but one file.
On Wed, Apr 16, 2014 at 12:45 PM, David Santamauro < david.santama...@gmail.com> wrote: > > You need to copy <solr>/example/lib/ext/*.jar into your tomcat lib > directory (/usr/share/tomcat/lib) > > Also make sure a /usr/share/tomcat/conf/log4j.properties is there as well. > > ... then restart. > > HTH > > David > > > > On 4/16/2014 11:47 AM, Arthur Pemberton wrote: > >> I am trying Solr for the first time, and I am stuck at the error "SEVERE: >> Error filterStart" >> >> My setup: >> - Centos 6.x >> - OpenJDK 1.7 >> - Tomcat 7 >> >> From reading [1] I believe the issue is missing JAR files, but I have no >> idea where to put them, even the wiki is a bit vague on that. >> >> Lib directories that I am aware of >> - /usr/share/tomcat/lib (for tomcat) >> - /opt/solr/example/solr/collection1/lib (for my instance) >> >> >> This is the error I get: >> >> Apr 15, 2014 11:35:36 PM org.apache.catalina.core.StandardContext >> filterStart >> SEVERE: Exception starting filter SolrRequestFilter >> java.lang.NoClassDefFoundError: Failed to initialize Apache Solr: Could >> not >> find necessary SLF4j logging jars. If using Jetty, the SLF4j logging jars >> need to go in the jetty lib/ext directory. For other containers, the >> corresponding directory should be used. For more information, see: >> http://wiki.apache.org/solr/SolrLogging >> at >> org.apache.solr.servlet.CheckLoggingConfiguration.check( >> CheckLoggingConfiguration.java:28) >> at >> org.apache.solr.servlet.BaseSolrFilter.<clinit>(BaseSolrFilter.java:31) >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >> Method) >> at >> sun.reflect.NativeConstructorAccessorImpl.newInstance( >> NativeConstructorAccessorImpl.java:57) >> at >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance( >> DelegatingConstructorAccessorImpl.java:45) >> at java.lang.reflect.Constructor.newInstance(Constructor.java: >> 526) >> at java.lang.Class.newInstance(Class.java:374) >> at >> org.apache.catalina.core.DefaultInstanceManager.newInstance( >> DefaultInstanceManager.java:134) >> at >> org.apache.catalina.core.ApplicationFilterConfig.getFilter( >> ApplicationFilterConfig.java:256) >> at >> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef( >> ApplicationFilterConfig.java:382) >> at >> org.apache.catalina.core.ApplicationFilterConfig.<init> >> (ApplicationFilterConfig.java:103) >> at >> org.apache.catalina.core.StandardContext.filterStart( >> StandardContext.java:4650) >> at >> org.apache.catalina.core.StandardContext.startInternal( >> StandardContext.java:5306) >> at >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >> at >> org.apache.catalina.core.ContainerBase.addChildInternal( >> ContainerBase.java:901) >> at >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >> at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) >> at >> org.apache.catalina.startup.HostConfig.deployDescriptor( >> HostConfig.java:657) >> at >> org.apache.catalina.startup.HostConfig$DeployDescriptor. >> run(HostConfig.java:1637) >> 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.java:1145) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run( >> ThreadPoolExecutor.java:615) >> at java.lang.Thread.run(Thread.java:744) >> >> I would like to get past this so I can try out Solr. >> >> I have gone as far as putting `<lib >> dir="/opt/solr/example/solr/collection1/lib/" regex="*\.jar" />` >> into /opt/solr/example/solr/collection1/conf/solrconfig.xml but that did >> not help. >> >> I have used Java before, but purely for academic purposes, so I do not >> have >> experience resolving these dependencies. >> >> ---- >> >> [1] https://wiki.apache.org/solr/SolrLogging >> >> -- Fedora 13 (www.pembo13.com)