-
Bug
-
Resolution: Not an Issue
-
P1
-
None
-
6u12
-
x86
-
windows_xp
I am filing one bug for the issues found during FX update testing.
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.) Open Regedit and check if JavaFX under HKLM exist. The follwong path doesn't exist at all. (See attached image)
HKLM\Software\JavaSoft\Java Update\JavaFX
4.) Then I created this key mannully and also created these key
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\JavaFX]
"Frequency"=dword:00000004
"UpdateSchedule"=dword:00000002
5.) Set the system date accordingly so that day is Tuesday and time is 1:50 AM. Logoff and login back to system.
6.) I opend the JCP at 2:05 AM and checked General -> Temp InterFile->View-> Resource; It was empty. There was no entry.
7.) At 2:05 AM, I checked the Jusched.log
Tue Dec 02 02:00:22 2008
:: InstallStatus:ret=200 visid=32a770cb4-934495cf50 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 02 01:56:45 2008
:: jusched Main() - ResetDefaultUpdateSchedule
Tue Dec 02 01:56:45 2008
:: OpenJavaFXUpdateKey: Error:2, ErrorCode:0
Tue Dec 02 01:56:45 2008
:: SetDefaultJavaFXUpdateSchedule: Frequency:16, ScheduledHr:1
Tue Dec 02 01:56:45 2008
:: GetJavaFXUpdateTimeKey: returning FALSE
Tue Dec 02 01:56:45 2008
:: lastFinish=NULL
Tue Dec 02 01:56:45 2008
:: lastFinish=NULL
Tue Dec 02 01:56:49 2008
:: nextSched=Thu Dec 04 01:00:00 2008
; sleeptime (sec=169391, hours=47), actual sleep=169956000 msecs for JavaFX
lastSchedTime=Thu Nov 27 01:00:00 2008
This process created registry values "Frequency" and "UpdateSchedule" for JavaFX under HKEY_CURRENT_USER\Software\JavaSoft\Java Update\Policy\JavaFX
But "Frequency" and "UpdateSchedule" under HKLM and HKCU have different values.
Now Install JRE again and create the follwoing registry again but under following path.
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy\JavaFX]
"Frequency"=dword:00000004
"UpdateSchedule"=dword:00000002
Make sure Day is Tuesday and time is 1:50 AM. Wait till system time is passed 2:00 AM. Logoff and login back to system.
1.) I opend the JCP at 2:05 AM and checked General -> Temp InterFile->View-> Resource; It showed some files (jar and jnlp files) in the list. SO I guess it worked.
2.) I checked the Jusched.log
Tue Dec 02 01:51:27 2008
:: InstallStatus:ret=200 visid=32db4eee4-9344745f88 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 02 01:58:10 2008
:: jusched Main() - ResetDefaultUpdateSchedule
Tue Dec 02 01:58:10 2008
:: OpenJavaFXUpdateKey: Error:2, ErrorCode:0
Tue Dec 02 01:58:10 2008
:: SetDefaultJavaFXUpdateSchedule: Frequency:2, ScheduledHr:16
Tue Dec 02 01:58:10 2008
:: GetJavaFXUpdateTimeKey: returning FALSE
Tue Dec 02 01:58:10 2008
:: lastFinish=NULL
Tue Dec 02 01:58:10 2008
:: lastFinish=NULL
Tue Dec 02 01:58:12 2008
:: nextSched=Mon Dec 08 16:00:00 2008
; sleeptime (sec=568908, hours=158), actual sleep=569044000 msecs for JavaFX
lastSchedTime=Mon Dec 01 16:00:00 2008
3.) This process created registry values "Frequency" and "UpdateSchedule" for JavaFX under HKEY_CURRENT_USER\Software\JavaSoft\Java Update\Policy\JavaFX
But still "Frequency" and "UpdateSchedule" under HKLM and HKCU have different values.
And Now you delete the files from JCP. And try to do the FX update again based on time mentioned in HKCU and HKLM, it never worked again.
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.) Open Regedit and check if JavaFX under HKLM exist. The follwong path doesn't exist at all. (See attached image)
HKLM\Software\JavaSoft\Java Update\JavaFX
4.) Then I created this key mannully and also created these key
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\JavaFX]
"Frequency"=dword:00000004
"UpdateSchedule"=dword:00000002
5.) Set the system date accordingly so that day is Tuesday and time is 1:50 AM. Logoff and login back to system.
6.) I opend the JCP at 2:05 AM and checked General -> Temp InterFile->View-> Resource; It was empty. There was no entry.
7.) At 2:05 AM, I checked the Jusched.log
Tue Dec 02 02:00:22 2008
:: InstallStatus:ret=200 visid=32a770cb4-934495cf50 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 02 01:56:45 2008
:: jusched Main() - ResetDefaultUpdateSchedule
Tue Dec 02 01:56:45 2008
:: OpenJavaFXUpdateKey: Error:2, ErrorCode:0
Tue Dec 02 01:56:45 2008
:: SetDefaultJavaFXUpdateSchedule: Frequency:16, ScheduledHr:1
Tue Dec 02 01:56:45 2008
:: GetJavaFXUpdateTimeKey: returning FALSE
Tue Dec 02 01:56:45 2008
:: lastFinish=NULL
Tue Dec 02 01:56:45 2008
:: lastFinish=NULL
Tue Dec 02 01:56:49 2008
:: nextSched=Thu Dec 04 01:00:00 2008
; sleeptime (sec=169391, hours=47), actual sleep=169956000 msecs for JavaFX
lastSchedTime=Thu Nov 27 01:00:00 2008
This process created registry values "Frequency" and "UpdateSchedule" for JavaFX under HKEY_CURRENT_USER\Software\JavaSoft\Java Update\Policy\JavaFX
But "Frequency" and "UpdateSchedule" under HKLM and HKCU have different values.
Now Install JRE again and create the follwoing registry again but under following path.
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy\JavaFX]
"Frequency"=dword:00000004
"UpdateSchedule"=dword:00000002
Make sure Day is Tuesday and time is 1:50 AM. Wait till system time is passed 2:00 AM. Logoff and login back to system.
1.) I opend the JCP at 2:05 AM and checked General -> Temp InterFile->View-> Resource; It showed some files (jar and jnlp files) in the list. SO I guess it worked.
2.) I checked the Jusched.log
Tue Dec 02 01:51:27 2008
:: InstallStatus:ret=200 visid=32db4eee4-9344745f88 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 02 01:58:10 2008
:: jusched Main() - ResetDefaultUpdateSchedule
Tue Dec 02 01:58:10 2008
:: OpenJavaFXUpdateKey: Error:2, ErrorCode:0
Tue Dec 02 01:58:10 2008
:: SetDefaultJavaFXUpdateSchedule: Frequency:2, ScheduledHr:16
Tue Dec 02 01:58:10 2008
:: GetJavaFXUpdateTimeKey: returning FALSE
Tue Dec 02 01:58:10 2008
:: lastFinish=NULL
Tue Dec 02 01:58:10 2008
:: lastFinish=NULL
Tue Dec 02 01:58:12 2008
:: nextSched=Mon Dec 08 16:00:00 2008
; sleeptime (sec=568908, hours=158), actual sleep=569044000 msecs for JavaFX
lastSchedTime=Mon Dec 01 16:00:00 2008
3.) This process created registry values "Frequency" and "UpdateSchedule" for JavaFX under HKEY_CURRENT_USER\Software\JavaSoft\Java Update\Policy\JavaFX
But still "Frequency" and "UpdateSchedule" under HKLM and HKCU have different values.
And Now you delete the files from JCP. And try to do the FX update again based on time mentioned in HKCU and HKLM, it never worked again.