Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 80383200B23 for ; Sun, 19 Jun 2016 11:17:35 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7EBD2160A53; Sun, 19 Jun 2016 09:17:35 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C8362160A07 for ; Sun, 19 Jun 2016 11:17:34 +0200 (CEST) Received: (qmail 28037 invoked by uid 500); 19 Jun 2016 09:17:33 -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 28025 invoked by uid 99); 19 Jun 2016 09:17:32 -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; Sun, 19 Jun 2016 09:17:32 +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 49349C0F69 for ; Sun, 19 Jun 2016 09:17:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 XlVMhantr-dw for ; Sun, 19 Jun 2016 09:17:30 +0000 (UTC) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C3DE55F4ED for ; Sun, 19 Jun 2016 09:17:29 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id a66so40439774wme.0 for ; Sun, 19 Jun 2016 02:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=2ZXPoKABjUtFhYO3cMtCYoRNXlgwI8pD4mwyvQ4jcLI=; b=zbrzF2DP7DW8IyX01FTfHzbYtBhS3gYztnojR/8lUzpmthjYXcd95waOBkY1RhdhP5 YUJaOsK9ywqOM+5gvIQcyNvKtlsK+NXTG0CqkGpfNyXHv+gHMAF1ADIXF550QF0seDKX oegV4GRwCx3plxcVODiGQfMO8mkYW1jlcMoz89m67gdobd8fPhq4fGaWMTusMD7W3hi/ SGC/CUkiZriF+l4uJDGJ6TASWjpRCG8z+1ry4GDE79kZ47xTrhZw6JRJ3nMZTuD+aw7y sS8DuAeiiVOLZl8wtzqYlR1r2XZlQL9OJOGKzAm7YA0EFZG3xFtxl0RJvEZjm7hxPOHA Dwnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=2ZXPoKABjUtFhYO3cMtCYoRNXlgwI8pD4mwyvQ4jcLI=; b=aJoA0lE9aEEOocCWsALKSqbUXQTqF6EC+u1BxWK5qNAsfHEoU8zxqrDZEX9fMnBzXD infxvmzxzQH0m/l37rac1bcaW5UcHtHI8TTpYZddJt9Ffrszn2wHCY0715xPykujN4ua +tpTA6cwTUycfhOdYXd7Ck5kzGu+msVp59jPuc7yUdS2bR417ikhtOxWfkHQmb3Nf/HR XgNK5CQgbh7HxDh/mP2Q+Mlg9nBrsU/idh4IcJSfzKUkpyHiS0x70QAqz8Rhw3pRi/UL jh8BH7lSEbCd1iqHBz7iT7q1hlPySeDpei8pFK13nfmNkLf18ldRgXHvQSo4zr+EdQHV DtmA== X-Gm-Message-State: ALyK8tIkigQVNIQ+RZZAxIHikbRzna2eM3BBpds9ZyyTWJqZRy/fBb4sxdBe7OXxdUA3rlK6qQD3jFGIYrnQ0g== X-Received: by 10.28.184.77 with SMTP id i74mr6246965wmf.66.1466327843189; Sun, 19 Jun 2016 02:17:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.65.5 with HTTP; Sun, 19 Jun 2016 02:17:22 -0700 (PDT) In-Reply-To: <8f906d08-42a1-a281-3d42-aa54beb4f25a@elyograg.org> References: <8f906d08-42a1-a281-3d42-aa54beb4f25a@elyograg.org> From: danny teichthal Date: Sun, 19 Jun 2016 12:17:22 +0300 Message-ID: Subject: Re: SOLR war for SOLR 6 To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a114b308037b95405359e0e60 archived-at: Sun, 19 Jun 2016 09:17:35 -0000 --001a114b308037b95405359e0e60 Content-Type: text/plain; charset=UTF-8 If you are running on tomcat you will probably have a deployment problem. On version 5.2.1 it worked fine for me, I manually packaged solr.war on build time. But, when trying to upgrade to Solr 5.5.1, I had problems with incompatible servlet-api of Solr's jetty version and my tomcat servlert-api. Solr code explicitly use some new methods that existed in the Jetty, but not in my tomcat. For me it was a no-go, from all the reasons that Shawn stated. On Sat, Jun 18, 2016 at 12:26 AM, Shawn Heisey wrote: > On 6/16/2016 1:20 AM, Bharath Kumar wrote: > > I was trying to generate a solr war out of the solr 6 source, but even > > after i create the war, i was not able to get it deployed correctly on > > jboss. Wanted to know if anyone was able to successfully generate solr > > war and deploy it on tomcat or jboss? Really appreciate your help on > > this. > > FYI: If you do this, you're running an unsupported configuration. > You're on your own for both getting it working AND any problems that are > related to the deployment rather than Solr itself. > > You actually don't need to create a war. Just run "ant clean server" in > the solr directory of the source code and then install the exploded > webapp (found in server/solr-webapp/webapp) into the container. There > should be instructions available for how to install an exploded webapp > into tomcat or jboss. As already stated, you are on your own for > finding and following those instructions, and if Solr doesn't deploy, > you will need to talk to somebody who knows the container for help. > Once they are sure you have the config for the container right, they may > refer you back here ... but because it's an unsupported config, the > amount of support we can offer is minimal. > > https://wiki.apache.org/solr/WhyNoWar > > If you want the admin UI to work when you install into a user-supplied > container, then you must set the context path for the app to "/solr". > The admin UI in 6.x will not work if you use another path, and that is > not considered a bug, because the only supported container has the path > hardcoded to /solr. > > Thanks, > Shawn > > --001a114b308037b95405359e0e60--