Enabling specific ColdFusion MX functionality

For some ColdFusion MX functionality to work properly, you must manually configure your application server. This section describes what to do for the following functionality:

You must restart the WebLogic Server to enable the changes described in this section.

Configuring security settings

Open the weblogic_root/weblogic700/server/lib/weblogic.policy file in a text editor, comment out the restrictive permissions, and add permission java.security.AllPermission; to the default permissions section, as shown in the following example:

...
// Default permissions that need to be granted to applications at this point
grant {
permission java.security.AllPermission;
/*
permission java.io.SerializablePermission "enableSubstitution";
...
permission java.util.PropertyPermission "*", "read,write";
*/
};
...

These changes take effect when you restart the WebLogic Server.

Editing the server startup script

This section describes how to edit the WebLogic server startup script to enable support for the following functionality:

To enable support for Verity, COM, graphing, and sandbox security:

  1. Locate the startup script for the WebLogic domain. This is typically wldomain_root/startWebLogic.cmd (Windows) or wldomain_root/startWebLogic.sh (UNIX).
  2. Make a backup copy of this file.
  3. Open the startup script.
  4. Establish the following basic variables at the beginning of the script:
  5. Enable access to Verity binary files through the following variables:
  6. (Windows only) Enable ColdFusion MX Jintegra COM support by establishing the following variables:

    Note:   Alternatively, you can use WebLogic JCOM support instead of ColdFusion MX JIntegra COM support. To use WebLogic JCOM support, see "Enabling WebLogic jCOM support (Windows only)".

  7. Enable ColdFusion MX security and graphing support by establishing or appending to the following variables:
  8. Save the startup script and restart the WebLogic Server.

Enabling WebLogic jCOM support (Windows only)

ColdFusion MX includes Jintegra COM support, which you enable through the WebLogic Server startup script. Alternatively, you can use WebLogic jCOM.

Note:   ColdFusion MX Jintegra COM support uses native mode, which disables COM objects that use DCOM. WebLogic jCOM supports DCOM or native mode, however, ColdFusion MX COM functionality requires native mode.

To use WebLogic jCOM as the ColdFusion MX Java to COM bridge:

  1. Omit the COM support step in "Editing the server startup script".
  2. Enable jCOM support by opening the WebLogic Administrator, navigating to domainname > Servers > servername > connections >JCOM, and selecting enable COM, enable Native Mode, and Prefetch ENums.
  3. Open a console window, navigate to weblogic_root\weblogic700\server\bin, and execute the regjvmcmd tool to register the JVM for COM, as shown in the following example:
    regjvmcmd /native servername
    

Disabling RDS

For security reasons, Macromedia recommends that you disable RDS on a production server. If you install and enable RDS support, you can disable it later in the WebLogic Administrator.

Note:   If RDS is disabled, the Browse Server button does not work in the ColdFusion MX Administrator (for example, on the ColdFusion Mappings page).

To disable RDS, you must do the following:

For instructions on disabling the RDS Servlet, see "Using RDS". The following procedure describes how to disable the RDS web application.

To disable the RDS web application:

  1. Open the WebLogic Administrator.
  2. Open the WebLogic Administration Console (http://hostname:portnumber/console) and go to domainname > Deployments > Web Applications.
  3. Click on the trash can to the right of the RDS web application.
  4. Click Yes.

    The WebLogic Administrator undeploys the web application.

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6

Comments are no longer accepted for ColdFusion MX. ColdFusion 8 is the current version.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6/Installing_CFMX_for_J2EE/install_WebLogic3.htm