IT2Be wrote:
From what I read (http://docs.oracle.com/javase/7/docs/te ... dJNLP.html) adding the jnlp to the jar is possible Johan but only with the use of a template file with the name JNLP-INF/APPLICATION_TEMPLATE.JNLP.
The docs say: When a web start application is started, the JNLP file used must be identical to the JNLP file in the signed JAR in order for the application to run.
But most resources have these attributes: download="%%loadmethod%%" version="%%version%%"
Because they can change the template should include them as : download="*" version="*"
Or do I misinterpret this information?
ptalbot wrote:You can set a Java System property 'codebase' on the command line:
java -Dcodebase=* -jar signtester.jar ....
ngervasi wrote:I've ordered from globalsign.com, look for "Code signing certificate" and be careful to select "For Sun Java" when placing the order. It costs €170/year and they take 1 week usually to issue it. Watch out your snail mail post box for their address verification letter. There are many other CA to choose from: Tawthe, Komodo, etc. Just google for "code sign certificate".
jcompagner wrote:IT2Be wrote:
From what I read (http://docs.oracle.com/javase/7/docs/te ... dJNLP.html) adding the jnlp to the jar is possible Johan but only with the use of a template file with the name JNLP-INF/APPLICATION_TEMPLATE.JNLP.
The docs say: When a web start application is started, the JNLP file used must be identical to the JNLP file in the signed JAR in order for the application to run.
But most resources have these attributes: download="%%loadmethod%%" version="%%version%%"
Because they can change the template should include them as : download="*" version="*"
Or do I misinterpret this information?
yes you have to name it like they say (it must be a standard name) inside that dir in the main jar file which is j2db.jar
to get the actual jnlp file you need to get the jnlp file that is downloaded from the browser (you don't even have the main jnlp file on disk on the server like the plugins, its completely generated)
to get that file you can do:
https://yourhost:8080/servoy-client/MyS ... p?raw=true
that raw=true will let you see the jnlp file as is in the browser (view source and you see it even better)
save that file to disk.
The url you use to save it to disk, must be exactly the same as the url that you use to start the application. So that the contents of the jnlp file is exactly the same.
Return to Discuss possible Issues and Bugs
Users browsing this forum: No registered users and 5 guests