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 19AD218893 for ; Tue, 1 Mar 2016 01:05:45 +0000 (UTC) Received: (qmail 97609 invoked by uid 500); 1 Mar 2016 01:05:42 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 97532 invoked by uid 500); 1 Mar 2016 01:05:42 -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 97520 invoked by uid 99); 1 Mar 2016 01:05:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2016 01:05:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 5C0A5C3138 for ; Tue, 1 Mar 2016 01:05:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.806 X-Spam-Level: * X-Spam-Status: No, score=1.806 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_BL=0.01, RCVD_IN_MSPIKE_L3=1.899, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=elyograg.org Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id O__3hDKBk5aP for ; Tue, 1 Mar 2016 01:05:40 +0000 (UTC) Received: from frodo.elyograg.org (frodo.elyograg.org [166.70.79.219]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 488035FAE1 for ; Tue, 1 Mar 2016 01:05:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by frodo.elyograg.org (Postfix) with ESMTP id 15A3943C4 for ; Mon, 29 Feb 2016 18:05:30 -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 :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received:received; s=mail; t= 1456794329; bh=vmLcL+M4dOv5aUNWtlTit3KdWq4hMU2qx4NThhFL3II=; b=A EAMk7CgDMNxKKc86m00mYivRoDAVvZPYYpRD0HJjELh6s/uIdkvgSxvoEjdEW3FJ OjnNxBdq+gCEDMUvekw5+9/okMCQLlQ8v7xw+XX0lkbk+h1nLL5uEQXBylhXFRA0 1x+jKyzl+rd+xRndL+r9w/1LvXNktT73hkHh+UXPWg= 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 BfoTzP6vw4kZ for ; Mon, 29 Feb 2016 18:05:29 -0700 (MST) Received: from [10.2.0.108] (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 46A1C905 for ; Mon, 29 Feb 2016 18:05:29 -0700 (MST) Subject: Re: How to deploy Solr 5.5 in Tomcat 8 To: solr-user@lucene.apache.org References: From: Shawn Heisey Message-ID: <56D4EAD6.90103@elyograg.org> Date: Mon, 29 Feb 2016 18:05:26 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 2/29/2016 4:09 PM, Marcin T wrote: > Since Solr 5.x there is no web archive (war) in standard distribution. > So I'm building a web archive (war) and I'm deploying it in my Tomcat > 8 container. It works to Solr 5.3. Since Solr 5.4 it doesn't works > How can I solve this problem? Don't deploy in Tomcat. Yes, I'm completely serious. Since 5.0, the project no longer supports deploying in third-party containers. https://cwiki.apache.org/confluence/display/solr/Major+Changes+from+Solr+4+to+Solr+5#MajorChangesfromSolr4toSolr5-SolrisNowaStandaloneServer If you really want to deploy version 5.5 in Tomcat, ask somebody in a Tomcat support location how to deploy an exploded webapp (not a .war file). Basically, you need to do the equivalent of the following (this is the Jetty context fragment used in Solr 5.x): /solr-webapp/webapp /etc/webdefault.xml false I also built this community wiki page: https://wiki.apache.org/solr/WhyNoWar#Solr_5.3_and_later Thanks, Shawn