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