Re: Jar signing is just not wotking




Andrew Thompson כתב:
On Mar 3, 3:10 am, "Efi Merdler" <foo...@xxxxxxxxx> wrote:
...
I'm trying to sign my jar file (which I created using fatjar), I
followed sun's tutorial on subject and everything seems work (I get no
error messages and everything is generated) however when trying to
load my jar and deploy it using jnlp file ..

Which is what? *

..suddenly java web start does
see my signed jar and ignores it (i.e. it treats it like an unsigned
jar) and outputs a java.security.AccessControlException.

Does the JNLP file request extended permissions?
Are you prompted for them?
* Validate it against the DTD then post it here.

Andrew T.

Hi,
Thanks, you were right it seems the the example that sun gave on their
web site is incorrect (they didn't add the DTD directive to their XML
file) I used netbeans's web start plugin and it solved my problem.

Thanks again,
Efi

.



Relevant Pages

  • Re: How to set the memory switches in JAR Executable
    ... >> The problem is, by the time the jar is loaded, the JVM is already ... >> loaded and has already laid out its memory map. ... The JNLP file is NOT inside the jar. ...
    (comp.lang.java.help)
  • Re: Need to revise my JNLP file
    ... and its "href" should provide the JNLP file in question, ... The line where "jar href" is defined ...   ... Thanks for the tip, John. ...
    (comp.lang.java.programmer)
  • Re: Java Web Start
    ... Netbeans created I just can't see it ... Did your remember to sign your jar? ... You might want to add lines to your JNLP file something like this: ...
    (comp.lang.java.gui)
  • Re: Force WebStart to load new JNLP-File from Server
    ... >Now the JNLP file has changed to include an additional jar. ... webstart seems to load the OLD JNLP file every time when called ...
    (comp.lang.java.help)
  • Re: java webstart problem
    ... JavaHelp jar is already signed by Sun, so I use a separate JNLP to save ... Here is the main JNLP file. ... <java href="http://java.sun.com/products/autodl/j2se"</a>; ... All jars must be signed with the same certificate. ...
    (comp.lang.java.gui)