Enabling Web Services Access For Flash Remoting; Connecting To An External Jdbc Type 4 Data Source - MACROMEDIA COLDFUSION MX 61 - INSTALLING AND USING COLDFUSION MX Using Manual

Hide thumbs Also See for COLDFUSION MX 61 - INSTALLING AND USING COLDFUSION MX:
Table of Contents

Advertisement

Enabling web services access for Flash Remoting

By default, Flash Remoting cannot access ColdFusion MX 6.1 through web services.
To enable Flash Remoting to access ColdFusion MX 6.1 through web services:
Open the cf_root/wwwroot/WEB-INF/web.xml file in a text editor. In the J2EE configuration,
1
open cf_root/WEB-INF/web.xml.
Locate the servlet definition for FlashGateway and change the DISABLE_CFWS_ADAPTERS
2
init-param from true to false, as follows:
<servlet>
<servlet-name>FlashGateway</servlet-name>
...
<init-param>
<param-name>DISABLE_CFWS_ADAPTERS</param-name>
<param-value>false</param-value>
<description>When set to true, this setting disables the
ColdFusion WebServices Adapters in the gateway.</description>
</init-param>
</servlet>
Save the file.
3

Connecting to an external JDBC Type 4 data source

ColdFusion MX includes JDBC Type 4 database drivers from DataDirect and MySQL, JDBC
Type 3 database drivers from DataDirect and SQL Link, and a JDBC Type 2 driver from
Jadazoom. (JDBC is an Application Programming Interface (API) for Java programs to access
data.)
To use a JDBC driver that is not included with ColdFusion MX (such as SQLAnywhere or
PostgreSQL) you must configure it and add a data source for it.
To connect to an external JDBC data source:
Copy the database driver file to a directory other than the cf_root directory.
1
In the ColdFusion MX Administrator, open the Java and JVM Settings page.
2
In the Class Path text box, enter the directory that contains the driver file and click Submit
3
Changes.
Note: In the J2EE configuration, update the classpath using your J2EE server-specific method.
Restart ColdFusion MX.
4
For more information, see
Note: In Windows, make sure that you restart all of the ColdFusion MX services; these are listed in
"Overview of services" on page
In the ColdFusion MX Administrator, add the other JDBC Type 4 data source, selecting Other
5
from the Driver drop-down list box.
For more information, see the chapter on data source management in Configuring and
Administering ColdFusion MX.
You can now connect to an external JDBC Type 4 data source.
"Managing ColdFusion MX" on page
51.

Connecting to an external JDBC Type 4 data source

51.
65

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION MX 61 - INSTALLING AND USING COLDFUSION MX and is the answer not in the manual?

This manual is also suitable for:

Coldfusion mx

Table of Contents