User Guide

20 Chapter 1: Migrating Applications from ColdFusion 5
Log files
ColdFusion MX does not support the following ColdFusion 5 log files:
executive.log
remote.log
proxy.log
cfadmin.log
install.log
server.stdout
rdsservice.stdout
Using cfform in a multihomed environment
In ColdFusion 5, the
cfform tag used inline JavaScript code for validation. In ColdFusion MX,
cfform includes the CFIDE/scripts/cfform.js file, which contains all JavaScript. However, if your
application runs in a hosted environment with multiple virtual websites, your virtual website may
not contain a CFIDE directory, which causes JavaScript errors when using
cfform.
If you encounter this problem, use one of the following solutions:
Use the Default CFFORM ScriptSrc Directory field on the ColdFusion MX Administrator to
specify the default path (relative to the web root) of the directory containing the cfform.js file.
Ask your hosting provider to provide a copy of cfform.js and change your cfform tags to use
the
scriptsrc attribute, specifying the location of this file.
Ask , your hosting provide to modify your virtual website to include a virtual mapping for the
CFIDE directory.
Moving to IBM WebSphere
IBM WebSphere does not use web server virtual mappings to locate CFM pages. If you are
migrating a ColdFusion 5 application to ColdFusion MX running on WebSphere using the J2EE
configuration and your application stores CFM pages in directories that use virtual mappings,
you must reconfigure your application and move these pages to a nonvirtual directory.
For more information, see the WebSphere pages on www.macromedia.com/go/cfmxj2ee-cert.
The application.cfc file
The updated application framework in ColdFusion MX 7 lets you use a file named
Application.cfc to control your application and keep track of application events. You use
Application.cfc instead of Application.cfm. Application.cfc methods are triggered when
application, sessions, and requests start or stop, and when the application encounters an
exception.
If your application already uses a file named Application.cfc, you must rename it.