This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "invalid LOC header" Watch "invalid LOC header" New topic

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?

read this also?

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.

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