首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

Solr在Resin中运作

2013-07-08 
Solr在Resin中运行503 Server is shutting downUsing log4j with Solr from source, 4.2.1 or earlierPrio

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

热点排行