JDK-6495527 : CD Import should be extended to include extensions
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-11-20
  • Updated: 2011-02-16
  • Resolved: 2007-01-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u2Resolved 7Resolved
Related Reports
Duplicate :  
Description
A DESCRIPTION OF THE REQUEST :
It is impossible to find a combination of "javaws -import -codebase" commands that will enable a Java Web Start application to be installed from CD and subsequently run online IF the application JNLP file includes, amongst its resources, extension tags which reference other JNLP files. This is particularly the case when the other JNLP files are ordinarily hosted at locations other than the one for the main application (i.e. different codebases) .

JUSTIFICATION :
Many applications are comprised of component libraries. Third party libraries are generally signed by a different certificate and the extension mechanism is the recommended route for including such libraries in a Web Start application.

My own particular application uses the Java 3D JNLP library.

CD installation offers a quick and easy way to install on sites with low bandwidth. It also provides customers with a backup installation mechanism.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A mechanism by which all resources can be loaded from CD, USB drive, hard disk or whatever. Then on subsequent launches, the Web Start application can be launched online and behave normally, as though the initial install had been from the web.

This must include applications which reference, as extensions in the resources section, other JNLP files representing third party libraries, possibly at hosts or codebases different from the main application.
ACTUAL -
Impossible to install an application from CD that has other JNLPs embedded in extension tags, particularly if those JNLPs have a codebase that differs from the main application's codebase.

---------- BEGIN SOURCE ----------
<jnlp spec="1.0+" codebase="http://www.dakinewave.com/downloads/buddy/" href="buddy.jnlp">
...
<resources>
....
  <extension href="http://www.dakinewave.com/downloads/dwcommon3d/dwcommon3d.jnlp"/>
</resources>

---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
Tried everything.
In the end, put all resources into the same codebase in order to install application from CD. BUT can only run the application offline which defeats the object of Web Start.

Comments
EVALUATION new proposal for a JDK 7 JSR-56 specification update will allow this: see 6483092
2007-01-03