If any of your webapps aren’t implementing any of the new features in ColdFusion 7 that use the Flex components (CFFORM, CFDOCUMENT, etc.), then why would you need it to be part of the startup and, more importantly, the deployment. It’s just 5.5 megs of wasted space on your machine. Well, here’s how you stop ColdFusion from starting up Flex and removing it from the system.

Open up your trusty web.xml file for your webapp, and remove the following elements.

- The ./WEB-INF/cfform/jars path from
<context-param id=”macromedia_context_88″>
- Everything between the comments “start flex settings” and “end flex settings
- The CFInternalServlet servlet mapping
- Servlet definition for macromedia_servlet_12
- Servlet definition for macromedia_mapping_13
- Any init-param attribute that references cfform-gateway-config.xml

Now that Flex isn’t referenced in the startup, your can delete the {your-app}\WEB-INF\cfform directory.