bigtop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Boudnik <...@boudnik.org>
Subject Re: 0.8.0: incorrect paths in /usr/lib/solr/tomcat-deployment.sh
Date Mon, 29 Sep 2014 21:06:11 GMT
Could you open a JIRA for that? Thanks a lot!
--
  Take care,
Konstantin (Cos) Boudnik


On Mon, Sep 29, 2014 at 12:59 PM, A.M. Kuchling <amk@amk.ca> wrote:
> At my workplace we're using Solr 4.5 as packaged in Bigtop 0.7.0.
>
> Today I was trying out the Solr 4.9 from the 0.8.0 RC, and it looks
> like some paths have changed.  In /usr/lib/solr/tomcat-deployment.sh
> there are two lines:
>
> cp -r ${SOLR_HOME}/webapps ${TOMCAT_DEPLOYMENT}/webapps
> cp -r ${TOMCAT_CONF}/WEB-INF/* ${TOMCAT_DEPLOYMENT}/webapps/solr/WEB-INF/
>
> I found that to actually get a working Solr setup, I needed to change
> these two lines to:
>
> cp -r ${SOLR_HOME}/server/webapps ${TOMCAT_DEPLOYMENT}/webapps
> cp -r ${SOLR_HOME}/server/webapps/solr/WEB-INF/* ${TOMCAT_DEPLOYMENT}/webapps/solr/WEB-INF/
>
> Also, /usr/lib/solr/bin/zkcli.sh doesn't run, probably due to a similar
> rearrangement:
>
> [ec2-user@ip-X-Y-Z-W ~]$ /usr/lib/solr/bin/zkcli.sh
> unzip:  cannot find or open /usr/lib/solr/bin/../../webapps/solr.war, /usr/lib/solr/bin/../../webapps/solr.war.zip
or /usr/lib/solr/bin/../../webapps/solr.war.ZIP.
> Error: Could not find or load main class org.apache.solr.cloud.ZkCLI
>
> There's no solr.war file in solr-4.9.0.466-1.el6.noarch; the file is
> now /usr/lib/solr/solr-4.9.0.war and nothing seems to create a
> solr.war symlink.
>
> --amk

Mime
View raw message