> From: Claude Warren Jr [mailto:[EMAIL PROTECTED] 
> Subject: invalid LOC header (bad signature) when running in 
> servlet only
> 
>  message = invalid LOC header (bad signature)

This is an indication of a corrupted .zip file.  ZIP files can be read
either sequentially or via the table of contents at the end of the file;
the LOC header is only used when access is via the TOC.  The
java.util.zip classes use the TOC, while many other mechanisms use
sequential access and do not encounter the invalid LOC header.

One way this corruption can be introduced is by doing an FTP of the file
in ASCII mode using a Windows FTP client; this has the annoying habit of
converting LF characters into CR/LF sequences (or vice versa), which is
not something you want to do with a ZIP file.  You should be able to get
rid of the error by rebuilding the file.

 - 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 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