Skip to Main Content

Java SE (Java Platform, Standard Edition)

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!

Error: Found unsigned entry in resource

843802Aug 9 2010 — edited Mar 10 2011
Hi,

I have a Java application that I run regularly on both my Linux box and my Windows 7 box. (It is independently compiled on each machine).

As a learning experience I am trying to run it using Web Start to run it from the Windows 7 machine.

These have worked:
keytool -genkey -alias My_DB -keypass thepassword -keystore My_DB -storepass thepassword
and
jarsigner -keystore My_DB -signedjar My_DB.jar My_DB1.jar My_DB
and
jarsigner -verify -keystore My_DB My_DB.jar My_DB
jar verified.

The application comes up OK thru my html and jnlp files.
But it (the application) has a 'Load' button where I load-up/read-in a local (C:\ drive) ascii text file.
When I press load, nothing happens - no error, but it doesn't load up the file.

So I put this in the jnlp file:
<security>
<all-permissions/>
</security>

but now I get:
Error: Found unsigned entry in resource:
file:/C:/Software/Java/Projects/NetBeans/My_DB/dist/My_DB.jar

com.sun.deploy.net.JARSigningException: Found unsigned entry in resource:

file:/C:/Software/Java/Projects/NetBeans/My_DB/dist/My_DB.jar
at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
at com.sun.javaws.security.SigningInfo.check(Unknown Source)
at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
at com.sun.javaws.Launcher.prepareResources(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Any idea what's wrong?

Thanks in adavnce, Matt
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 7 2011
Added on Aug 9 2010
5 comments
34,348 views