ColdFusion MX and JRun are Java applications that depend on the Sun Java Virtual Machine (JVM) for their time information. The new US Daylight Savings Time changes for 2007 will affect ColdFusion MX and JRun because of this. The ColdFusion functions affected by this change would be any code that depends on the date/time functions.


The U.S. Energy Policy Act of 2005 extended the daylight savings time (DST) for the U.S. an extra four weeks. Starting in 2007, the DST in the U.S. will begin at 2:00 A.M. on the second Sunday in March (03/11/2007) and end on 2:00 A.M. on the first Sunday in November (11/04/2007). To compensate for the change, Java vendors, for example Sun, IBM, etc., have released patches to update the internal DST information.

For further details about this issue, see the following Sun documentation:

Sun's JVM version 1.4.2_11 and above incorporates the new Daylight Savings time calculations. ColdFusion MX 6.1 Updater 1, ColdFusion MX 7.0.2, JRun 4 Updater 6 have been certified for JVM 1.4.2_11.

Note: There is a known issue with NullPointerExceptions occurring in ColdFusion MX 6.1 Updater after upgrading the JRE to version 1.4.2_06 or higher. The resolution to this issue can be found in TechNote kb400232.


To ensure that time calculations will be correct in 2007, upgrade the ColdFusion MX/JRun applications with the 1.4.2_11 JVM. This version can be downloaded from

Make sure to download the full SDK version so that the -server switch option is available. In general, it is recommended to test either the new JVM or the JVM hot fix with your applications in a development environment before putting them into production.

ColdFusion MX 6.1 Updater, ColdFusion MX 7.0.2 and JRun 4 Updater 6

Note: ColdFusion MX 6.1 Updater, ColdFusion 7.0.2 and JRun 4 Updater 6 are the versions that have been tested with Sun JVM 1.4.2_11. If the server is on an earlier version of the software, it should be upgraded to the latest version before applying the new JVM. If ColdFusion is running on another J2EE server like Websphere or Weblogic, as long as the server is not using the Sun JVM, this document does not apply.

  1. Download and install 1.4.2_11 SDK.
  2. Follow TechNote 2d547983 for more information on how to switch ColdFusion/JRun to use the new JVM.

    Note: You will need to import into the 1.4.2_11 certificate store (cacerts) any certificates previously imported into the default ColdFusion JVM certificate store.
  3. Restart the CFMX/JRun Server to pick up the JVM change.

Alternative Solution - Sun JVM Hot Fix

Adobe's tested recommendation is to upgrade the JVM to SDK 1.4.2_11. Sun also recommends upgrading to the "latest" JVM (for ColdFusion MX, this is 1.4.2_11) but Sun has also provided a hot fix in case the server can't be upgraded to a later JVM for some reason.

That hot fix can be found at

  1. Download and install the JVM hot fix.
  2. Restart the CFMX/JRun Server to pick up the JVM change.


The former DST system ran from the 1st Sunday in April (04/01/2007) until the last Sunday in October (10/28/2007). Once your JVM is patched, systems in a time zone affected by daylight savings should start displaying DST results (+1 hour) for any dates/times between the 2:00 AM on 03/11/2007 and 2:00AM on 11/04/2007. To verify your CFMX configuration, download and run the dstDates.cfm test script. The script displays five dates and times: the current date/time and 3:00 AM on both the new and the old DST dates.

The following table displays the results of a properly patched ColdFusion MX configuration:

  Today March 11

(New DST Start)

(Old DST Start)
October 28

(Old DST End)
November 4

(New DST End)
Dates 03/04/2007

3:00:00 AM EST

3:00:00 AM EDT

3:00:00 AM EDT

3:00:00 AM EDT

3:00:00 AM EST
DST ON No Yes Yes Yes No

Additional Information

  • See TechNote kb400365 for information on ColdFusion 5 and DST changes - ColdFusion 5: How to ensure correct UTC Time Conversion for U.S. Daylight Saving Time changes in 2007
  • See TechNote kb400888 for information on CFMX on Windows: ColdFusion log file time stamp not equivalent to OS time stamp
  • See TechNote kb400232 to resolve NullPointerExceptions in ColdFusion MX 6.1 Updater after upgrading to a 1.4.2_06 JRE or higher
  • See Technote tn18310 for more information on Working with daylight savings time in ColdFusion MX

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy