Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8134077

Ensemble app is published on OTN with an invalid embedded JNLP descriptor.

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            vsaiprasad Vikas Saiprasad
            Reporter:
            dtitov Daniil Titov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: