Connecting To Oracle 7.3.4 And 8.0.X Databases (Unix) - MACROMEDIA COLDFUSION 5 - INSTALING AND CONFIGURING SERVER Manual

Table of Contents

Advertisement

128
ODBC drivers: MERANT Oracle 7.3.4 and Oracle 8.0.x options (UNIX)
The following table describes ColdFusion ODBC driver options for the MERANT
Oracle 7.3.4 and MERANT Oracle 8.0.x ODBC drivers on UNIX:
Option
Data Source Name
Description
Connect String

Connecting to Oracle 7.3.4 and 8.0.x databases (UNIX)

Before ColdFusion applications can connect to Oracle 7.3.4 and 8.0.x databases, you
must install the Oracle client software.
You must modify the /opt/coldfusion/bin/start script to include the
ORACLE_HOME environment variable, and add the $ORACLE_HOME/lib directory
to the LD_LIBRARY_PATH. For an example, see "The /opt/coldfusion/bin/start
script" on page 129. You must edit the $CFHOME/bin/start script for all versions.
The environment variable LD_LIBRARY_PATH must point to the directory
containing the libclntsh.so file, which ColdFusion uses.
If the libclntsh.so file was built in the $CFHOME/lib using a script that you
downloaded from http://www.coldfusion.com, the LD_LIBRARY_PATH variable
should contain an entry for $CFHOME/lib before the entry for $ORACLE_HOME/lib,
for example:
LD_LIBRARY_PATH = $CFHOME/lib:$ORACLE_HOME/
If the libclntsh.so file is in $ORACLE_HOME/lib, then you need just the single entry
for this directory, for example:
LD_LIBRARY_PATH = $ORACLE_HOME/lib:other_database_library_paths...
Note
The readme.ora file in $CFHOME/odbc/src/oracle incorrectly refers to $CFHOME as
$ODBC_HOME.
Verify the following:
You can connect to the Oracle server from Solaris with sql*plus before you try to
connect from ColdFusion.
You are running the Oracle listener.
You have set up a tnsnames.ora file. For Oracle 7.3.4, it is in the /var/opt/oracle
directory.
Installing and Configuring ColdFusion Server
Description
A name for your data source.
Descriptive information about the data source.
The client connection string designating the server and
database that you want to access.
lib:other_database_library_paths...
Chapter 6 Managing Data Sources

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 5 - INSTALING AND CONFIGURING SERVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion server 5

Table of Contents