users@glassfish.java.net

Webstart icons & codebase mismatch

From: <glassfish_at_javadesktop.org>
Date: Wed, 08 Aug 2007 01:18:40 PDT

Hi

It seems that the icons in the client jar are not found under the generated codebase in the webstart JNLP file:

The code base in my example is:
http://sun-app-test.sun.vdl.lu:8180/__JWSappclients/__appclient/trasal-ear-0.0.1-SNAPSHOT/trasalClient-0.0.1-SNAPSHOT

The icon ref is:
<icon href="images/euro_icon.jpg"/>

which means that the icon should be found in:
http://sun-app-test.sun.vdl.lu:8180/__JWSappclients/__appclient/trasal-ear-0.0.1-SNAPSHOT/trasalClient-0.0.1-SNAPSHOT/images/euro_icon.jpg

But as the application is deployed with a context of /trasal the icon exists under:
http://sun-app-test.sun.vdl.lu:8180/trasal/images/euro_icon.jpg

This means that Webstart doesn't find the icon......


Shouldn't the codebase in the JNLP file reflect the deployment context and be:
http://sun-app-test.sun.vdl.lu:8180/trasal
?

Thanks
Roll
[Message sent by forum member 'rreckel' (rreckel)]

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