MACROMEDIA COLDFUSION 5 - INSTALING AND CONFIGURING SERVER Manual page 141

Table of Contents

Advertisement

Connecting to Oracle Databases
Example
This is an example of a tnsnames.ora file:
scup=
The following table describes the code:
Code
scup=
HOST=scup
PORT=1521
SID=WG73
When you complete all the steps in this section, you must stop and restart
ColdFusion services to reload the odbc.ini file.
The /opt/coldfusion/bin/start script
#!/bin/sh
# start - setup environment and run ColdFusion servers
# This script should be run as root.# Set during install
CFHOME=/opt/coldfusion
# Sybase Open Client directory
SYBASE=/work/sybclient11.1
# Oracle SQL *Net RDBMS directory
# See CFHOME/odbc/src/oracle for script to build library
ORACLE_HOME=/opt/oracle7
# Set library search path
#
# NOTE: Add your database client library directory to the FRONT of this
#
# Example:
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$SYBASE/lib:/usr/dt/lib:/lib:/usr/
# This is the list of variables that ColdFusion will see
# Add any special Database environment varaibles here
VAR_LIST="LD_LIBRARY_PATH CFHOME SYBASE ORACLE_HOME INFORMIXDIR
#==========================================================
# You should not need to touch anything below this point
#==========================================================
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=scup)
(PORT=1521))
(CONNECT_DATA=(SID=WG73)))
Description
Setting for the connect string name in the ColdFusion Administrator.
The IP address, as in HOST=205.185.22.33.
Port that the tcp listener is assigned to. To identify it, look at the /etc/
services file of the UNIX computer where the Oracle server resides.
Database identifier. See your Oracle administrator. These settings
are configured when you install the database.
list
openwin/lib:$CFHOME/lib
INFORMIXSERVER II_SYSTEM"
129

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion server 5

Table of Contents