Return-Path: X-Original-To: apmail-bigtop-user-archive@www.apache.org Delivered-To: apmail-bigtop-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1788E17212 for ; Mon, 29 Sep 2014 19:59:41 +0000 (UTC) Received: (qmail 23032 invoked by uid 500); 29 Sep 2014 19:59:41 -0000 Delivered-To: apmail-bigtop-user-archive@bigtop.apache.org Received: (qmail 22973 invoked by uid 500); 29 Sep 2014 19:59:40 -0000 Mailing-List: contact user-help@bigtop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@bigtop.apache.org Delivered-To: mailing list user@bigtop.apache.org Received: (qmail 22963 invoked by uid 99); 29 Sep 2014 19:59:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 19:59:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.97.132.208] (HELO homiemail-a8.g.dreamhost.com) (208.97.132.208) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 19:59:36 +0000 Received: from homiemail-a8.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a8.g.dreamhost.com (Postfix) with ESMTP id A9FA7D22087 for ; Mon, 29 Sep 2014 12:59:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=amk.ca; h=date:from:to :subject:message-id:reply-to:mime-version:content-type; s=amk.ca ; bh=03Kx49CBQlbW0s6MkFhnfCPlhO4=; b=b4IK0oHQCk5cNDO86g/AAqhmFZc 7D5u00f2tNVrYLupKtw1HvjHjv1M1d65G9YhN7UezyMNZjMQ4aNkn9m4yXcvGZcE jlcpR1/Ldmu8xFdVOGSJbjrAYN8DYD8jOTYvb4rhYS9ptL6r03l9mVLXkX6tHUP0 Z4YEJak8YIZjQT4U= Received: from localhost (cei-gla-cpk2.coxinc.com [66.6.146.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: amk@amk.ca) by homiemail-a8.g.dreamhost.com (Postfix) with ESMTPSA id 602FCD22070 for ; Mon, 29 Sep 2014 12:59:15 -0700 (PDT) Date: Mon, 29 Sep 2014 15:59:12 -0400 From: "A.M. Kuchling" To: user@bigtop.apache.org Subject: 0.8.0: incorrect paths in /usr/lib/solr/tomcat-deployment.sh Message-ID: <20140929195912.GA51688@DATLANDREWK.local> Reply-To: amk@amk.ca MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Checked: Checked by ClamAV on apache.org 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