• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

signed jar-file gives error "Found unsigned entry in Resource"

 
David VanBom
Greenhorn
Posts: 5
Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to run an application through java webstart. I have signed the jars using "jarsigner" as shown here:

http://introcs.cs.princeton.edu/java/85application/jar/sign.html

however, when running the jnlp file on a browser the error : "Found unsigned entry in Resource file: /var/www/TheFile.jar"

I java-caching enabled, since I heard that could be a cause, but no change...

This is the .jnlp file:




Any ideas or suggestions would be really gratefully received - I'm twirling my moustach here...
 
David VanBom
Greenhorn
Posts: 5
Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the answer Maneesh!
I found that when running firefox as root in Ubuntu Linux, the jar files were recognized as signed and the application ran without problem. I checked the suggestion of that post, but my computer did already have "keep temporary internet files" checked in the java control panel, so for me that was not the problem. For a user to have to be running the web browser as root to recognize the jar files as signed does not seem optimal, but its good enough for me for now.

I will wait with marking this thread as solved, since it still seems a bit mysterious to me that a linux user would need to launch for example firefox with "sudo firefox" in order to view webstart applications...

i wrote a blogpost about my adventure with webstart, it is a little unspecific, but it has some more details about what worked and didn't work for me if anyone has similar problems: http://www.beardtowncoop.dinstudio.com/

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic