we have an application that will be deployed on serveral servers with different IPs. The JNLP are generated at build time. Therefore we defined the JNLP without codebase:
<jnlp spec="1.0+" href="app.jnlp">
However, when starting this application a second time (from the Desktop icon that was created on the first startup) the codebase is set to the local filesystem which is absolutely useless. I would expect that Java Webstart sets the codebase with the actual origin address when starting the Application the first time. This does not seem to be true.
How can I prepare a generic JNLP that is usable without modification on different servers?
jarsignerbinary (unless it can be done programmatically; I don’t know if it can) and the original .jar file. The spec says a signed JNLP file is optional, so I would be inclined to avoid signing it if that’s an option. - VGR