
102
Administering ColdFusion Server
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
$CFHOME/odbc/src/oracle
run the script
./genclntsh8
.
The script will generate an new
libclntsh.so
in CFHOME and place it in
$CFHome/
lib
.
Note
Oracle 8 users will have the original
libclntsh.so
library in the
$ORACLE_HOME/lib
directory. Therefore when creating the
LD_LIBRAY_PATH
in the
$CFHOME/bin/start
script, the
$CFHOME/lib
directory, containing the correct library, must be on the
LD_LIBRARY_PATH before
$ORACLE_HOME/lib
. Otherwise, the original
Oracle version will be loaded, resulting in an error.
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
file.
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
winnt\system32
directory contains the file
ociw32.dll
.
•
If you have a copy in
winnt\system32
, rename it and then stop and start the
ColdFusion services.
Содержание COLDFUSION 4.5-ADMINISTRING COLDFUSION...
Страница 1: ...Allaire Corporation Administering ColdFusion Server ColdFusion 4 5...
Страница 10: ...x Administering ColdFusion Server...
Страница 22: ...xxii AdministeringColdFusionServer...
Страница 48: ...26 Administering ColdFusion Server...
Страница 58: ...36 Administering ColdFusion Server...
Страница 60: ...38 Administering ColdFusion Server Using ColdFusion in a Distributed Configuration 68...
Страница 98: ...76 Administering ColdFusion Server...
Страница 150: ...128 Administering ColdFusion Server...
Страница 198: ...176 Administering ColdFusion Server...
Страница 205: ...Chapter 6 Creating Scalable and Highly Available Web Sites 183 3 Click the DNS tab...
Страница 304: ...282 Administering ColdFusion Server...
Страница 350: ...328 Administering ColdFusion Server...