Accessibility
Adobe
Sign in My orders My Adobe

Title

Using the cfcompile utility on ColdFusion MX 7 J2EE configurationProducts affected

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.

Doc ID
(4a189468)

Last updated
2005-11-11

Products affected

Contacting Adobe Support

Still need help?
Find out about all your support options.
Contact support