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

OEMUPDATE, VISTA UAC OFF jusched is running if system timeis 3-4 day before from any update schedule

XMLWordPrintable

    • x86
    • windows_vista

      OEM_AU_Jusched_Exit- Verify JRE is not updated when system time more then 12 hrs before from update schedule.
      How to reproduce this issue. UAC OFF

      1. Uninstall All the Previous JRE
      2. Delete the javasoft key from HKLM and HKCU
      3. Install the test JRE by passing the command line parmeter OEMUPDATE=1. For example jre-6u14-windows-i586.exe OEMUPDATE=1
      4. Verify the OEMUpdate registry value is "1" under HKLM\\Software\\JavaSoft
      5. Verify no jureg and jusched reg keys under HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run
      6. Launch Jusched.exe and wait for 5-6 mins. And note the update schdule.
      7. In my case System time and update schedule are as below from the jusched.log.
      Fri Aug 07 13:49:34 2009
      :: JavaUpdate NextSchedTime=Fri Sep 04 00:28:00 2009
      JavaFXUpdate NextSchedTime=Tue Aug 11 04:21:00 2009
      JavaFX: lastSchedTime=Tue Aug 04 04:21:00 2009
      JavaFX: nextSchedTime=Tue Aug 11 04:21:00 2009
      JavaFX: sleeptime (sec=9118, hours=2)
      actual sleep time=9118307 msecs (2:31:58) for JavaFX

      So I didn't modify the system date and time at all.

      8. Set the Update ServletURL and relogin to the machine
      9. Verifies JRE is not updated imidiately and jusched is exiting)

      Expected Behavior:
      According to engg spec the jushced.exe should exit as update schedule is more then 12 hrs after the system time.

      Actual Behabior:
      Jusched.exe is still running in the task manager

      section of the log. According to this sleep time is 2 hours but it shouldn't be the case. I am not sure if jusched is calculating correct sleep time or not???
      As from the jusched.log it is clearly seen that sleep time should be 3 days and some hours.

      Fri Aug 07 13:49:34 2009
      :: JavaUpdate NextSchedTime=Fri Sep 04 00:28:00 2009
      JavaFXUpdate NextSchedTime=Tue Aug 11 04:21:00 2009
      JavaFX: lastSchedTime=Tue Aug 04 04:21:00 2009
      JavaFX: nextSchedTime=Tue Aug 11 04:21:00 2009
      JavaFX: sleeptime (sec=9118, hours=2)
      actual sleep time=9118307 msecs (2:31:58) for JavaFX

            ccenottiorcl Chris Cenotti (Inactive)
            pgsunw Praveen G (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: