users@glassfish.java.net

Re: Web Start launch error

From: <glassfish_at_javadesktop.org>
Date: Mon, 25 Jun 2007 18:37:37 PDT

Hi.

The web container can't file that file because it's not in the location your JNLP claims it is.

The JAR's URL is specified as /lib/myapp.jar. You didn't say what codebase the JNLP specifies, but I'll assume it's http://rc00wkfadf:8080 or something with that as the prefix.

So, Java Web Start takes the JAR's URL and supplies missing fields using the codebase. The resulting URL is http://rc00wkfadf:8080/lib/myapp.jar.

I think you want to specify the href for the jar as lib/myapp.jar (no leading slash) assuming that the codebase in the JNLP document is http://rc00wkfadf:8080/MyApp.

Give that a try and see if it works better.

- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]

http://forums.java.net/jive/thread.jspa?messageID=223885