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

Launching Cache viewer through JCP does not load applns from recently configured user cache

XMLWordPrintable

    • generic
    • generic

      JDK-Info:
      ---------
      java version "1.6.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-beta-b59)
      Java HotSpot(TM) Client VM (build 1.6.0-beta-b59, mixed mode)


      Operating System:
      -----------------
      Generic


      Steps to Reproduce:
      -------------------
      1) Install jre
      2) Clean cache (\rm -rf ~/.java)
      3) Launch a JNLP Application
      (./javaws http://java.sun.com/products/javawebstart/apps/mg.jnlp)
      4) Launch cache viewer (./javaws -viewer)
      The Application is listed
      5) Close cache viewer
      6) Click on "Settings..." --> "Change..." to change user cache location
      7) Click on "OK" on "Temporary Files Settings" to save the changes
      8) Click on "Apply" on JCP to save all changes done.
      9) Now, without dismissing the JCP, click on "View..." to launch the viewer

      The application is still listed, though the cache location is changed. Choose the application and launch it offline.

      Application Error is thrown - "Unable to launch the application."

      JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
      at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:848)
      at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:749)
      at com.sun.javaws.Launcher.downloadResources(Launcher.java:1066)
      at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:475)
      at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:165)


      Expected Behavior:
      ------------------
      When user cache is changed and cache viewer is invoked through JCP (without dismissing JCP), the applications that are going to be listed should be fetched from the recently configured user cache

            Unassigned Unassigned
            rkumarsunw Ram Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: