Canada DST Changes impact in Applications Manager

Canada DST Changes impact in Applications Manager

Due to the recent DST ( Daylight Savings Time ) changes in canada, for Java 1.5 version - JREs older than update 9 has to be updated. The latest version of Applications Manager uses JRE 1.5 update 6. So all the customers in canada should update the java timezone database bundled with java in Applications Manager.

Steps for Applying the Java fix :

We assume your OS is already patched for this problem. Refer here for more information : Microsoft, Redhat

1. Stop Applications Manager and open a command prompt. Go to AppManager7 directory and execute the following command,
For Windows
shutdownApplicationsManager.bat -force
For Linux
sh shutdownApplicationsManager.sh -force
2. Download JDK DST Timezone Update Tool ( tzupdater-1_0_1.zip file ) from java.sun.com/javase/downloads/index.jsp and extract the zip in your machine.
3. Copy tzupdater.jar (a file that exists in the downloaded tzupdater-1_0_1.zip file) to AppManager7\working\jre\lib directory.
4. Download the dstupdater.bat.txt ( for windows ) or dstupdater.sh.txt ( for linux ) attached in this forum. Rename the file as dstupdater.sh/bat and save it in your AppManager7\working\jre\bin directory.
5. Open a command prompt and go to AppManager7\working\jre\bin directory.
6. Execute dstupdater.sh/bat file there.


Verifying the Java fix applied :

To check if you have applied the above java fix correctly you can follow the below steps,

1. Download the PrintTimeZone.class.txt attached in this forum. Rename the file as PrintTimeZone.class and save that file in your AppManager7\working\jre\bin directory.
2. Then open a command prompt, go to AppManager7\working\jre\bin directory and execute the following command
For Windows
java PrintTimeZone Canada/Pacific
For Linux
./java PrintTimeZone Canada/Pacific
3) If you get the below output, the fix has been applied correctly,
Zone ::sun.util.calendar.ZoneInfo[id="Canada/Pacific",offset=-28800000,dstSavings=3600000,useDayligh
t=true,transitions=189,lastRule=java.util.SimpleTimeZone[id=Canada/Pacific,offset=-28800000,dstSavin
gs=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTi
me=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode
=0]]




4) If you get the below output, there is some problem in the fix applied or it has not been applied yet . So try to apply the fix again.
Zone ::sun.util.calendar.ZoneInfo[id="Canada/Pacific",offset=-28800000,dstSavings=3600000,useDayligh
t=true,transitions=189,lastRule=java.util.SimpleTimeZone[id=Canada/Pacific,offset=-28800000,dstSavin
gs=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTi
me=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode
=0]]





Please contact support@appmanager.com for any assistance.

- Arun


































                New to ADSelfService Plus?