-
Bug
-
Resolution: Fixed
-
P4
-
OTN
Try to load Ensemble app from http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/index.html with IE.
Application starts but the following exception is logged and printed in the console (if show console option is set in the JCP)
java.lang.RuntimeException: Embbeded JNLP should not have non-empty codebase. Got: http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble
at com.sun.javaws.jnl.EmbeddedJNLPValidation.validate(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.checkForEmbeddedJNLP(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)
at sun.plugin2.main.client.PluginMain.initManager(Unknown Source)
at sun.plugin2.main.client.PluginMain.access$200(Unknown Source)
at sun.plugin2.main.client.PluginMain$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
The problem here is that embedded JNLP descriptor used in the Emsemble app published at http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/index.html has non-empty codebase attribute that is not allowed. It results in the exception is printed in the console and the app is loaded using the real descriptor from http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/Ensemble.jnlp
The HTML page http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/index.html needs to be updated to either not use embedded JNLP descriptor at all or use the valid embedded JNLP descriptor.
Application starts but the following exception is logged and printed in the console (if show console option is set in the JCP)
java.lang.RuntimeException: Embbeded JNLP should not have non-empty codebase. Got: http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble
at com.sun.javaws.jnl.EmbeddedJNLPValidation.validate(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.checkForEmbeddedJNLP(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)
at sun.plugin2.main.client.PluginMain.initManager(Unknown Source)
at sun.plugin2.main.client.PluginMain.access$200(Unknown Source)
at sun.plugin2.main.client.PluginMain$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
The problem here is that embedded JNLP descriptor used in the Emsemble app published at http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/index.html has non-empty codebase attribute that is not allowed. It results in the exception is printed in the console and the app is loaded using the real descriptor from http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/Ensemble.jnlp
The HTML page http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/index.html needs to be updated to either not use embedded JNLP descriptor at all or use the valid embedded JNLP descriptor.