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

multiple network requests is made when there is update found

XMLWordPrintable

    • generic
    • generic

      host any simple JNLP application on a webserver.

      launch it first to get it into the cache.

      update it on the webserver.

      launch again, update should be downloaded into the cache.

      look at the log, you will see multiple requests made for the updated resource.

      this affects performance.

      network: Cache entry found [url: http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp, version: null] prevalidated=false/0
      network: Connecting http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp with proxy=DIRECT
      network: Connecting socket://javaweb.sfbay.sun.com:80 with proxy=DIRECT
      network: Connecting http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp with cookie "s_vi=[CS]v1|25A6A47105011316-60000109402C7CB0[CE]; s_nr=1263419431406"
      network: ResponseCode for http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp : 200
      network: Encoding for http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp : null
      network: Disconnect connection to http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp
      basic: Update JNLP: http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp, thisCodebase: null
      network: Cache entry found [url: http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp, version: null] prevalidated=false/0
      network: Connecting http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp with proxy=DIRECT
      network: Connecting http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp with cookie "s_vi=[CS]v1|25A6A47105011316-60000109402C7CB0[CE]; s_nr=1263419431406"
      network: ResponseCode for http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp : 200
      network: Encoding for http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp : null
      network: Disconnect connection to http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp
      network: Connecting http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp with proxy=DIRECT
      network: Connecting socket://javaweb.sfbay.sun.com:80 with proxy=DIRECT
      network: Connecting http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp with cookie "s_vi=[CS]v1|25A6A47105011316-60000109402C7CB0[CE]; s_nr=1263419431406"
      network: ResponseCode for http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp : 200
      network: Encoding for http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp : null
      network: Sever response: (length: 1041, lastModified: Wed Feb 03 15:36:29 PST 2010, downloadVersion: null, mimeType: application/x-java-jnlp-file)
      network: CleanupThread used 13457 us
      network: Downloading resource: http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp
      Content-Length: 1,041
      Content-Encoding: null
      network: Wrote URL http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp to File C:\Documents and Settings\ngthomas\Application Data\Sun\Java\Deployment\cache\6.0\43\eae1cab-5499e2fe-temp
      network: Disconnect connection to http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp
      network: CleanupThread used 3 us
      network: Cache: Enable a new CacheEntry: http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jnlp


      network: Cache entry found [url: http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar, version: null] prevalidated=false/0
      network: Connecting http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar with proxy=DIRECT
      network: Connecting http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar with cookie "s_vi=[CS]v1|25A6A47105011316-60000109402C7CB0[CE]; s_nr=1263419431406"
      network: ResponseCode for http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar : 200
      network: Encoding for http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar : null
      network: Disconnect connection to http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar
      network: Connecting http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar with proxy=DIRECT
      network: Connecting socket://javaweb.sfbay.sun.com:80 with proxy=DIRECT
      network: Connecting http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar with cookie "s_vi=[CS]v1|25A6A47105011316-60000109402C7CB0[CE]; s_nr=1263419431406"
      network: ResponseCode for http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar : 200
      network: Encoding for http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar : null
      network: Sever response: (length: 225984, lastModified: Wed Feb 03 15:36:29 PST 2010, downloadVersion: null, mimeType: application/java-archive)
      network: CleanupThread used 3 us
      network: Downloading resource: http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar
      Content-Length: 225,984
      Content-Encoding: null
      network: Wrote URL http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar to File C:\Documents and Settings\ngthomas\Application Data\Sun\Java\Deployment\cache\6.0\25\321d8e99-5c74d1b9-temp
      network: Disconnect connection to http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar
      network: CleanupThread used 3 us
      network: Cache: Enable a new CacheEntry: http://javaweb.sfbay.sun.com/~ngthomas/shortcut/draw.jar

            dtitov Daniil Titov (Inactive)
            ngthomas Thomas Ng (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: