Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F6C010AA0 for ; Tue, 4 Mar 2014 22:41:47 +0000 (UTC) Received: (qmail 27146 invoked by uid 500); 4 Mar 2014 22:41:41 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 27032 invoked by uid 500); 4 Mar 2014 22:41:40 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 27024 invoked by uid 99); 4 Mar 2014 22:41:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2014 22:41:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of solr@elyograg.org designates 166.70.79.219 as permitted sender) Received: from [166.70.79.219] (HELO frodo.elyograg.org) (166.70.79.219) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2014 22:41:34 +0000 Received: from localhost (localhost [127.0.0.1]) by frodo.elyograg.org (Postfix) with ESMTP id E4FE37A5F for ; Tue, 4 Mar 2014 15:41:11 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=elyograg.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=mail; t=1393972871; bh=jhuIhhlgyjbUbjq3/V6Msginc3l4Wu5aQEi2k7wme6M=; b=PcWmIkUQs9Gx GUqG6UHCKzvFaP++hRn0EhDbDlQolyfBggNMgnDSU/TRpvbrv70+tGDNnDpoLoIz Pb+eKfm/fz3hlfkOhHR9wHDXwMYyuEYaXAj9862MJ6gR8rvpPI5g+JotWkFR7EsN hGPhhVuV4PBs7Pb+XCCdVDfdqy7+FIk= X-Virus-Scanned: Debian amavisd-new at frodo.elyograg.org Received: from frodo.elyograg.org ([127.0.0.1]) by localhost (frodo.elyograg.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id QIH1UG0JQjnV for ; Tue, 4 Mar 2014 15:41:11 -0700 (MST) Received: from [10.2.0.182] (client175.mainstreamdata.com [209.63.42.175]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: elyograg@elyograg.org) by frodo.elyograg.org (Postfix) with ESMTPSA id 4046E232F for ; Tue, 4 Mar 2014 15:41:11 -0700 (MST) Message-ID: <53165686.7000504@elyograg.org> Date: Tue, 04 Mar 2014 15:41:10 -0700 From: Shawn Heisey User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: solr-user@lucene.apache.org Subject: Re: SolrCloud Startup References: <539ae3aef553ae933e2038ab356e6340.squirrel@admin.elyograg.org> <530D3185.7030809@elyograg.org> <531505B3.2030308@elyograg.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 3/4/2014 3:09 PM, KNitin wrote: > I did the following as you suggested. I have a lib dir under /mnt/solr/ > (this is the solr.solr.home dir) and moved all my jars in it. I do not have > anySharedLib or lib references in my solr or solrconfig. xml file > > The jars are not getting loaded for a few custom analyzers I have in the > schema. > > Should I specify anywhere to use /mnt/solr/lib/ as the lib path to use > anywhere? The solr home is where solr.xml lives. So if /mnt/solr is that location, then that would be where you want solr home to point. Generally your core directories are also in solr.home, but if you've customized the locations, that may not be true. In 4.3 and later, the lib directory under the solr home is automatically added to the classpath. Also in that version, if you *do* explicitly include it, it won't work right -- which is what prompted me to file SOLR-4852. The symptoms were that the jars would get loaded (twice, actually), but the classes were not actually available. Thanks, Shawn