102
To build a version of libclntsh.so for Oracle 8.0.x:
1.
From the shell, set ORACLE_HOME, CFHOME, and LD_LIBRARY_PATH as set in
the start script.
ORACLE_HOME should be set to the location of the Oracle client libraries.
CFHOME should be set to the location of your ColdFusion application server.
LD_LIBRARY_PATH needs to be set the same as in your start script.
For example:
CFHOME=/opt/coldfusion;export CFHOME
ORACLE_HOME=/opt/oracle8;export ORACLE_HOME
LD_LIBRARY_PATH=/lib:/usr/dt/lib:/usr/openwin/lib:$CFHOME/
lib:$ORACLE_HOME/lib;export LD_LIBRARY_PATH
2.
From
The script will generate an new
.
lib
Note
Troubleshooting the Oracle 7.3 Native Driver (Windows)
When using the Oracle 7.3 Native Driver on Windows 95/98 or Windows NT you may
get this error:
Error Diagnostic Information
Oracle Error Code = 0
Internal error: The data access manager failed to initialize the Oracle
environment.
The error occurred while processing an element with a general identifier
of (CFQUERY), occupying document position (3:1) to (3:50).
You may experience this problem with the Oracle 7.3 Native Driver. This can happen in
several situations. Either you cannot verify the connection or you get this error when
running a CFQUERY. The most likely cause of this problem is a duplicate copy of the
OCIW32.DLL
To diagnose and fix the problem
1.
Make sure that SQL*Net 7.3.4.0 or higher is installed on your server.
2.
Make sure that your
If you have a copy in
ColdFusion services.
$CFHOME/odbc/src/oracle
libclntsh.so
Oracle 8 users will have the original
directory. Therefore when creating the
$ORACLE_HOME/lib
in the
LD_LIBRAY_PATH
$CFHOME/bin/start
directory, containing the correct library, must be on the
LD_LIBRARY_PATH before
Oracle version will be loaded, resulting in an error.
file.
winnt\system32
winnt\system32
Administering ColdFusion Server
run the script
./genclntsh8
in CFHOME and place it in
library in the
libclntsh.so
script, the
. Otherwise, the original
$ORACLE_HOME/lib
directory contains the file
, rename it and then stop and start the
.
$CFHome/
$CFHOME/lib
.
ociw32.dll
Need help?
Do you have a question about the COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER and is the answer not in the manual?