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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to