You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sergey Pariev <eg...@tnet.dp.ua> on 2005/06/07 15:39:30 UTC

war redeployment problem

Hello.
    Sometimes while redeploing my app in tomcat I'm getting the 
following error in catalina.out :

ERROR [ContainerBackgroundProcessor[StandardEngine[Catalina]]] 
ContextLoader.initWebApplicationContext(182) | Context initialization 
failed
java.lang.InternalError: jzentry == 0,
 jzfile = 141476144,
 total = 41,
 name = /home/serega/tomcat/webapps/pcc/WEB-INF/lib/pcc-dao.jar,
 i = 9,
 message = invalid LOC header (bad signature)
        at java.util.zip.ZipFile$3.nextElement(ZipFile.java:430)
        at java.util.zip.ZipFile$3.nextElement(ZipFile.java:416)
        at java.util.jar.JarFile$1.nextElement(JarFile.java:214)
        at java.util.jar.JarFile$1.nextElement(JarFile.java:213)
        at 
org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(PathMatchingResourcePatternResolver.java:322) 



It can be cured only by restarting tomcat and happens 2 or 3 times a day 
on regular basis.

I'm using Tomcat 5.0.29 and set reloadable="true" in context.xml. I 
think  it is issue with tomcat prematurely reloading wars, but I'm not 
completely sure. I've searched tomcat-user mailing list on this error 
but haven't found anything useful (a couple of unanswered posts  - for 
example,
http://marc.theaimsgroup.com/?l=tomcat-user&m=111398635120733&w=2 and 
http://marc.theaimsgroup.com/?l=tomcat-user&m=101183791105101&w=2
).
I also asked this question in Appfuse mailing list 
(https://appfuse.dev.java.net/servlets/ReadMsg?listName=users&msgNo=6997) 
and it looks like no one really knows how to workaround it.

Is this problem can be solved somehow or may be I should post this as a 
bug in Bugzilla ?

Thanks in advance, Sergey

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: war redeployment problem

Posted by Leonardo Pinho <le...@gmail.com>.
I've got the same problem... 
http://www.nabble.com/Redeploy-issues-loading-contents-from-some-.jar-at-WEB-INF-lib-tf4806222.html
http://www.nabble.com/Redeploy-issues-loading-contents-from-some-.jar-at-WEB-INF-lib-tf4806222.html 

Did you find any solution?

Thanks,
Leonardo


Sergey Pariev-3 wrote:
> 
> Caldarale, Charles R ?????:
> 
>>>From: Sergey Pariev [mailto:egy@tnet.dp.ua] 
>>>Subject: war redeployment problem
>>>
>>> message = invalid LOC header (bad signature)
>>>        at java.util.zip.ZipFile$3.nextElement(ZipFile.java:430)
>>>
>>>I'm using Tomcat 5.0.29 
>>>    
>>>
>>
>>But what OS and JDK level are you using? I have a vague memory of a
>>problem in early Sun 1.4 JDKs with zip file handling.
>>
>>  
>>
> I'm currently using Slackware Linux 2.6.11 and Sun JDK 1.5.0_03, but 
> IFAIK other people have experienced this problem on the other OS'es -
> https://appfuse.dev.java.net/servlets/ReadMsg?list=users&msgNo=6998
> 
> Thanks, Sergey.
> 
> 
>> - Chuck
>>
>>
>>THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>>MATERIAL and is thus for use only by the intended recipient. If you
>>received this in error, please contact the sender and delete the e-mail
>>and its attachments from all computers.
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>  
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/war-redeployment-problem-tf55365.html#a13756224
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