File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes signed jar-file gives error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "signed jar-file gives error "Found unsigned entry in Resource"" Watch "signed jar-file gives error "Found unsigned entry in Resource"" New topic
Author

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

David VanBom
Greenhorn

Joined: Mar 09, 2012
Posts: 5

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...
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Maybe this can help http://www.coderanch.com/t/200684/JNLP-Web-Start/java/jdk-found-unsigned-entry-resource


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
David VanBom
Greenhorn

Joined: Mar 09, 2012
Posts: 5

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/

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: signed jar-file gives error "Found unsigned entry in Resource"