Disk Considerations on CFMX

February 13, 2003

When you install ColdFusion MX (in C:\cfusionmx\) with an alternate web root directory (lets say d:\web) the WEB-INF directory stays in c:\cfusionmx\wwwroot\WEB-INF\.

That isn't a huge deal but it has implications when you are using a different hard drive for your web files...

Lets say your C:\ drive is slower than the D:\ where you keep all your web files. All the generated servlets (class files), and CFC's class files will stay in the WEB-INF directory on the slower drive (C:\). Your also going to be taking up a lot of space on the C drive.

Many of the .class files will be cached, and you can set the cache size to be large enough to store all of them (in most cases). But when the server is restarted, the cache is lost. If you have tons of files access may be slower.

So unless you can figure out how to move the WEB-INF directory, your going to want to make sure that you install ColdFusion MX on a hard drive with enough space, and enough speed to handle your needs.

This entry was:


I think you can change those settings... Edit c:\CFusionMX\wwwroot\WEB-INF\jrun-web.xml. Change the mappings to : /WEB-INF d:/wwwroot/WEB-INF /* d:/wwwroot/ If I remember well, this is what I did to change this behaviour. You could also play with c:\CFusionMX\wwwroot\WEB-INF\web.xml and the parameter "coldfusion.compiler.outputDir" : coldfusion.compiler.outputDir /WEB-INF/cfclasses This is the directory where we will place compiled pages. It must be relative to the webapp root.

Recent Entries


did you hack my cf?