JDK-6660239 : JNLP-OOPP: Applet fails to load once deployment_user_home is removed
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: generic
  • Submitted: 2008-02-07
  • Updated: 2010-04-09
  • Resolved: 2008-02-19
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
6u10Resolved
Related Reports
Duplicate :  
Description
Tested build : PIT bundles dated Feb-05

1)Try loading the following applet using JNLP inside IE or FF3
http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/applets/AppletBasics/JNLPBasicService1-jnlp-applet-rel.html
2) It will load fine
3) Close the browser and remove deployment_user_home i.e. D:\Documents and Settings\Administrator\Application Data\Sun
4) try invoking the same applet again it fail to load by throwing following exception

#### Java Web Start Error:
#### No JRE version found in launch file for this system
ExitException[ 2]JNLPException[category: Launch File Error : Exception: null : LaunchDesc: 
<jnlp spec="1.0+" codebase="http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/applets/AppletBasics/codebasedir/" href="http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/applets/AppletBasics/codebasedir/JNLPBasicService1-jnlp-applet-rel.jnlp">
  <information>
    <title>Simple Applet 1.2 (jnlp title)</title>
    <vendor>SUN Deployment</vendor>
    <homepage href="http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/applets/AppletBasics/codebasedir/JNLPBasicService1-jnlp-applet-rel.html"/>
    <description kind="one-line">Applet</description>
    <offline-allowed/>
  </information>
  <update check="timeout" policy="always"/>
  <resources>
    <java href="http://java.sun.com/products/autodl/j2se" version="1.2+"/>
    <jar href="http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/applets/AppletBasics/codebasedir/JNLPBasicService1.jar" download="eager" main="false"/>
    <extension href="http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/applets/AppletBasics/codebasedir/SimpleApplet-jnlp-applet-rel.jnlp" name="SimpleApplet"/>
  </resources>
  <applet-desc name="JNLPBasicService1" main-class="JNLPBasicService1" width="480" height="120">
    <param name="offline" value="false"/>
    <param name="browsersupported" value="true"/>
  </applet-desc>
</jnlp> ]
	at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
	at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Applet Status: exception: null.
exception: null.
ExitException[ 2]JNLPException[category: Launch File Error : Exception: null : LaunchDesc: 
<jnlp spec="1.0+" codebase="http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/applets/AppletBasics/codebasedir/" href="http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/applets/AppletBasics/codebasedir/JNLPBasicService1-jnlp-applet-rel.jnlp">
  <information>
    <title>Simple Applet 1.2 (jnlp title)</title>
    <vendor>SUN Deployment</vendor>
    <homepage href="http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/applets/AppletBasics/codebasedir/JNLPBasicService1-jnlp-applet-rel.html"/>
    <description kind="one-line">Applet</description>
    <offline-allowed/>
  </information>
  <update check="timeout" policy="always"/>
  <resources>
    <java href="http://java.sun.com/products/autodl/j2se" version="1.2+"/>
    <jar href="http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/applets/AppletBasics/codebasedir/JNLPBasicService1.jar" download="eager" main="false"/>
    <extension href="http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/applets/AppletBasics/codebasedir/SimpleApplet-jnlp-applet-rel.jnlp" name="SimpleApplet"/>
  </resources>
  <applet-desc name="JNLPBasicService1" main-class="JNLPBasicService1" width="480" height="120">
    <param name="offline" value="false"/>
    <param name="browsersupported" value="true"/>
  </applet-desc>
</jnlp> ]
	at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
	at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
exception

Comments
EVALUATION Fix of CR 6663557 removed the Config reload, which was the cause of this problem.
19-02-2008