war redeployment problem

2005-06-07 Thread Sergey Pariev

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



RE: war redeployment problem

2005-06-07 Thread Caldarale, Charles R
> From: Sergey Pariev [mailto:[EMAIL PROTECTED] 
> 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.

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



Re: war redeployment problem

2005-06-07 Thread Sergey Pariev

Caldarale, Charles R пишет:

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

 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]