Generally, every component of an application being run via WebStart must be signed. The problem seems to be that the file tableLayout.jar is not signed. You seem to be signing other files in your application (otherwise it would not run), so you probably might sign this file using the same certificate too. There is probably an Ant task for signing files, or you could do so manually using the jarsigner tool from the JDK.
The jar is downloaded from a third party site (So do we need to sign it again with the same certificate?).
I tried to sign the jar using same certificate.
Still it is showing the previous error message.
I have another query (Sorry not part of JNLP) ..
Could you please help to suggest sign all the jar in folder simultaneously with same certificate?
You should not need to sign the third-party library if it was signed, but the error message seems to indicate it isn't properly signed. You can run jarsigner -verify -verbose file.jar to display information about the problematic file.
I'd prefer to sign all components of a single application using a single certificate, but frankly this is just my guess, I don't know what the standards/common practices are when including a third party signed jar in your project.
jarsigner does not seem to offer an option to sign multiple files, but this can be easily done from the command line using OS shell support: in Windows, there is the for command, for example. (It's been ages since I was on Unix and I don't remember the corresponding shell command, but generally Unix shells are much more powerful than the cmd in Windows.)
Joined: Jun 05, 2012
I need to sign every jar in the folder and it worked.
But i needed to do it for all jars separately . But the application is running now.