ColdFusion MX: Configuring the IBM Informix JDBC Driver
This TechNote describes how to configure Macromedia ColdFusion MX Server configuration to use the IBM Informix JDBC driver to connect to Informix 7.3 or 9 databases.
Configuring ColdFusion MX to use the IBM Informix JDBC driver
- Download and install the Informix JDBC driver from the IBM website.
- In the ColdFusion Administrator, click on the "Java and JVM" page. Add the directory in which the
ifxjdbc.jarfile resides to the Class Path field.
Note: Use a comma (,) to separate class paths when this field contains multiple values. - Click Submit Changes to update Java and JVM Settings for ColdFusion MX.
- Restart the ColdFusion MX Application Server service.
On Unix platforms, from the cf_root/runtime/bin directory, run:
coldfusion restart - Use the ColdFusion MX Administrator Data Source page to add a new data source for the Informix JDBC Driver.
For example:
-
- Name the data source inftest when it will connect to an Informix database named inftest.
- Select Other in the driver field to tell ColdFusion you will describe another type of driver.
- Click Add to add the data source and display the default driver window for this driver.
- Enter the following in the JDBC URL field:
jdbc:informix-sqli://10.1.123.23:1525/test:informixserver=qa_tcp
Where 10.1.123.23 is the IP Address of the physical Informix server.
Where 1525 is the port number for the data source connection.
Where test is the Informix database name.
Where qa_tcp is the informixserver variable defined on the Informix database server machine.
Note: The information in this field is case-sensitive. - Enter the following in the Driver Class field:
com.informix.jdbc.IfxDriver
Note: The information in this field is case-sensitive. - Enter a valid username and password in the Username and Password fields.
Where the username and password are defined as user account information on the database server. - (Optional) Enter the name of the driver in the Driver Name field.
- Click submit to apply the changes to the data source.
Additional Information
- ColdFusion MX: Trailing space in Driver Class field causes data source verification failure (TechNote tn_18612)
- ColdFusion MX support for JDBC drivers not shipped with ColdFusion (TechNote tn_18593)
This 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!
