07-30-2023, 02:11 PM
**EDIT**
I've written up a quick howto on getting multicore going:
Following instructions from the two sites below, I've installed [Tomcat][1] 6 and [Solr][2] 1.4.
*
I have successfully got it up and running on a server running 9.04 with multicore support, but on the 10.04 I can't seem to get it to work.
I am able to reach localhost:xxxx/solr/ on the 10.04 box and see a single link to the Solr Admin, but following the link takes me to a 404 page with the following output:
/solr/admin/
HTTP Status 404 - missing core name in path
The requested resource (missing core name in path) is not available
I am also unable to access /solr/site1/ as I would except - it similarly returns a 404.
<!-- from /var/solr/solr.xml, site dirs exist -->
<cores adminPath="/admin/cores">
<core name="site1" instanceDir="site1" />
<core name="site2" instanceDir="site2" />
</cores>
<!-- from /etc/tomcat6/Catalina/localhost/solr.xml -->
<Context docBase="/var/solr/solr.war" debug="0" privileged="true" allowLinking="true" crossContext="true">
<Environment name="solr/home" type="java.lang.String" value="/var/solr" override="true" />
</Context>
[1]:
I've written up a quick howto on getting multicore going:
[To see links please register here]
Following instructions from the two sites below, I've installed [Tomcat][1] 6 and [Solr][2] 1.4.
*
[To see links please register here]
*[To see links please register here]
I have successfully got it up and running on a server running 9.04 with multicore support, but on the 10.04 I can't seem to get it to work.
I am able to reach localhost:xxxx/solr/ on the 10.04 box and see a single link to the Solr Admin, but following the link takes me to a 404 page with the following output:
/solr/admin/
HTTP Status 404 - missing core name in path
The requested resource (missing core name in path) is not available
I am also unable to access /solr/site1/ as I would except - it similarly returns a 404.
<!-- from /var/solr/solr.xml, site dirs exist -->
<cores adminPath="/admin/cores">
<core name="site1" instanceDir="site1" />
<core name="site2" instanceDir="site2" />
</cores>
<!-- from /etc/tomcat6/Catalina/localhost/solr.xml -->
<Context docBase="/var/solr/solr.war" debug="0" privileged="true" allowLinking="true" crossContext="true">
<Environment name="solr/home" type="java.lang.String" value="/var/solr" override="true" />
</Context>
[1]:
[To see links please register here]
[2]:[To see links please register here]