Changes in US Daylight saving time - Impacts and Workarounds
Hi,
Daylight Savings Time changes in 2007 will affect Java applications in the United States. This leads to improper reporting of applications, which handles time related data. Updated Java Runtime Environments contain updated rules to report appropriate time with respect to the time zone.
Existing US customers who are running OpUtils build number 4019 or lesser are requested to patch the JRE. Please follow the instructions below to patch the JRE.
Steps to Update
1. We assume your OS is already patched for this problem. If not, please patch the OS before going to the next step. Refer here for more information :
Microsoft,
Redhat
2. Stop OpUtils service.
3. If OpUtils is running in Windows OS, right-click the OpUtils icon from the System Tray and click Exit.
4. Download Timezone updater Jar from
java.sun.com/javase/downloads/index.jsp and extract the zip in your machine.
This needs a simple registration.
5. Extract the zip file and copy tzupdater.jar (a file that exists in the downloaded zip) to <OpUtils_Home>/lib directory. (Ex : C:\AdventNet\ME\OpUtils\lib or /home/usr/Adventnet/ME/OpUtils/lib)
6. Save attached script.zip file in your <OpUtils_Home>/bin directory. (Ex: C:\AdventNet\ME\OpUtils\bin or /home/usr/Adventnet/ME/OpUtils/bin) and extract the contents in the same directory.
7. Open a command prompt and change directory to <OpUtils_Home>/bin directory and execute dstupdater.sh(Linux)/dstupdater.bat(Windows) and look for its output.
Verifying the Update
To verify whether the fix has been updated properly, follow the steps below:
1. Copy the attached
PrintTimeZone.class.txt to <OpUtils_Home>/jre/bin directory and rename it as
PrintTimeZone.class
2. Open a command prompt and change directory to <OpUtils_Home>/jre/bin and execute the command as given below:
For Windows: java PrintTimeZone
For Linux: ./java PrintTimeZone
3. Check the output. It shoule be like
Zone ::sun.util.calendar.ZoneInfo[id="US/Pacific",offset=-28800000,dstSavings=3600000,useDaylight=tr
ue,transitions=185,lastRule=java.util.SimpleTimeZone[id=US/Pacific,offset=-28800000,dstSavings=36000
00,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=72000
00,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]]
4. If you see the startMonth and startDay as 3 and 1 respectively, it means that the update has not been done properly. Please try redoing it.
Contact support@oputils.com for any assistance.
Thanks & regards,
Ananth
New to ADSelfService Plus?