Installing Solr on Tomcat on Windows, Error Solr SEVERE: Error filterStart
Join the DZone community and get the full member experience.Join For Free
if you are used to installing solr in a windows environment and you install for the first time a version greater than 4.2.1 , you can have trouble in letting your solr server start. the symptom is: service is stopped in tomcat application manager and if you press start you got a simple error telling you that the application could not start .
to troubleshoot these kind of problems, you can go to tomcat log directory and looking at catilina log, but usually you probably find a little information there.
mar 06, 2014 7:02:07 pm org.apache.catalina.core.standardcontext startinternal severe: error filterstart mar 06, 2014 7:02:07 pm org.apache.catalina.core.standardcontext startinternal severe: context [/solr47] startup failed due to previous errors
the reason of this is a change in the logging subsystem done in version 4.2.1, that is explained in the installation guide: switching from log4j back to jul . i’ve blogged about this problem in the past, but it seems to still bite some person so it worth spending another post on the subject. the solution is in the above link, but essentially you should open the folder where you unzipped solr distribution, go to the solr/example/ext and copy all jar files you find there inside tomcat lib subdirectory .
figure 1: jar files needed by solr to start
after you copied these jar files into tomcat lib directory you should restart tomcat and now solr should starts without problem .
figure 2: et voilà, solr is started.
Published at DZone with permission of Ricci Gian Maria, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
What Is React? A Complete Guide
Low Code vs. Traditional Development: A Comprehensive Comparison
Best Practices for Securing Infrastructure as Code (Iac) In the DevOps SDLC
Deep Q-Learning Networks: Bridging the Gap from Virtual Games to Real-World Applications