• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 5
Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe this can help https://coderanch.com/t/200684/JNLP-Web-Start/java/jdk-found-unsigned-entry-resource
 
David VanBom
Greenhorn
Posts: 5
Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/

 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic