Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 67497 invoked from network); 14 Nov 2007 20:43:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2007 20:43:35 -0000 Received: (qmail 91658 invoked by uid 500); 14 Nov 2007 20:43:10 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 91635 invoked by uid 500); 14 Nov 2007 20:43:10 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 91624 invoked by uid 99); 14 Nov 2007 20:43:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 12:43:10 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 20:44:05 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IsP4W-0003xk-Bo for users@tomcat.apache.org; Wed, 14 Nov 2007 12:42:52 -0800 Message-ID: <13756099.post@talk.nabble.com> Date: Wed, 14 Nov 2007 12:42:52 -0800 (PST) From: Leonardo Pinho To: users@tomcat.apache.org Subject: Re: Redeploy issues loading contents from some .jar at WEB-INF/lib In-Reply-To: <13750147.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: leonardo.pinho@gmail.com References: <13750147.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I found other post with the same error and no solution: http://www.nabble.com/war-redeployment-problem-tf55365.html#a148508 Thanks, Leonardo Leonardo Pinho wrote: > > Hi, > > I'm getting some errors when I do redeploy of a spring application at > Tomcat. This web app loads some content from a jar file (at > WEB-INF/lib/common.jar): > > Offending resource: ServletContext resource > [/WEB-INF/applicationContext.xml]; nested exception is > org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected > exception parsing XML document from ServletContext resource > [/WEB-INF/spring/commonContext.xml]; nested exception is > java.lang.InternalError: jzentry == 0, > jzfile = 1607179080, > total = 152, > name = > /usr/local/apache-tomcat-5.5.20/work/Catalina/localhost/DepositEngineTRANS/WEB-INF/lib/common.jar, > i = 15, > message = invalid LOC header (bad signature) > at > org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter > ... > Caused by: java.lang.InternalError: jzentry == 0, > jzfile = 1607179080, > total = 152, > name = > /usr/local/apache-tomcat-5.5.20/work/Catalina/localhost/DepositEngineTRANS/WEB-INF/lib/common.jar, > i = 15, > message = invalid LOC header (bad signature) > at java.util.zip.ZipFile$3.nextElement(ZipFile.java:429) > > > After stop/start Tomcat: > > - If I just redeploy, without update the WAR, it works! > > - If I update the WAR (some servlet code p.ex.) without update common.jar > (keep the same jar) and redeploy, it works! > > - If I update the WAR and update common.jar (different version of the jar) > and redeploy, it does NOT work! > > I'm using Tomcat 5.5.20 on Red Hat Linux... > > Thanks, > Leonardo > > -- View this message in context: http://www.nabble.com/Redeploy-issues-loading-contents-from-some-.jar-at-WEB-INF-lib-tf4806222.html#a13756099 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org