Return-Path: X-Original-To: apmail-lucene-general-archive@www.apache.org Delivered-To: apmail-lucene-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8CBC27F96 for ; Wed, 17 Aug 2011 20:37:03 +0000 (UTC) Received: (qmail 78042 invoked by uid 500); 17 Aug 2011 20:36:59 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 77723 invoked by uid 500); 17 Aug 2011 20:36:58 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 77706 invoked by uid 99); 17 Aug 2011 20:36:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 20:36:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of erik.hatcher@gmail.com designates 209.85.212.48 as permitted sender) Received: from [209.85.212.48] (HELO mail-vw0-f48.google.com) (209.85.212.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 20:36:49 +0000 Received: by vws7 with SMTP id 7so1547118vws.35 for ; Wed, 17 Aug 2011 13:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=pwDwS74n++GpRgdtPOM+PwWrLWSLmLsb0Tfno91ITOQ=; b=cFqZTm9RBosc0em132GjYz8pHnRvQDtc+ydIklQ+r/MFyfk7XNuwLSRpNsm5cZFT5m bzfl/qYspw1zw9vmeVV1hq2ypILYcF43osSaveJzcpKb06D8j2JxOAhVOKT3YdBNYX12 K3t58G+FUrDOWsqC39xUaZiQHSGEAJQJ857oI= Received: by 10.52.20.228 with SMTP id q4mr1349106vde.498.1313613388889; Wed, 17 Aug 2011 13:36:28 -0700 (PDT) Received: from [10.0.1.11] (c-24-125-38-32.hsd1.va.comcast.net [24.125.38.32]) by mx.google.com with ESMTPS id g19sm957973vcl.12.2011.08.17.13.36.26 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Aug 2011 13:36:27 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Error deploying solr.war into Jboss7 From: Erik Hatcher In-Reply-To: Date: Wed, 17 Aug 2011 16:36:25 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1313460172340-3257461.post@n3.nabble.com> To: general@lucene.apache.org, solr-user@lucene.apache.org X-Mailer: Apple Mail (2.1084) For the record, I'm starting work now on moving the Velocity response = writer back to a contrib module so these dependencies won't be embedded = in the WAR file (after I make the commit this week some time, most = likely). Erik On Aug 17, 2011, at 15:35 , Chris Hostetter wrote: >=20 > : Caused by: = org.jboss.as.server.deployment.DeploymentUnitProcessingException: > : failed to process > : = "/opt/jboss-as-web-7.0.0.Final/standalone/deployments/solr.war/WEB-INF/lib= /velocity-tools-2.0.jar" > ... > : Caused by: java.util.zip.ZipException: error in opening zip file > : at java.util.zip.ZipFile.open(Native Method) [:1.6.0_26] >=20 > That's weird. >=20 > : The only way I found that I could deploy the solr.war was to remove = the > : velocity-tools-2.0.jar from the solr.war/WEB-INF/lib directory. > : I am not sure this is the right fix. Should this be reported as a = bug to > : SOLR or to jBoss? > : I have already posted this error to the jBoss community forum. >=20 > have you tried inspecting that velocity-tools-2.0.jar file with the = "jar"=20 > tool, or a regular zip program to see if there is infact a problem = with=20 > it? did it get corrupted somehow? does it match what you find if you=20= > manually extract that file directly from the solr.war? >=20 > PS: please send replies to the solr-user@lucene mailing list instead = of=20 > general@lucene ... it is more appropriate for this type of question. >=20 >=20 >=20 > -Hoss