Java Web Start is unable to download signed Java resources with a '.ear' extension

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 6
    • Component/s: deploy
    • sparc
    • windows_xp

      When trying to download a signed Java resource with a '.ear' extension, Java Web Start fails with a JNLPException:

      JNLPException[category: Security Error : Exception: null : LaunchDesc:
      ...
        at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1229)
        at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:1075)
        at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:620)
        at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:165)
        at com.sun.javaws.Launcher.launch(Launcher.java:95)
        at com.sun.javaws.Main.launchApp(Main.java:299)
        at com.sun.javaws.Main.continueInSecureThread(Main.java:209)
        at com.sun.javaws.Main$1.run(Main.java:106)
        at java.lang.Thread.run(Thread.java:619)

      The resource is downloaded without a problem if it is renamed so that the extension is '.jar' (and the .jnlp file changed accordingly).

      Also, the unchanged .ear file downloads fine with 1.6.0-b72, so something has changed since then.

      Testcase has been uploaded to sunsolve 'cores' ftp site as ibm-20061124.zip

        To reproduce:

      1. Extract files from archive.
      2. Change launch.jnlp to point to the app.ear file on your machine.
      3. Run "javaws launch.jnlp".

            Assignee:
            Thomas Ng (Inactive)
            Reporter:
            Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: