• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.SecurityException: cannot verify signature block file META-INF/ZIGBERT

 
Purvi Pandya
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I have an facing problem when i use .jar file in archive
<applet code="Sample.class" width='630' height='420' archive="sample.jar" >
</applet>
I got below exception
java.lang.SecurityException: cannot verify signature block file META-INF/ZIGBERT
at sun.security.util.SignatureFileVerifier.process(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
at java.util.jar.JarFile.initializeVerifier(Unknown Source)
at java.util.jar.JarFile.getInputStream(Unknown Source)
at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
at sun.misc.Resource.getBytes(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Hoping for a reply at an earliest
Please let me know if you have found a solution for this.
Thanks and Regards
purvi pandya
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Purvi
I did some googlism and found following three links that might help,
1. Issue1
2.
Issue due to Netscape signing tool
3.
Pointer to use SUN Singing tool
It seems we need to use Sun's singing tools if we want to use plugin...
Please let us know how ultimately you solve the problem.
Regards
Maulin
 
Purvi Pandya
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Maulin

Thanks for all your input so far.
With the use of Sun's singing tools i have solved my problem of java.security.AccessControlException: access denied & jarsigner for signing jar file. Below link is very helpfull for me.
http://java.sun.com/docs/books/tutorial/security1.2/toolsign/
Thanks
Purvi Pandya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic