Accessibility

TechNote (Archived)

Using the cfcompile utility on ColdFusion MX 7 J2EE configuration

Issue


In order to utilize the cfcompile utility for ColdFusion MX 7 in the J2EE configuration, three variables must first be set.

Reason


The CFUSION_HOME, J2EEJAR, andWEBINF variables within the cfcompile utility are not automatically populated during the ColdFusion MX 7 J2EE installation.

Solution


  1. Backup the cfcompile.sh (Unix) or cfcompile.bat (Windows) file located in<cfusionmx_install_directory>\WEB-INF\cfusion\bin.
  2. Open the cfcompile file in a text editor.
  3. Set the CFUSION_HOME, J2EEJAR, andWEBINF variables according to your configuration:
    • CFUSION_HOME: the path to the \WEB-INF\cfusion directory.
      For example:
      CFUSION_HOME=C:\JRun4\servers\cf7\cfusion-ear\cfusion-war\WEB-INF\cfusion
    • J2EEJAR: the path to the JAR file with the J2EE class files.
      For example:
      J2EEJAR=C:\JRun4\lib\jrun.jar
      For WebLogic: WEBLOGIC install/server/lib/weblogic.jar
      For WebSphere: /AppServer/lib/j2ee.jar
    • WEBINF: the path to the \cfusion-war\WEB-INF directory.
      For example:
      WEBINF=C:\JRun4\servers\cf7\cfusion-ear\cfusion-war\WEB-INF
  4. Save the file and run cfcompile according to thedocumentation.

AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support

Document Details

ID:4a189468

Products Affected:

coldfusion