读书人

Solr在Resin中运作

发布时间: 2013-07-08 14:13:00 作者: rapoo

Solr在Resin中运行

503 Server is shutting down


Using log4j with Solr from source, 4.2.1 or earlier

Prior to Solr4.3, using a different SLF4J binding (such as log4j) meant either repackaging the war file or building it yourself from source. To build it yourself, you need to obtain a nightly version or get it from svn. Once it's downloaded, extract it, cd to the solr directory in the extracted directory, then compile it using ant dist-war-excl-slf4j or and dist-excl-slf4j depending on the version.

Here are the jars you will need to put in your container external lib folder, assuming that you get the 1.7 version of slf4j. The last one comes from the log4j website, not slf4j:

slf4j-api-1.7.5.jarslf4j-log4j12-1.7.5.jarjcl-over-slf4j-1.7.5.jarlog4j-1.2.17.jar

读书人网 >开源软件

热点推荐