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

JNLP with version feature doesn't work at Java 7_04

XMLWordPrintable

    • x86
    • windows_7

      FULL PRODUCT VERSION :
      1.7.0_04

      ADDITIONAL OS VERSION INFORMATION :
      Windows7 (32 bit)

      A DESCRIPTION OF THE PROBLEM :
      When using the JNLP for deployment, before 1.7.0_04 release, there is no problem when enabling the versioning feature, However, when updated to Java 1.7.0_04, the applet can't load and hang.

      This is what we have in JNLP file before Java 1.7.0_04

      <?xml version="1.0" encoding="UTF-8"?>
      <jnlp spec="1.0+" href="loadMainMenuE.jnlp">
          <applet-desc name="QuoteWinner" main-class="applet.qw.QW" width="800" height="600" />
          <security>
            <all-permissions/>
        </security>
          <resources>
      <property name="jnlp.packEnabled" value="true"/>
      <property name="jnlp.versionEnabled" value="true"/>
      <j2se version="1.5+" max-heap-size="256m"/>
              <jar href="TeletextProj46.jar" main="true" version="4.1" download="eager"/>
          </resources>
        <update check="always" policy="prompt-update"/>
      </jnlp>

      However, after 1.7.0_04 we need to disabling the versioning feature is make it work, This is what we did in JNLP file to fix the problem:

      <?xml version="1.0" encoding="UTF-8"?>
      <jnlp spec="1.0+" href="loadMainMenuE.jnlp">
          <applet-desc name="QuoteWinner" main-class="applet.qw.QW" width="800" height="600" />
          <security>
            <all-permissions/>
        </security>
          <resources>
      <property name="jnlp.packEnabled" value="true"/>
      <property name="jnlp.versionEnabled" value="false"/>
      <j2se version="1.5+" max-heap-size="256m"/>
      <jar href="TeletextProj46.jar" main="true" download="eager"/>
          </resources>
        <update check="always" policy="prompt-update"/>
      </jnlp>

      We don't have this problem before 1.7.0_04

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      enabling the java new plugin
      deploy the applet using jnlp file rather than jnlp
      start the applet, it will see the problem.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      the applet can load nornally
      ACTUAL -
      the applet hang during loading

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
       

       

      Java Plug-in 10.4.0.22

      Using JRE version 1.7.0_04-b22 Java HotSpot(TM) Client VM

      User home directory = C:\Users\xxxxxxx

      ----------------------------------------------------

      c: clear console window

      f: finalize objects on finalization queue

      g: garbage collect

      h: display this help message

      l: dump classloader list

      m: print memory usage

      o: trigger logging

      q: hide console

      r: reload policy configuration

      s: dump system and deployment properties

      t: dump thread list

      v: dump thread stack

      x: clear classloader cache

      0-5: set trace level to <n>

      ----------------------------------------------------

      security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.

      security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws

      security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws

      security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy

      security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy

      security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp

      security: property package.definition value null

      security: property package.definition new value com.sun.javaws

      security: property package.definition value com.sun.javaws

      security: property package.definition new value com.sun.javaws,com.sun.deploy

      security: property package.definition value com.sun.javaws,com.sun.deploy

      security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp

      security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp

      security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss

      security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp

      security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss

      network: Created version ID: 1.7.0.04

      network: Created version ID: 1.7

      network: Cache entry found [url: http://data-uat.aastocks.com/quotewinner/applet/loadAppE.jnlp, version: null] prevalidated=true/0

      temp: new XMLParser with source:

      temp: <?xml version="1.0" encoding="UTF-8"?>

      <jnlp spec="1.0+" href="loadAppE.jnlp">

          <information>

              <title>Quote Winner</title>

              <vendor>AASTOCKS.com</vendor>

          </information>

          <applet-desc name="QuoteWinner" main-class="a.b.q.a" width="800" height="150" />

          <security>

            <all-permissions/>

                  </security>

          <resources>

                               <property name="jnlp.packEnabled" value="false"/>

                               <property name="jnlp.versionEnabled" value="false"/>

              <j2se version="1.5+" max-heap-size="256m"/>

              <jar href="TeletextProj46.jar" main="true" version="4.1" download="eager"/>

          </resources>

        <update check="always" policy="prompt-update"/>

      </jnlp>

       

      temp:

       

      returning ROOT as follows:

       

      <jnlp spec="1.0+" href="loadAppE.jnlp">

        <information>

          <title>Quote Winner</title>

          <vendor>AASTOCKS.com</vendor>

        </information>

        <applet-desc name="QuoteWinner" main-class="a.b.q.a" width="800" height="150"/>

        <security>

          <all-permissions/>

        </security>

        <resources>

          <property name="jnlp.packEnabled" value="false"/>

          <property name="jnlp.versionEnabled" value="false"/>

          <j2se version="1.5+" max-heap-size="256m"/>

          <jar href="TeletextProj46.jar" main="true" version="4.1" download="eager"/>

        </resources>

        <update check="always" policy="prompt-update"/>

      </jnlp>

      temp: returning LaunchDesc from XMLFormat.parse():

       

      <jnlp spec="1.0+" codebase="http://data-uat.aastocks.com/quotewinner/applet/" href="http://data-uat.aastocks.com/quotewinner/applet/loadAppE.jnlp">

        <information>

          <title>Quote Winner</title>

          <vendor>AASTOCKS.com</vendor>

          <homepage href="null"/>

        </information>

        <security>

          <all-permissions/>

        </security>

        <update check="always" policy="prompt-update"/>

        <resources>

          <property name="jnlp.packEnabled" value="false"/>

          <property name="jnlp.versionEnabled" value="false"/>

          <java max-heap-size="268435456" version="1.5+"/>

          <jar href="http://data-uat.aastocks.com/quotewinner/applet/TeletextProj46.jar" version="4.1" download="eager" main="true"/>

        </resources>

        <applet-desc name="QuoteWinner" main-class="a.b.q.a" documentbase="http://product2-uat.aastocks.com/qw/chi/load.asp?flash=true&load_ver=1&mainframe=app%2Fteletext%2Easp&install_ver=TeleTextInstall4%2Ecab%23Version%3D1%2C0%2C0%2C16&news=news%2Fnewsbt%5Fmix%2Easp%3Fcatg%3D120" width="800" height="150"/>

      </jnlp>

      cache: Resource http://data-uat.aastocks.com/quotewinner/applet/loadAppE.jnlp has expired.

      basic: JNLP2ClassLoader.findClass: default: not initialized -> super()

      basic: JNLP2ClassLoader.findClass: default: not initialized -> super()

      network: Connecting http://data-uat.aastocks.com/quotewinner/applet/loadAppE.jnlp with proxy=DIRECT

      network: Connecting http://data-uat.aastocks.com:80/ with proxy=DIRECT

      network: Connecting http://data-uat.aastocks.com/quotewinner/applet/loadAppE.jnlp with cookie "Login=status=1&ucalc=3&Broker=UAT%5F19; Install=0; QWD=brokerID=&Install=0&qwstreamer=&symbol=00001%7E00001&StreamerStocks=&detailedTransLog=true&UseNewQW=1&optionsID=0&AAstreamer=&socket=1; detailedTransLog=true; AABasicChart=P%7c6%2cT%7c3%2cB%7c3%2cCT%7c0%2cCO%7c%2cS%7c; ChartDisplay=3; AAstreamer; LatestRTQuotedStocks=00001; qwstreamer; future; teletext=usq=0&lang=CHI&ai=111&fname=+&uname=00000000000000000000QWUAT0000000000UAT003&broker=UAT%5F19&firewall%5Fver=0&mbr%5Fid=90002&firewall=0&sgq=0&run%5Ftele=533&ucalc=3&showDisclaimer=0; Chart; serv%5Ftype; Menu=broker=1&future=1&block=1&st%5Fop=2&options=2&news=120&TD=1&teletext=1&ipo%5Falert=1&ipo=1&ch%5Fdn=0&warrant=1&future%5Fdepth=1&quote=0&App%5Fcookies=1&pricealert=1&App%5Fcab=46&App%5Fflash=true&chart%5Fwinner=0&App%5Fcolor=2&App%5Fversion=4&fund=2&aateletext=3&App%5Fcode=http%3A%2F%2Fdata%2Duat%2Eaastocks%2Ecom%2Fquotewinner%2Fapplet%2F&Release=2&App%5Fpinyin=false&cams=0&App%5Finstall=0&chart=1&App%5Fzip=46&B2C=0"

      network: Server http://data-uat.aastocks.com/quotewinner/applet/loadAppE.jnlp requesting to set-cookie with "aa_cookie=210.6.243.234_32189_1337330694;"

      network: ResponseCode for http://data-uat.aastocks.com/quotewinner/applet/loadAppE.jnlp : 304

      network: Encoding for http://data-uat.aastocks.com/quotewinner/applet/loadAppE.jnlp : null

      network: Disconnect connection to http://data-uat.aastocks.com/quotewinner/applet/loadAppE.jnlp

      temp: new XMLParser with source:

      temp: <?xml version="1.0" encoding="UTF-8"?>

      <jnlp spec="1.0+" href="loadAppE.jnlp">

          <information>

              <title>Quote Winner</title>

              <vendor>AASTOCKS.com</vendor>

          </information>

          <applet-desc name="QuoteWinner" main-class="a.b.q.a" width="800" height="150" />

          <security>

            <all-permissions/>

                  </security>

          <resources>

                               <property name="jnlp.packEnabled" value="false"/>

                               <property name="jnlp.versionEnabled" value="false"/>

              <j2se version="1.5+" max-heap-size="256m"/>

              <jar href="TeletextProj46.jar" main="true" version="4.1" download="eager"/>

          </resources>

        <update check="always" policy="prompt-update"/>

      </jnlp>

       

      temp:

       

      returning ROOT as follows:

       

      <jnlp spec="1.0+" href="loadAppE.jnlp">

        <information>

          <title>Quote Winner</title>

          <vendor>AASTOCKS.com</vendor>

        </information>

        <applet-desc name="QuoteWinner" main-class="a.b.q.a" width="800" height="150"/>

        <security>

          <all-permissions/>

        </security>

        <resources>

          <property name="jnlp.packEnabled" value="false"/>

          <property name="jnlp.versionEnabled" value="false"/>

          <j2se version="1.5+" max-heap-size="256m"/>

          <jar href="TeletextProj46.jar" main="true" version="4.1" download="eager"/>

        </resources>

        <update check="always" policy="prompt-update"/>

      </jnlp>

      temp: returning LaunchDesc from XMLFormat.parse():

       

      <jnlp spec="1.0+" codebase="http://data-uat.aastocks.com/quotewinner/applet/" href="http://data-uat.aastocks.com/quotewinner/applet/loadAppE.jnlp">

        <information>

          <title>Quote Winner</title>

          <vendor>AASTOCKS.com</vendor>

          <homepage href="null"/>

        </information>

        <security>

          <all-permissions/>

        </security>

        <update check="always" policy="prompt-update"/>

        <resources>

          <property name="jnlp.packEnabled" value="false"/>

          <property name="jnlp.versionEnabled" value="false"/>

          <java max-heap-size="268435456" version="1.5+"/>

          <jar href="http://data-uat.aastocks.com/quotewinner/applet/TeletextProj46.jar" version="4.1" download="eager" main="true"/>

        </resources>

        <applet-desc name="QuoteWinner" main-class="a.b.q.a" documentbase="http://product2-uat.aastocks.com/qw/chi/load.asp?flash=true&load_ver=1&mainframe=app%2Fteletext%2Easp&install_ver=TeleTextInstall4%2Ecab%23Version%3D1%2C0%2C0%2C16&news=news%2Fnewsbt%5Fmix%2Easp%3Fcatg%3D120" width="800" height="150"/>

      </jnlp>

      cache: JNLPPreverifyClassLoader.initialize: FAILED: http://data-uat.aastocks.com/quotewinner/applet/TeletextProj46.jar

      basic: Plugin2ClassLoader.addURL2 called for http://data-uat.aastocks.com/quotewinner/applet/TeletextProj46.jar

      network: LaunchDownload: concurrent downloads from LD: 4

      network: Total size to download: -1

      security: Security check for progress jars: allSigned=true

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      security: Blacklist revocation check is enabled

      security: Trusted libraries list check is enabled

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Cache entry found [url: http://data-uat.aastocks.com/quotewinner/applet/TeletextProj46.jar, version: 4.1] prevalidated=true/0

      cache: Resource http://data-uat.aastocks.com/quotewinner/applet/TeletextProj46__V4.1.jar.pack.gz has expired.

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Downloaded http://data-uat.aastocks.com/quotewinner/applet/TeletextProj46.jar: C:\Users\eric.yau\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\57\239c4eb9-77b68729-4.1-

      network: Download Progress: jarsDone: 1

      network: CleanupThread used 173295 us

      network: Created version ID: 1.5+

      network: Created version ID: 1.7

      network: Created version ID: 1.7.0.04

      network: Created version ID: 1.7

      basic: LaunchDesc location: http://data-uat.aastocks.com/quotewinner/applet/loadAppE.jnlp

      network: Created version ID: 1.0+

      network: Created version ID: 7.0

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      security: Mark trusted: http://data-uat.aastocks.com/quotewinner/applet/loadAppE.jnlp

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      basic: passing security checks; secureArgs:true, allSigned:false

      basic: continuing launch in this VM

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Cache entry not found [url: http://data-uat.aastocks.com/quotewinner/applet/TeletextProj46.jar?version-id=4.1, version: null]

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      network: Created version ID: 4.1

      cache: Read manifest for http://data-uat.aastocks.com/quotewinner/applet/TeletextProj46__V4.1.jar.pack.gz: read=160 full=20340

      cache: Reading Signers from 19771 http://data-uat.aastocks.com/quotewinner/applet/TeletextProj46__V4.1.jar.pack.gz | C:\Users\eric.yau\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\57\239c4eb9-77b68729-4.1-.idx

      cache: Done readSigners(http://data-uat.aastocks.com/quotewinner/applet/TeletextProj46__V4.1.jar.pack.gz)

      basic: JNLP2ClassLoader.getPermissions() ..

      network: CleanupThread used 2 us

      network: CleanupThread used 2 us

      network: CleanupThread used 1 us

      network: CleanupThread used 1 us

      network: CleanupThread used 1 us

      network: CleanupThread used 2 us

      network: CleanupThread used 2 us

      network: CleanupThread used 1 us

      network: CleanupThread used 2 us

      network: CleanupThread used 1 us

      network: CleanupThread used 1 us

      network: CleanupThread used 1 us

      network: CleanupThread used 2 us

      network: CleanupThread used 1 us

      network: CleanupThread used 1 us

      network: CleanupThread used 2 us

      network: CleanupThread used 2 us

      network: CleanupThread used 3 us

      network: CleanupThread used 2 us

      network: CleanupThread used 2 us

      network: CleanupThread used 2 us

      network: CleanupThread used 1 us



      ( This report has more than 16,000 characters and has been truncated. )

            ngthomas Thomas Ng (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: