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

High CPU usage for Java Web Start on access to password protected JNLP file using HTTP

XMLWordPrintable

    • x86
    • windows_xp

      OPERATING SYSTEM(S):
      Windows XP and Windows 2000


      FULL JDK VERSION(S):
      java version "1.5.0_06"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
      Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

      DESCRIPTION:
      Java Web Start can access a JNLP file which is protected by password protection using HTTP connection.
      If the application is in the Java Web Start cache, user can skip password input dialog.
      But if user tries to skip password input dialog, application is started with high CPU usage.

      - Exact steps to reproduce
      1. Start Task Manager
      2. Start Java Web Start with URL from Command Prompt, e.g.
         > javaws http://<jnlp_file_name>.jnlp
      3. Password dialog will be displayed, type user name and password and press Yes button
      4. On display of application window, check CPU usage by using Task Manager
         (Maybe less than 10%)
      5. Close window
      6. Restart Java Web Start with URL from Command Prompt, e.g.
         > javaws http://<jnlp_file_name>.jnlp
      7. Password dialog will be displayed, press ESC key to skip this dialog
      8. On display of application window, check CPU usage by using Task Manager
         (Maybe 100%) <== PROBLEM
      9. Close window, CPU usage will be down
      10. Restart Java Web Start with URL from Command Prompt, e.g.
         > javaws http://&lt;jnlp_file_name&gt;.jnlp
      11. Password dialog will be displayed, press No button without user name and password.
      12. "Look and Feel Test" window will be displayed, check CPU usage by using Task Manager
         (Maybe 100%) <== PROBLEM
      13. Close window, CPU usage will be down

            herrick Andy Herrick (Inactive)
            elarsen Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: