Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

invalid LOC header (bad signature) error with weblogic.appc on jdk1.5

843830Dec 4 2006 — edited Jan 24 2007
Hello there,

I am getting the following error while running weblogic.appc on one of my j2ee app's ear directory. The same build works fine on my local windows 2000 pc. The jdk version info given below for comparison.

There were some bug reports on sun's java site with earlier jdk versions but the resolution was not clear to me. The jar file cann't be corrupt to me as the same was being used in a production system and above all the same works on PC.

----ERROR TRACE STARTS------------------
<Dec 4, 2006 12:50:44 PM PST> <Debug> <EjbCompilation> <000000> <[EJBCompiler] Compiling EJB sources>
An exception has occurred in the compiler (1.5.0_07). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.InternalError: jzentry == 0,
jzfile = 6303736,
total = 115,
name = <<full-path-to-WEB-IN>>/lib/commons-digester-1.2.7.jar,
i = 1,
message = invalid LOC header (bad signature)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:429)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:415)
at com.sun.tools.javac.jvm.ClassReader.openArchive(ClassReader.java:1447)
at com.sun.tools.javac.jvm.ClassReader.list(ClassReader.java:1742)
at com.sun.tools.javac.jvm.ClassReader.listAll(ClassReader.java:1882)
at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1903)
at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1538)
at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:256)
at com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:382)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:221)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:235)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:448)
at com.sun.tools.javac.comp.Enter.main(Enter.java:433)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:403)
at com.sun.tools.javac.main.Main.compile(Main.java:592)
at com.sun.tools.javac.main.Main.compile(Main.java:544)
at com.sun.tools.javac.Main.compile(Main.java:67)
at com.sun.tools.javac.Main.main(Main.java:52)
Exec failed .. exiting
----ERROR TRACE ENDS------------------


Solaris:
1.5.0_07, JRE build 1.5.0_07-b03, Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode)

Windows 2000:
1.5.0_04, JRE build 1.5.0_04-b05, Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)

Any help is appreciated!

Thanks,
Chandra
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 21 2007
Added on Dec 4 2006
1 comment
3,550 views