FAQ: How do I clear the ColdFusion cache?

FAQ Category: Installation and Setup

Version: AbleCommerce 5.5 CFMX

Applies to: Updating the CFMX library

Last Update: 8/24/06

 

DETAILS

FAQ: How do I clear the ColdFusion cache?

AbleCommerce installations and upgrades generally require an update to the library files contained within the ColdFusion program.  In some cases, starting and stopping the application server is not enough to clear the caching of ColdFusion files, or class files.  Therefore, we may recommend that you complete this additional step when performing an upgrade.

 

 

How to Clear your CFMX Server Cache -

The CFMX server reads ColdFusion files and recompiles this information to Java Class files. Sometimes, after making changes to the JAR files within the ColdFusion library (/lib), or your CFM scripts, you may need to perform the following steps to 'clear your cache' as we like to call it.

The folder that contains the Java *.class files is in the location shown below. Your path may vary depending on your installation location.

e.g. C:\CFusionMX\wwwroot\WEB-INF\cfclasses

  1. Make a backup of all the (*.class) files in a separate folder.

  2. Stop the ColdFusion Application Server

  3. Delete all (*.class) files in the "cfclasses" folder specified in above.

  4. Start the ColdFusion Application Server

Be sure to give the ColdFusion application server time to start completely.