0
随着警笛文档介绍,位于tomcat/conf/Catalina/localhost
文件必须将war文件的路径。我曾尝试使用绝对路径,但我想用一个相对路径,因为它不仅是我,谁将会使用警报器。Solr的警笛,siren.xml
siren.xml
<Context docBase="/../../../webapps/siren" debug="0" crossContext="true" >
<Environment name="siren/home" type="java.lang.String" value="/../../../webapps/siren" override="true" />
</Context>
但我跑的Tomcat我得到这个错误:
GRAVE: Error running static resources
java.lang.IllegalArgumentException: Document /webapps/siren does not exist or is not a readable directory
我怎么能成立这个配置?
在此先感谢
感谢。我得到这个错误:无法找到在类路径中的资源“solrconfig.xml中”或“./Users/blancahernandeznieto/tomcat-sony-prot1_A/bin/solr/comicCon/conf/./conf/” – 2012-02-03 09:07:27
我设置的配置: <环境名称= “的solr /家” 类型= “java.lang.String中” 值= “./用户/布兰卡/ Tomcat的/ bin中/ solr的/ coreName/CONF” 重写= “真”/> – 2012-02-03 09:07:43