This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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 Java Interview Guide this week in the Jobs Discussion 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
jQuery in Action, 3rd edition