wood burning stoves 2.0*
The moose likes JNLP and Web Start and the fly likes Signing jnlp and using $$codebase-variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Signing jnlp and using $$codebase-variable" Watch "Signing jnlp and using $$codebase-variable" New topic
Author

Signing jnlp and using $$codebase-variable

Marcus Lindblom
Greenhorn

Joined: Jun 30, 2009
Posts: 1
Hello all!

I have a problem which I cannot find a way around (if there is one?).

In our product we have a GUI which we use JWS to run.
The jar-file containing the jnlp-file is signed at package-time and we cannot tell where the product will be installed so we have used the JnlpDownloadServlet to set the $$codebase variable.
The problem is that the signed jnlp-file will always differ from the one JWS wants to start since the signed one will look something like this:


and the user will get this:


Anyone know if there is a solution to the problem?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167
    
    8

Marcus,

Welcome to the Ranch.
Have you considered generating the JNLP file from a servlet?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Signing jnlp and using $$codebase-variable
 
Similar Threads
signed jar-file gives error "Found unsigned entry in Resource"
Do jnlp file updates itself
Run JAR file in Applet
Distribute game with two jars with JWS
update pattern?