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

Sometimes, codebase property is not written in .lap file in cache before loading app

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8, 9
    • Fix Version/s: 8u40
    • Component/s: deploy
    • Environment:

      win8/x64/32bit jre8-b112

    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      x86_64
    • OS:
      windows_8

      Backports

        Description

        Test machine: win8/x64
        rdp:
        >>>>>>sca00ahm.us.oracle.com
        >>>>>>uadmin/changeme

        Steps to reproduce:
        0 Login to sca00ahm.us.oracle.com
        1 Install 32bit jre8-b112
        2 Download http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/vmargs/vmargs.zip and deploy it to your local server.
        For sca00ahm.us.oracle.com, it has been deployed at C:\apache-tomcat-6.0.26\webapps\vmargs
        3 Start tomcat server
        4 Load jnlp which trys to pass vm args "-disableassertions" to VM using java-vm-args from local ip:
        {TEST_JRE}/bin/javaws http://127.0.0.1:8080/vmargs/jnlp/testsignedvmdisableassertions.jnlp
        5 If jnlp fails to load with the following error, then this bug is reproduced(See attachment):
        #### Java Web Start Error:
        #### The field <jnlp>href has an invalid value: testsignedvmdisableassertions.jnlp

        BadFieldException[ The field <jnlp>href has an invalid value: testsignedvmdisableassertions.jnlp,testsignedvmdisableassertions.jnlp]
        at com.sun.javaws.jnl.XMLUtils.getAttributeURL(Unknown Source)
        at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at com.sun.javaws.CacheUtil.remove(Unknown Source)
        at com.sun.javaws.Main.uninstall(Unknown Source)
        at com.sun.javaws.Main.uninstallCache(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main.access$000(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)


        Detail trace:
        http://aurora-ds.us.oracle.com:9500/runs/307100.ManualSubmit-1/html/testsignedvmdisableassertions.trace

        Note:
        1) this bug is not always reproducible. The test app can be loaded successfully sometimes.
        2) If load the same app from remote server, the app can always be loaded successfully. Seems this issue only occurs when load with local server:
            If you load http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/vmargs/jnlp/testsignedvmdisableassertions.jnlp, the app can be loaded successfully.





           

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                thlenz Thomas Lenz (Inactive)
                Reporter:
                wenjyang Crystal Yang (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: