wiki:DeployedAsWAR

Objective

The objective of this page is to describe a solution of creating a ColdFusion application within a deployable EAR/WAR.

My writting skills are not the best, so feel free to make corrections. This is just a very RAW rough draft and work in progress.

After installing ColdFusion 9 in Multi-Server Mode, you will problem end up with an instances of ColdFusion? in the following directory:

  • C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war

This directory will contain the following subdirectory:

  • cfdocs
  • CFIDE
  • WEB-INF

Two possible paths to take from this point.

  1. Start the application under cfusion-war
  2. Create subdirectories for various applications under cfusion-war
  3. Or both

For the first option, "Start the application under cfusion-war", the cfusion-war directory might contain:

  • Application.cfc
  • cfdocs
  • CFIDE
  • index.cfm
  • WEB-INF

So where does MachII and the rest of the Mach-II Skeleton go? I'm guessing you would put it somewhere under C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF and create one or more Mapping. Why put it under the WEB-INF directory? Because that directory cannot be browsed, right?