This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes invalid LOC header Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "invalid LOC header" Watch "invalid LOC header" New topic
Author

invalid LOC header

Ishrayansh Nath
Ranch Hand

Joined: Nov 05, 2004
Posts: 45
I zip using //* JarOutputStream jar = new JarOutputStream();
JarFile flJar = new JarFile(strJarFileName);
Enumeration enuJarEntries = flJar.entries(); *//

the application(contains folder or files and one vxml file or tas application file and one property file)
HTTP ERROR: 500 jzentry == 0, jzfile = 202128800, total = 3, name = \samplInc\sample\Server\ver\import_oar\sample_1_0.oar, i = 1, message = invalid LOC header (bad signature)

How I solve this error?

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4615343

read this also?

regards
shiryans
Heonkoo Lee
Ranch Hand

Joined: Feb 10, 2005
Posts: 85
I remember having gotten that kind of error message before when I rebuilt and redeployed .war file without restarting the server. But, after I restarted the server, the error was gone.

Regards,
Heonkoo
[ March 29, 2005: Message edited by: Heonkoo Lee ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: invalid LOC header
 
Similar Threads
SCJP Brainteaser (9)
what is wrong with these two codes?
How to know the path of the application being executed
jdk1.5 found unsigned entry in resource
IndexOutOfBoundsException at javax.faces.component.UICompo