Using the Configuration and Settings Wizard
9
4.
Define data sources in the ColdFusion MX Administrator. If possible, do not run tests against
a production database.
5.
Copy CFM files to the
cf_root
/wwwroot (server configuration) or
jrun_root
/servers/coldfusion/
cfusion-ear/cfusion-war (multiserver configuration) directory.
6.
Test the code in your application using the ColdFusion Code Compatibility Analyzer. For more
information, see
“Using the ColdFusion Code Compatibility Analyzer” on page 10
.
7.
Based on the results of the Code Compatibility Analyzer report and the incompatibilities listed
in this guide, make a migration plan. For example, you might plan to immediately fix code that
causes errors, such as
dbtype="dynamic"
in query tags, and to schedule and prioritize other
fixes, such as replacing deprecated tags and using new functionality.
8.
Make the necessary changes to your ColdFusion application and run the application using the
built-in web server. Ensure that you test all application features under load, not just with a few
users.
9.
When the application is ready for production, perform the following steps:
a
Run the Web Server Configuration Tool for the web server used in production. For more
information, see
Installing and Using ColdFusion MX
or
Configuring and Administering
ColdFusion MX
.
b
Rename the CFIDE directory under your production web root.
c
Copy the CFIDE directory and the application’s CFM files to your production web root.
Do not copy the cfdocs directory to a production server.
Your application is now ready for production on ColdFusion MX.
Using the Configuration and Settings Wizard
If you have ColdFusion 5 installed on the same computer as ColdFusion MX, the Configuration
and Settings Migration Wizard prompts you to migrate settings to the ColdFusion MX
installation. For Windows, the wizard typically runs immediately after you finish the installation;
for UNIX, the wizard runs the first time that you open the ColdFusion MX Administrator.
If you choose not to migrate settings, you can rerun the wizard at a later time by performing the
following steps:
1.
Close the ColdFusion MX Administrator, if it is not already closed.
2.
Open
cf_root
/lib/adminconfig.xml in a text editor, change
runmigrationwizard
to true, and
save the file.
3.
Restart the ColdFusion MX Administrator.
You are prompted again to migrate your settings.
Caution:
If you migrate your ColdFusion 5 settings later, you might overwrite new ColdFusion MX
settings.