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

cache entry not found message in java console even if the jar is in cache

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 6
    • deploy
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.6.0_24"
      Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
      Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600], Microsoft Windows [Version 6.0.6002]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      using IE8, firefox 3.5.5

      A DESCRIPTION OF THE PROBLEM :
      Whenever I run any applet in browser, I always get few messages as below,
      network: Cache entry not found [url: http://localhost:8080/myapp/celcius.jar, version: null], 3-4 times in java console,
      though the jar is already in cache. And it takes more time to load the applet. The same message appears when i run the applet with plug-in 1.6.10 or later. The messages doesn't come for plug-in version before 1.6.10. Also these message (cache entry not found) doesn't come if I disable the "next generation java plugin" from java control panel and subsequently applet loads faster.
      p.s I have also set the version but in the message it is showing version:null

      REGRESSION. Last worked in version 6u24

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      The steps I follow to create and run the applet.
      - Compile it to a jar
      - Sign the jar
      - Run it as a applet in a browser (I use both firefox 3.5.5 and IE 7/8)
      - Make sure browser has Java Plug-in with version1.6.0_10 or later
      - Make sure "Enable the next-generation java plug-in" is checked in java control panel.
      - check the debugging in java control panel and show console is also selected
      - now run the applet in browser

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      It should not give network: Cache entry not found [url:http://localhost:8080/myapp/celcius.jar, version: null] messages in java console if the jar is present in cache, and should load the applet faster as it does with plug-in before 1.6.10.
      ACTUAL -
      Please find few messages from java console
      .
      .
      network: Created version ID: 0007.0000.0037.0000
      network: Created version ID: 0007.0000.0037.0000
      network: Cache entry found [url: http://localhost:8080/myapp/celcius.jar, version: 0007.0000.0037.0000] prevalidated=false/0
      cache: Reading Signers from 966 http://localhost:8080/myapp/celcius.jar | C:\Documents and Settings\superuser\Application Data\Sun\Java\Deployment\cache\6.0\12\30f14dcc-72abd6e6-0007.0000.0037.0000-.idx
      cache: Read manifest for http://localhost:8080/myapp/celcius.jar: read=89 full=14528
      network: Cache entry not found [http://localhost:8080/myapp/celcius.jar, version: null]
      security: Loading Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
      security: Loaded Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
      .
      .And takes much time to load the applet.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      No error messages observed. Applet works fine.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      1. disable the "next generation java plug-in" from java control panel
      2. use any java plug-in before version 1.6.10

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: