On 5/16/2013 1:40 PM, M. Flatterie wrote:
Oups sorry about that, since it was referring context I thought it was the 
Tomcat one.

Here is the /home/solradm1/solr.xml file (comments removed!)

<?xml version="1.0" encoding="UTF-8" ?>
<solr persistent="true">
     <cores adminPath="/admin/cores" defaultCoreName="WebOrder_Collection" host="${host:}" 
hostPort="8180" hostContext="${hostContext:}" zkClientTimeout="${zkClientTimeout:15000}">
         <core name="WebOrder_Collection" instanceDir="WebOrder_Collection">
             <property name="solr.data.dir" 
value="/home/solradm1/WebOrder_Collection/data" />
             <property name="solr.ulog.dir" 
value="/home/solradm1/WebOrder_Collection/ulog" />
         </core>
     </cores>
</solr>

The hostContext attribute needs changing.  It should be this instead:

hostContext="${hostContext:/solr}"

Looks like the previous version wasn't taking this attribute from your config, but the new version is. This is probably a bug that was fixed in 4.3.

Thanks,
Shawn

Reply via email to