tomcat6 not run solr4.9 on centos : Application at context path /solr could not be started -



tomcat6 not run solr4.9 on centos : Application at context path /solr could not be started -

i next this instructions, didn't work.

i utilize tomcat6 , solr4.9 on centos.

tomcat run perfect, when press start solr in tomcat web application manager, message appear:

fail - application @ context path /solr not started

in /solr i've

in web.xml have :

<env-entry> <env-entry-name>solr/home</env-entry-name> <env-entry-value>/home/solr</env-entry-value> <env-entry-type>java.lang.string</env-entry-type> </env-entry>

this in error log:

jun 26, 2014 4:34:30 pm org.apache.jk.common.channelsocket init info: jk: ajp13 listening on /0.0.0.0:8009 jun 26, 2014 4:34:30 pm org.apache.jk.server.jkmain start info: jk running id=0 time=0/25 config=null jun 26, 2014 4:34:30 pm org.apache.catalina.startup.catalina start info: server startup in 1045 ms jun 26, 2014 4:34:51 pm org.apache.catalina.core.standardcontext start severe: error filterstart jun 26, 2014 4:34:51 pm org.apache.catalina.core.standardcontext start severe: context [/solr] startup failed due previous errors root@server.smarttags-lab.com [conf]#

the error:

application @ context path /solr not started.

is general, should more specific error farther in localhost log.

the mutual issue misconfiguration of solr (assuming files in right place) not placing necessary slf4j logging jars java class folder hence apache solr failed initialize.

if that's case, need re-create slf4j logging jars <solr>/example/lib/ext/*.jar tomcat lib (e.g. tomcat_home/lib, /usr/share/tomcat/lib) or webapp lib directory (e.g. tomcat_home/webapps/solr/web-inf/lib). these jars set slf4j , log4j. if you're using jetty, these slf4j logging jars need go in jetty lib/ext directory. other containers, corresponding directory should used, check solrlogging page farther information.

see: how prepare solr exception: not find necessary slf4j logging jars? more details.

solr centos tomcat6 solr4

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -