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

FX update was skipped after Java Update

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b02
    • Introduced In Version:
    • Resolved In Build:
      b03
    • CPU:
      generic, x86
    • OS:
      windows, windows_xp
    • Verification:
      Verified

      Backports

        Description

        How to reproduce
        User Account is Admin ( I never changed the account type during testing)

        1.) Make sure no JRE is installed

        2.) Install the latest PIT bundle from following location
        http://j2se.east/arc/1.6.0_12/pit/2008-11-26/windows-i586/

        3.) Opend the JCP at and remove all the entries from the General -> Temp InterFile ->View -> Resource (if anything is there)

        4.) Now create the following registry entries
        [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
        "UpdateServletURL"="http://sqindia.india.sun.com/disk17/deployment/pg152891/PIPTest/map.xml"
        "RunAtExactSchedule"="1:50"

        5.) Go to update TAB in JCP and make sure Java Update schedule is set to daily

        6.) Set the system time to 1:38 AM and Day is Tuesday.

        7.) Launch jusched.exe. Wait for 5 mins and you will see the JAVAFX reg entries in HKCU. Now set the frequency to 4 and UpdateSchedule value to 2.

        8.) Launched jusched again and wait till Java update ballon is shown in the system tray. Don't clcik on the balloon or do any update wait till system time passed 2:05 AM.

        I am expecting it to download the FX related files. But that doesn't happen (verify it by opening JCP General -> Temp InterFile->View-> Resource; there wont be any entries).

        Now issue here is
        1.) FX files are not downloaded
        2.) After you installed the patch it will kill the jusched.exe, and FX AU will never happen untill jusched is restarted.

        Jusched.log
        ----------------------------------------------------------------------------------------------------------

        Tue Dec 16 02:16:27 2008
        :: InstallStatus:ret=200 visid=7b344849-46c21caf8 method=joff state=ic ver=XX,1.6.0_12-b702 ICstatus=;jre|0
        <?xml version="1.0" encoding="UTF-8"?>
        <status>SUCCESS</status>

        Tue Dec 16 01:43:43 2008
        :: jusched Main() - ResetDefaultUpdateSchedule

        Tue Dec 16 01:43:43 2008
        :: OpenJavaFXUpdateKey: Error:2, ErrorCode:183

        Tue Dec 16 01:43:43 2008
        :: SetDefaultJavaFXUpdateSchedule: Frequency:16, ScheduledHr:23

        Tue Dec 16 01:43:43 2008
        :: GetJavaFXUpdateTimeKey: returning FALSE

        Tue Dec 16 01:43:43 2008
        :: lastFinish=NULL

        Tue Dec 16 01:43:43 2008
        :: lastFinish=NULL

        Tue Dec 16 01:43:43 2008
        :: nextSched=Tue Dec 16 01:50:00 2008
        ; sleeptime (sec=377, hours=0), actual sleep=377000 msecs
        lastSchedTime=Mon Dec 15 01:50:00 2008

        Tue Dec 16 01:51:43 2008
        :: jusched Main() - ResetDefaultUpdateSchedule

        Tue Dec 16 01:51:43 2008
        :: GetJavaFXUpdateTimeKey: returning FALSE

        Tue Dec 16 01:51:43 2008
        :: lastFinish=NULL

        Tue Dec 16 01:51:43 2008
        :: lastFinish=NULL

        Tue Dec 16 01:51:43 2008
        :: nextSched=Tue Dec 16 01:53:00 2008
        ; sleeptime (sec=77, hours=0), actual sleep=77000 msecs
        lastSchedTime=Mon Dec 15 01:53:00 2008

        Tue Dec 16 01:53:00 2008
        :: Timeout occured.

        Tue Dec 16 01:53:02 2008
        :: http://j2se.east.sun.com/arc/1.6.0_12/pit/2008-11-26/windows-i586/PLUS1/iftw/1.6.0_13-b702.xml
        Tue Dec 16 01:53:04 2008
        :: Saving Update Descriptor XML Data

        Tue Dec 16 01:53:04 2008
        :: Started UpdateChecker process Successfully:c:\Program Files\Java\jre6\bin\jucheck.exe

        Tue Dec 16 01:53:04 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=416, hours=0), actual sleep=416000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:53:04 2008
        :: Registry is changed.

        Tue Dec 16 01:53:04 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=416, hours=0), actual sleep=416000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:53:04 2008
        :: Registry is changed.

        Tue Dec 16 01:53:04 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=416, hours=0), actual sleep=416000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:53:04 2008
        :: Registry is changed.

        Tue Dec 16 01:53:04 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=416, hours=0), actual sleep=416000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:53:05 2008
        :: http://j2se.east.sun.com/arc/1.6.0_12/pit/2008-11-26/windows-i586/PLUS1/iftw/1.6.0_13-b702.xml
        Tue Dec 16 01:53:05 2008
        :: Registry is changed.

        Tue Dec 16 01:53:05 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=415, hours=0), actual sleep=415000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:53:06 2008
        :: Saving Update Descriptor XML Data

        Tue Dec 16 01:53:06 2008
        :: Registry is changed.

        Tue Dec 16 01:53:06 2008
        :: Download Status: Bef Stage1 PreDL
        Tue Dec 16 01:53:06 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=414, hours=0), actual sleep=414000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:53:09 2008
        :: InstallStatus:ret=200 visid=8ddfb349-46bcaaad8 method=jau state=ud ver=1.6.0_12,1.6.0_13-b702
        <?xml version="1.0" encoding="UTF-8"?>
        <status>SUCCESS</status>

        Tue Dec 16 01:53:09 2008
        :: Registry is changed.

        Tue Dec 16 01:53:09 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=411, hours=0), actual sleep=411000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:53:11 2008
        :: Registry is changed.

        Tue Dec 16 01:54:12 2008
        :: Registry is changed.

        Tue Dec 16 01:54:12 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=348, hours=0), actual sleep=348000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:54:12 2008
        :: Download Status: Aft Stage1 PreDL
        Tue Dec 16 01:54:12 2008
        :: Registry is changed.

        Tue Dec 16 01:54:12 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=348, hours=0), actual sleep=348000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:54:15 2008
        :: Download Status: Bef Stage2 PreDL
        Tue Dec 16 01:54:15 2008
        :: Registry is changed.

        Tue Dec 16 01:54:15 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=345, hours=0), actual sleep=345000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:54:17 2008
        :: Registry is changed.

        Tue Dec 16 01:54:17 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=343, hours=0), actual sleep=343000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:55:18 2008
        :: Registry is changed.

        Tue Dec 16 01:55:18 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=282, hours=0), actual sleep=282000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:55:18 2008
        :: Msi file from URL=http://j2se.east.sun.com/arc/1.6.0_12/pit/2008-11-26/windows-i586/PLUS1/iftw/jre1.6.0_13-pfrom12.msi, downloaded to=C:\Documents and Settings\Administrator\Application Data\Sun\Java\jre1.6.0_13\jre1.6.0_13-pfrom12.msi
        Tue Dec 16 01:55:18 2008
        :: Registry is changed.

        Tue Dec 16 01:55:18 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=282, hours=0), actual sleep=282000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:55:19 2008
        :: Download Status: Stage2 PreDL Success
        Tue Dec 16 01:55:19 2008
        :: Registry is changed.

        Tue Dec 16 01:55:19 2008
        :: Download Status: Download Complete
        Tue Dec 16 01:55:19 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=281, hours=0), actual sleep=281000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 01:55:19 2008
        :: Registry is changed.

        Tue Dec 16 01:55:19 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=281, hours=0), actual sleep=281000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

        Tue Dec 16 02:00:00 2008
        :: Timeout occured.

        Tue Dec 16 02:00:00 2008
        :: nextSched=Tue Dec 16 02:00:00 2008
        ; sleeptime (sec=0, hours=0), actual sleep=43200000 msecs for JavaFX
        lastSchedTime=Tue Dec 09 02:00:00 2008

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

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                cgruszka Chris Gruszka (Inactive)
                Reporter:
                pgsunw Praveen G (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: